initit

1.0.0-2 • Public • Published

initit

Utility module for creating npm init packages

npm i initit
#!/usr/bin/env node
const init = require('initit')
 
const [ name ] = process.argv.slice(2)
// user/repo/path
const template = 'jxnblk/rebass/examples/starter'
 
init({ name, template })
  .then(res => {
    process.exit(0)
  })
  .catch(err => {
    console.log(err)
    process.exit(1)
  })

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i initit

Weekly Downloads

79

Version

1.0.0-2

License

MIT

Unpacked Size

2.84 kB

Total Files

4

Last publish

Collaborators

  • jxnblk