# node-init-util

> Quick starter of NodeJS

Latest version **1.1.0** (published 2020-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-init-util
pnpm add node-init-util
yarn add node-init-util
bun add node-init-util
```

Provides the commands `node-init`, `node-init-util`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-03-26 |
| First published | 2020-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chris Wong |
| Maintainers | chriswong924 |
| Keywords | node, init, git, husky, eslint, lint-staged |

## Links

- npm: https://www.npmjs.com/package/node-init-util
- Repository: https://github.com/ChrisWongAtCUHK/node-init-util
- Homepage: https://github.com/ChrisWongAtCUHK/node-init-util#readme
- Issues: https://github.com/ChrisWongAtCUHK/node-init-util/issues
- npm.io page: https://npm.io/package/node-init-util

## Dependencies (3)

- [ncp](https://npm.io/package/ncp.md) ^2.0.0
- [jsonfile](https://npm.io/package/jsonfile.md) ^6.0.1
- [puppeteer](https://npm.io/package/puppeteer.md) ^2.1.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2020-03-26
- 1.0.2 — 2020-03-15
- 1.0.1 — 2020-03-11
- 1.0.0 — 2020-03-08

## README

# node-init-util

## Installation
```
npm install node-init-util -g
```

## Usage
```
node-init [--type puppeteer]
```

## What this utility do
1. if package.json not exist, `yarn init -y`
2. if .git not exist, `git init`
3. if .gitignore not exit, create
4. yarn add eslint husky lint-staged -D
5. if .eslintrc.js, create
6. if package.json does not include husky or lint-staged configuration, add
	```
	  "husky": {
		"hooks": {
		  "pre-commit": "lint-staged"
		}
	  },
	  "lint-staged": {
		"*.js": [
		  "eslint --fix",
		  "git add"
		]
	  }

	```
7. create lib/util.js if necessary

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