https://github.com/jcoreio/tar-bundler
Generate tar.bz2 bundles
https://github.com/jcoreio/tar-bundler
Last synced: about 1 year ago
JSON representation
Generate tar.bz2 bundles
- Host: GitHub
- URL: https://github.com/jcoreio/tar-bundler
- Owner: jcoreio
- License: mit
- Created: 2019-06-28T19:24:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T02:35:42.000Z (over 3 years ago)
- Last Synced: 2025-03-04T03:23:02.357Z (over 1 year ago)
- Language: JavaScript
- Size: 3.37 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tar-bundler
[](https://circleci.com/gh/jcoreio/tar-bundler)
[](https://codecov.io/gh/jcoreio/tar-bundler)
[](https://github.com/semantic-release/semantic-release)
[](http://commitizen.github.io/cz-cli/)
Generate tar.bz bundles using system bzip2 if possible, or self-contained bzip2 if needed
## Installation
```sh
yarn add @jcoreio/tar-bundler
```
## Usage
```js
const { bundle } = require('@jcoreio/tar-bundler')
async function makeBundle() {
await bundle({ srcDir: 'myDir', destFile: 'archive.tar.bz2' })
console.log('successfully saved archive')
}
```