# npm-s

> Quickly create a package.json template

Latest version **1.3.0** (published 2017-04-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install npm-s
pnpm add npm-s
yarn add npm-s
bun add npm-s
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2017-04-06 |
| First published | 2017-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vinicius Camargo |
| Maintainers | vcamargo |
| Keywords | npm, init, package.json |

## Links

- npm: https://www.npmjs.com/package/npm-s
- Repository: https://github.com/viniciuscamargo/npm-s
- Homepage: https://github.com/viniciuscamargo/npm-s#readme
- Issues: https://github.com/viniciuscamargo/npm-s/issues
- npm.io page: https://npm.io/package/npm-s

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.3.0 (latest) — 2017-04-06
- 1.2.0 — 2017-04-06
- 0.1.0 — 2017-02-12
- 0.0.4 — 2017-01-25
- 0.0.3 — 2017-01-25
- 0.0.2 — 2017-01-25
- 0.0.1 — 2017-01-25

## README

# 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¹:
```json
{
  "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
```console
$ npm i npm-s -g
```

## Usage
```console
$ npm-s [folder-name]
```

---
_Source: https://npm.io/package/npm-s · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
