0.0.2 • Published 11 years ago

pydict v0.0.2

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

node-pydict

Parse Python Dict in Node.JS

Installation

npm install pydict

Tested on OSX 10.8.2 with node 0.8.9

Usage

var pydict = require('pydict');
console.log(pydict.parse("{'\\xe9\\x94\\x99\\xe8\\xaf\\xaf': '\\xe4\\xbd\\xa0\\xe4\\xbb\\xac\\xe5\\x86\\x8d\\xe8\\xaf\\xb4 Python Dict \\xe5\\xb0\\xb1\\xe6\\x98\\xaf JSON \\xe6\\x88\\x91\\xe5\\xb0\\xb1\\xe6\\x97\\xa5\\xe6\\xad\\xbb\\xe4\\xbd\\xa0\\xef\\xbc\\x81\\xe5\\x93\\xbc\\xef\\xbc\\x81'}"));