# javali

> Create a modern JavaScript library that uses ES6 + Jest

Latest version **1.1.0** (published 2019-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install javali
pnpm add javali
yarn add javali
bun add javali
```

Provides the command `javali`.

## 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 | 2019-04-01 |
| First published | 2019-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 751.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 141 |
| Author | Diogo Moretti |
| Maintainers | diogomoretti |
| Keywords | cli, generator, javascript, library, es6, jest |

## Links

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

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [wrench](https://npm.io/package/wrench.md) ^1.5.9
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.3
- [commander](https://npm.io/package/commander.md) ^2.19.0
- [recursive-readdir](https://npm.io/package/recursive-readdir.md) ^2.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-04-01
- 1.0.9 — 2019-03-25
- 1.0.8 — 2019-03-25
- 1.0.7 — 2019-03-25
- 1.0.6 — 2019-03-25
- 1.0.5 — 2019-03-25
- 1.0.4 — 2019-03-25
- 1.0.3 — 2019-03-24
- 1.0.2 — 2019-03-24
- 1.0.1 — 2019-03-24
- 1.0.0 — 2019-03-24

## README

<p align="center">
<img src="https://user-images.githubusercontent.com/2853428/54870888-3b2b5800-4d8b-11e9-8e3d-f56fd7692117.png" alt="Javali" width="430">
<p align="center">
  <a href="https://travis-ci.org/diogomoretti/javali/builds"><img alt="Travis (.org)" src="https://img.shields.io/travis/diogomoretti/javali.svg?style=flat-square"></a> <a href="https://www.npmjs.com/package/javali"><img alt="NPM" src="https://img.shields.io/npm/v/javali.svg?style=flat-square"></a> <a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square" alt="JavaScript Style Guide" /></a>
</p>
<h3 align="center"><strong>⁓ <a href="https://javali.js.org">javali.js.org</a> ⁓</strong></h3>
</p>
<br>

## 🐗 About

**[Javali](https://javali.js.org/)** (aka **JAVA***Script* **LI***brary*) is a CLI like [Create React App](https://github.com/facebook/create-react-app), but for creating JavaScript libraries. Below, some features:

- **Simple command** to create a library
- **Fully ES6** that compiles to UMD and CommonJS
- **Supports Typescript**
- **[Jest](https://jestjs.io/)** for tests
- **[Rollup](https://rollupjs.org)** as bundler
- **[Live Server](https://github.com/tapio/live-server)** to run locally

<br>

## 🐗 Get started

### Using `npx`

**1** ⁓ Install and create your library immediately:


```shell
npx javali my-lib
```

**2** ⁓ Enjoy!

### Using global cli

**1** ⁓ Install **[Javali](https://javali.js.org/)** globally:

```shell
yarn global add javali

or

npm install -g javali
```

**2** ⁓ Create your library:

```shell
javali my-lib
```

Or with typescript:

```shell
javali my-lib --typescript
```

**3** ⁓ Enjoy!



✅ A folder and library called `my-lib` will be created in this case.

<br>

## 🐗 Contributing

1. Fork this repository
2. `git checkout -b my-feature`
3. `git add --all`
4. `git commit -m "My commit message about my-feature"`
5. `git push origin my-feature`
6. Open a Pull Request =]

<br>

## 🐗 License

[MIT](./license.md) © [Diogo Moretti](https://github.com/diogomoretti)

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