Creates an npm package boilerplate that you don't have to write again.
$ npm install -g create-npm-package
$ create-npm-package my-package
The existance of the package name is checked automatically, but you can skip it!
$ create-npm-package my-package --skip-check
Git is initialized on package creation, but you can skip it!
$ create-npm-package my-package --skip-git
$ create-npm-package my-package --yarn
To be able to grab your git global data and add them to the package.json automatically, you need to
$ git config --global user.name 'your name'
$ git config --global user.email 'your@email'
and if you want to add also the repository url, just run
$ git config --global user.url 'https://github.com/your_account_name'
Please drop an issue, if you find something that doesn't work, or a feature request at https://github.com/MatteoGabriele/create-npm-package/issues
Follow me on twitter @matteo_gabriele