datajet

1.0.1 • Public • Published

DataJetJS

A Bloons TD data.jet file jet unpacking and patching library

Installing

npm install datajet

Examples

Simple examples to help you use DataJetJS

Unpacking & Patching

Note: the patches in here are not real patches, they will not work, they do not do anything. Download some real patches from the download repo.

const jet = require('datajet')    //Import the module
 
var mypatches = [   //Our patches we want to apply
    {"file" : "Weapon.Ninja", patch:{...}},
    {"file" : "Weapon.DartlingGun", patch:{...}},
    ];
 
var mypatchedjet =
    jet.packer
    .unpack('data.jet', jet.version.steam["6.4.0"])  //Unpack our jet
    .addPatch(mypatches)                             //Apply our patch
    .pack();                                         //Repack our jet, overwriting our other jet
 

/datajet/

    Package Sidebar

    Install

    npm i datajet

    Weekly Downloads

    1

    Version

    1.0.1

    License

    GPL-3.0-or-later

    Unpacked Size

    35 kB

    Total Files

    10

    Last publish

    Collaborators

    • hexf