js_packer 0.0.5 copy "js_packer: ^0.0.5" to clipboard
js_packer: ^0.0.5 copied to clipboard

Dart Package for decode Dean Edwards' JavaScript Packer.

js_packer #

Decoder for Dean Edwards' JavaScript Packer

Usage #

First call JSPacker() with your JS value

JSPacker jsPacker = JSPacker(eval); // add your eval js code

Use detect class to check your JS value format is correct

jsPacker.detect()

Use unpack class to get value

jsPacker.unpack()

Example #


JSPacker jsPacker = JSPacker(eval); // add your value

if (jsPacker.detect()) {
    print(jsPacker.unpack());
} else {
    print("Not P.A.C.K.E.R. coded");
}
2
likes
120
pub points
74%
popularity

Publisher

unverified uploader

Dart Package for decode Dean Edwards' JavaScript Packer.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on js_packer