Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toyobayashi/acb.js
CRI Middleware ACB format file extracting in Node.js
https://github.com/toyobayashi/acb.js
Last synced: 28 days ago
JSON representation
CRI Middleware ACB format file extracting in Node.js
- Host: GitHub
- URL: https://github.com/toyobayashi/acb.js
- Owner: toyobayashi
- License: mit
- Created: 2018-05-29T15:11:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T10:35:48.000Z (over 3 years ago)
- Last Synced: 2024-08-09T13:27:19.378Z (3 months ago)
- Language: JavaScript
- Size: 1.81 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# acb.js
[![Build status](https://travis-ci.com/toyobayashi/acb.js.svg?branch=master)](https://travis-ci.com/toyobayashi/acb.js/)
For all your ACB extracting needs. Based on [acb.py](https://github.com/summertriangle-dev/acb.py).
## Usage
### CLI
``` bash
npm install acb -g
acb somefile.acb [-o [outputdir]] [-l] [-t] [-c] [-n] [-w] [-s]
```### Programing
``` js
const { Acb } = require('acb')
const acb = new Acb('path/to/somefile.acb')
// or
// const acb = new Acb(fs.readFileSync('path/to/somefile.acb'), awbFilePathOrBuffer)// Async
acb.extract() // => Promise
acb.extract('path/to/out') // => Promise
acb.extract(() => console.log('Extract done.')) // => void
acb.extract('path/to/out', () => console.log('Extract done.')) // => void// Sync
acb.extractSync() // => void
acb.extractSync('path/to/out') // => void
```