Skip to content

Full-javascript parser for Python's pickle format

License

Notifications You must be signed in to change notification settings

drc0/node-jpickle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-jpickle

Build Status

Full-javascript parser for Python's pickle format.

It currently supports most opcodes for:

  • protocol 0
  • protocol 1
  • protocol 2

Installation

npm install jpickle

Usage

Here is a basic example for parsing a pickled string:

var jpickle = require('jpickle');
jpickle.loads('U\x0bhello worldq\x01.');

Running Tests

To run the tests, install Mocha then run:

mocha

About

Full-javascript parser for Python's pickle format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%