sarc-extractor
v1.0.3
Published
Extract file(s) from SARC file.
Downloads
4
Readme
sarc-extractor
sarc-extractor
is an npm package that extracts file(s) from SARC file.
Installation
npm i sarc-extractor
Usage
The file(s) extracted from the SARC file will be output to to the same directory as the SARC file.
const sarcExtractor = require('sarc-extractor');
const extractedFileList = sarcExtractor.extract('<SARC file path>');
Example
const sarcExtractor = require('sarc-extractor');
const extractedFileList = sarcExtractor.extract('/home/foo/bar.sarc');
// --> output ["/home/foo/bar/baz.msbt", "/home/foo/bar/qux.msbt"]
npm run
npm run extract -- <SARC file path>