# jag

> pack files and folders with tar and gzip

Latest version **2.0.2** (published 2018-05-02) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.2 |
| Published | 2018-05-02 |
| First published | 2014-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 7 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 (+13 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | pack, tar, gzip |

## Links

- npm: https://www.npmjs.com/package/jag
- Repository: https://github.com/coderaiser/node-jag
- Issues: https://github.com/coderaiser/node-jag/issues
- npm.io page: https://npm.io/package/jag

## Dependencies (7)

- [nyc](https://npm.io/package/nyc.md) ^11.0.2
- [tar](https://npm.io/package/tar.md) ^4.0.1
- [eslint](https://npm.io/package/eslint.md) ^4.0.0
- [checkup](https://npm.io/package/checkup.md) ~1.3.0
- [fstream](https://npm.io/package/fstream.md) ~1.0.3
- [pipe-io](https://npm.io/package/pipe-io.md) ^3.0.0
- [files-io](https://npm.io/package/files-io.md) ^2.0.0

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 2.0.2 (latest) — 2018-05-02
- 2.0.1 — 2017-08-31
- 2.0.0 — 2017-07-14
- 1.0.14 — 2016-11-09
- 1.0.13 — 2015-09-02
- 1.0.12 — 2015-08-17
- 1.0.11 — 2015-06-27
- 1.0.10 — 2015-06-20
- 1.0.9 — 2015-06-09
- 1.0.8 — 2015-06-09
- 1.0.7 — 2015-04-06
- 1.0.6 — 2015-03-27
- 1.0.5 — 2015-02-16
- 1.0.4 — 2015-02-09
- 1.0.3 — 2014-12-08
- … 3 more at https://npm.io/package/jag/versions

## README

Jag
=======

Pack files and folders with tar and gzip. Use [jaguar](https://github.com/coderaiser/node-jaguar "Jaguar") when you need to know a progress of operation.

## Install

`npm i jag --save`

## Hot to use?

```js
const jag = require('jag');
const fn  = function(error) {
    if (error)
        console.error(error.message);
};

jag.pack('/tmp/lib', '/tmp/1/lib', fn); /* extenstion would be added */
jag.unpack('/tmp/lib.tar.gz', '/tmp/lib', fn);
```
## Related

- [Jaguar](https://github.com/coderaiser/node-jaguar "Jaguar") - Pack and extract .tar.gz archives with emitter.
- [Bizzy](https://github.com/coderaiser/node-bizzy "Bizzy") - Pack and extract .tar.bz2 archives with emitter.
- [OneZip](https://github.com/coderaiser/node-onezip "OneZip") - Pack and extract zip archives with emitter.
- [Tar-to-zip](https://github.com/coderaiser/node-tar-to-zip "tar-to-zip") - Convert tar and tar.gz archives to zip.

## License
MIT

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