1.3.0 • Published 7 years ago

npm-s v1.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

npm-s

aka npm quick start

It creates an empty app.js file and a package.json with the following properties in the current directory¹:

{
  "name": "current-working-directory",
  "version": "0.0.1",
  "scripts": {
    "start": "node app.js"
  }
}

¹ If it's given a second parameter, it'll create a new directory and iniate the package there.

Why

  • Faster than npm init: you're not prompt with any options.
  • More concise than npm init [-y|--yes]: you only have the required name and version fields of package.json.
  • The start script is already filled with the created app.js file.

Install

$ npm i npm-s -g

Usage

$ npm-s [folder-name]
1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago