UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

66 lines (65 loc) 2.77 kB
{ "_args": [ [ "jsonify@https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "/Users/gajus/Documents/dev/canonical-code-style/canonical" ] ], "_from": "jsonify@>=0.0.0 <0.1.0", "_id": "jsonify@0.0.0", "_inCache": true, "_location": "/jsonify", "_phantomChildren": {}, "_requested": { "name": "jsonify", "raw": "jsonify@https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "rawSpec": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "scope": null, "spec": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "type": "remote" }, "_requiredBy": [ "/json-stable-stringify" ], "_resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "_shasum": "2c74b6ee41d93ca51b7b5aaee8f503631d252a73", "_shrinkwrap": null, "_spec": "jsonify@https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical", "author": { "name": "Douglas Crockford", "url": "http://crockford.com/" }, "bugs": { "url": "https://github.com/substack/jsonify/issues" }, "dependencies": {}, "description": "JSON without touching any globals", "devDependencies": { "garbage": "0.0.x", "tap": "0.0.x" }, "directories": { "lib": ".", "test": "test" }, "homepage": "https://github.com/substack/jsonify#readme", "keywords": [ "browser", "json" ], "license": "Public Domain", "main": "index.js", "name": "jsonify", "optionalDependencies": {}, "readme": "jsonify\n=======\n\nThis module provides Douglas Crockford's JSON implementation without modifying\nany globals.\n\n`stringify` and `parse` are merely exported without respect to whether or not a\nglobal `JSON` object exists.\n\nmethods\n=======\n\nvar json = require('jsonify');\n\njson.parse(source, reviver)\n---------------------------\n\nReturn a new javascript object from a parse of the `source` string.\n\nIf a `reviver` function is specified, walk the structure passing each name/value\npair to `reviver.call(parent, key, value)` to transform the `value` before\nparsing it.\n\njson.stringify(value, replacer, space)\n--------------------------------------\n\nReturn a string representation for `value`.\n\nIf `replacer` is specified, walk the structure passing each name/value pair to\n`replacer.call(parent, key, value)` to transform the `value` before stringifying\nit.\n\nIf `space` is a number, indent the result by that many spaces.\nIf `space` is a string, use `space` as the indentation.\n", "readmeFilename": "README.markdown", "repository": { "type": "git", "url": "git+ssh://git@github.com/substack/jsonify.git" }, "scripts": { "test": "tap test" }, "version": "0.0.0" }