create-from-gh

0.4.0 • Public • Published

npm init from-gh

Initialize a project from existing github.com repositories using npm init from-gh <owner>/<repo>

Usage

npm init from-gh <<from>> <<to>>?

If <<to>> is not provided, it will default to <<repo>>.

Options for <<from>> corresponding to https://github.com/<owner>/<repo>:

  • <owner>/<repo>
  • <owner>/<repo>#<branch>
  • <owner>/<repo>/<path>
  • <owner>/<repo>/<path>#<branch>

Using npx create-from-gh instead:


npx create-from-gh <<from>> <<to>>?

License

MIT

Forked from ekaragodin/create-from under MIT license on November 27th 2019 to remove yarn assumptions and expand on pattern.

Package Sidebar

Install

npm i create-from-gh

Weekly Downloads

2

Version

0.4.0

License

MIT

Unpacked Size

1.22 MB

Total Files

7

Last publish

Collaborators

  • shanewholloway