sarc-extractor
is an npm package that extracts file(s) from SARC file.
npm i sarc-extractor
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>');
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 extract -- <SARC file path>