layaair2-cmd
Version:
layaair version 2 toolkit
98 lines (97 loc) • 3.18 kB
JSON
{
"_args": [
[
{
"raw": "htmlescape@^1.1.0",
"scope": null,
"escapedName": "htmlescape",
"name": "htmlescape",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify"
]
],
"_from": "htmlescape@>=1.1.0 <2.0.0",
"_id": "htmlescape@1.1.1",
"_inCache": true,
"_location": "/htmlescape",
"_nodeVersion": "5.9.0",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/htmlescape-1.1.1.tgz_1458699438386_0.6642345392610878"
},
"_npmUser": {
"name": "zertosh",
"email": "zertosh@gmail.com"
},
"_npmVersion": "3.7.3",
"_phantomChildren": {},
"_requested": {
"raw": "htmlescape@^1.1.0",
"scope": null,
"escapedName": "htmlescape",
"name": "htmlescape",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/browserify"
],
"_resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz",
"_shasum": "3a03edc2214bca3b66424a3e7959349509cb0351",
"_shrinkwrap": null,
"_spec": "htmlescape@^1.1.0",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify",
"author": {
"name": "Andres Suarez",
"email": "zertosh@gmail.com"
},
"bugs": {
"url": "https://github.com/zertosh/htmlescape/issues"
},
"dependencies": {},
"description": "Properly escape JSON for usage as an object literal inside of a `<script>` tag",
"devDependencies": {
"tape": "^3.0.0"
},
"directories": {},
"dist": {
"shasum": "3a03edc2214bca3b66424a3e7959349509cb0351",
"tarball": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz"
},
"engines": {
"node": ">=0.10"
},
"gitHead": "02dbcc367dd3069b73253ac08d87a40d37984239",
"homepage": "https://github.com/zertosh/htmlescape",
"keywords": [
"escape",
"encoding",
"html",
"json",
"template"
],
"license": "MIT",
"main": "htmlescape.js",
"maintainers": [
{
"name": "zertosh",
"email": "zertosh@gmail.com"
}
],
"name": "htmlescape",
"optionalDependencies": {},
"readme": "# htmlescape\n\nProperly escape JSON for usage as an object literal inside of a `<script>` tag. Use `htmlescape` in place of `JSON.stringify`. For more info see [JSON: The JavaScript subset that isn't](http://timelessrepo.com/json-isnt-a-javascript-subset).\n\n## Transformations\n\n| from | to |\n| -------- |:---------:|\n| `&` | `\\\\u0026` |\n| `>` | `\\\\u003e` |\n| `<` | `\\\\u003c` |\n| `\\u2028` | `\\\\u2028` |\n| `\\u2029` | `\\\\u2029` |\n\n\n## Usage\n\n```js\nvar htmlescape = require('htmlescape');\nhtmlescape({prop:'value'});\n//=> '{\"prop\":\"value\"}'\n```\n\nOr in your templates:\n\n```html\n<script>\nvar payload = <%= htmlescape(payload) %>;\n</script>\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/zertosh/htmlescape.git"
},
"scripts": {
"test": "tape test/*.js"
},
"version": "1.1.1"
}