pydict

Library to parse Python dictionary

npm install pydict
8 downloads in the last month

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'}"));
npm loves you