Skip to content
This repository was archived by the owner on Jan 20, 2019. It is now read-only.

mgwalker/npm-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-bootstrap

Bootstraps the current directory as an npm module, creating a package.json and optionally initializing a git repo. Can also create a repo on GitHub (or use an existing one, so long as it hasn't been pushed to before) and push the first commit to it. Adds LICENSE.md and README.md files to get you started.

Installation

Might as well install this one globally if you want to use it. Or install it locally if you'd like, but that seems silly.

npm install -g npm-bootstrap

Usage

NOTE: If you've enabled 2-factor authentication on your GitHub account, you will need to create a personal access token, available at https://github.com/settings/tokens. The token for npm-bootstrap only needs the public_repo scope.

From the directory where you want to create your new module, run:

npm-bootstrap

Then follow the prompts!

About

Bootstrap a directory as an npm module

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published