js_packer 0.0.3
js_packer: ^0.0.3

Dart native js
Flutter Android iOS web

First 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");
}
0
likes
100
pub points
0%
popularity

First Dart Package for decode Dean Edwards' JavaScript Packer.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

thitlwincoder@gmail.com

License

MIT (LICENSE)

More

Packages that depend on js_packer