# @2snail/create-lib

> create single lib

Latest version **0.3.2** (published 2020-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @2snail/create-lib
pnpm add @2snail/create-lib
yarn add @2snail/create-lib
bun add @2snail/create-lib
```

Provides the command `create-lib`.

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2020-10-09 |
| First published | 2020-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 28.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zhangaz1 |
| Maintainers | zhangaz1 |
| Keywords | 2snail, templates, lib |

## Links

- npm: https://www.npmjs.com/package/@2snail/create-lib
- Repository: https://github.com/2snail/templates
- Homepage: https://2snail.github.io/templates/lib
- Issues: https://github.com/2snail/templates/issues
- npm.io page: https://npm.io/package/@2snail/create-lib

## Dependencies (3)

- [shelljs](https://npm.io/package/shelljs.md) ^0.8.4
- [@umijs/utils](https://npm.io/package/@umijs/utils.md) ^3.2.22
- [@types/shelljs](https://npm.io/package/@types/shelljs.md) ^0.8.8

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 0.3.2 (latest) — 2020-10-09
- 0.3.1 — 2020-10-09
- 0.3.0 — 2020-10-01
- 0.2.1 — 2020-09-30
- 0.1.0-alpha.0 — 2020-09-29
- 0.0.6-alpha.1 — 2020-09-29
- 0.0.6-alpha.0 — 2020-09-24
- 0.0.5 — 2020-09-24
- 0.0.4 — 2020-09-24
- 0.0.3 — 2020-09-24
- 0.0.1 — 2020-09-24

## README

# Create Lib

Create single ts lib, test with jest, and publish with npm.

## Usage

1. Create

```bash
mkdir <libName>
cd <libName>
npm create @2snail/lib
-- or --
yarn create @2snail/lib
```

2. Install

```bash
npm i
-- or --
yarn install
```

3. Test

```bash
npm test
npm run test:watch
-- or --
yarn test
yarn test:watch
```

4. Build

```bash
npm run build
-- or --
yarn build
```

5. Publish

```bash
npm run publish
-- or --
yarn publish
```

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