a simple unpackage scripts for weapp wx file.
Packet Head | File Info Packet | File Data |
---|---|---|
packet head | filenumber | path length | path | current pos | file data length | .. | file data | .. |
1 | 4 | 4 | 4 | 1 | 4 | 4 | path length | 4 | hello.js data length | .. | console.log(..) |.. |
Usage:
npm install -g unwx
unwx -i output.wx
© 2016 A Phodal Huang's Idea. This code is distributed under the MIT license. See LICENSE
in this directory.