# happy-init

> A cli tool for initial npm package

Latest version **1.0.1** (published 2020-12-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install happy-init
pnpm add happy-init
yarn add happy-init
bun add happy-init
```

## 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.0.1 |
| Published | 2020-12-25 |
| First published | 2020-12-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 12 |
| Unpacked size | 22.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | buyan302 |
| Maintainers | buyan |
| Keywords | cli, tool, npm, es, ts, react |

## Links

- npm: https://www.npmjs.com/package/happy-init
- Repository: https://github.com/buyan302/happy-cli-tool
- Homepage: https://github.com/buyan302/happy-cli-tool#readme
- Issues: https://github.com/buyan302/happy-cli-tool/issues
- npm.io page: https://npm.io/package/happy-init

## Dependencies (12)

- [got](https://npm.io/package/got.md) ^11.8.1
- [ora](https://npm.io/package/ora.md) ^5.1.0
- [glob](https://npm.io/package/glob.md) ^7.1.6
- [execa](https://npm.io/package/execa.md) ^5.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [core-js](https://npm.io/package/core-js.md) ^3.8.1
- [prompts](https://npm.io/package/prompts.md) ^2.4.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.12.5
- [happy-cli-utils](https://npm.io/package/happy-cli-utils.md) ^1.0.1
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.7
- [@babel/runtime-corejs3](https://npm.io/package/@babel/runtime-corejs3.md) ^7.12.5

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-12-25
- 1.0.0 — 2020-12-25

## README

# happy-init

A cli tool to initial npm package.

A robust npm package should concern following aspects:

- code style: prettier...
- code quality: eslint,unit test...
- code compilation tool: babel,webpack...
- git hooks: precommit,prepublish...
- ci/cd: git actions
- documentation: README.md,CHANGELOG.md,component demo...

**happy-init** help developer initial robust npm package quickly.

## Installation

```shell
$ npm install happy-cli-tool happy-init -g
```

## Usage

### `happy init`

```shell
$ happy init [es|ts|react]
```

Happy-Init provides multiple kinds of boilerplate package,includes:

- [x] ES package
- [x] TS package
- [ ] React component library package

Each boilerplate contains complete development dependencies and workflow from initialization to release.

After run `happy init`, Happy-Npm-Cli will download specific boilerplate package files and then install dependencies.

![screenshots](https://github.com/buyan302/happy-cli-tool/blob/main/init.gif)

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