How to use the init-package-json function in init-package-json

To help you get started, we’ve selected a few init-package-json examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alexanderGugel / ied / src / init_cmd.js View on Github external
export default function initCmd (cwd) {
	const initFile = path.resolve(config.home, '.ied-init')

	init(cwd, initFile, (err) => {
		if (err) {
			if (err.message === 'canceled') {
				console.log('init canceled!')
				return
			}
			throw err
		}
	})
}

init-package-json

A node module to get your node module started

ISC
Latest version published 3 days ago

Package Health Score

95 / 100
Full package analysis

Popular init-package-json functions