Skip to content

A library for packing and unpacking SARC/SZS archives.

License

Notifications You must be signed in to change notification settings

ThemezerNX/SarcLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SarcLib

npm version

A library for packing and unpacking SARC/SZS archives, with Yaz0 compression support.

Heavily based on

  • SarcLib by RoadrunnerWMC, MasterVermilli0n/AboodXD
  • sarc by leoetlino

Installation

yarn add @themezernx/sarclib

npm install @themezernx/sarclib
// ES5/ES6
import {SarcFile} from "@themezernx/sarclib/dist";

// commonjs
const {SarcFile} = require("@themezernx/sarclib/dist");

Docs

Read the docs here

Build

# install dependencies
yarn

# compile
yarn run build

# simple test
yarn run test