initit

Utility for creating npm init packages

  • initit

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
initit
1.0.0-25 years ago5 years agoMinified + gzip package size for initit in KB

Readme

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