0.1.1 • Published 10 years ago

escape-json v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

escape json

installation

npm install escape-json

using

cli

$ echo '{"hello": "world"}' | ./node_modules/bin/escape-json.js
{\"hello\": \"world\"}

module

var escapeJson = require('escape-json');
// escaped === '{\"hello\": \"world\"}'
var escaped = escapeJson('{"hello": "world"}');

tests

will be here soon

license

MIT License

0.1.1

10 years ago

0.1.0

10 years ago