pydict

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i pydict

Weekly Downloads

0

Version

0.0.2

License

BSD

Last publish

Collaborators

  • aveline