{"name":"white-space-x","version":"2.0.0","description":"List of ECMAScript5 white space characters.","homepage":"https://github.com/Xotic750/white-space-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-2017","keywords":["ES5","whitespaces","RegExp","module","javascript","nodejs","browser"],"main":"index.js","engines":{"node":"*"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Xotic750/white-space-x.git"},"bugs":{"url":"https://github.com/Xotic750/white-space-x/issues"},"dependencies":{"for-each":"^0.3.2"},"devDependencies":{"@xotic750/eslint-config-standard-x":"^2.2.1","browserify":"^14.4.0","browserify-derequire":"^0.9.4","cross-env":"^5.0.1","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^4.2.0","eslint-plugin-compat":"^1.0.4","eslint-plugin-css-modules":"^2.7.2","eslint-plugin-eslint-comments":"^1.0.2","eslint-plugin-jsdoc":"^3.1.1","eslint-plugin-json":"^1.2.0","eslint-plugin-no-use-extend-native":"^0.3.12","husky":"^0.13.4","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.3.0","ncp":"^2.0.0","nodemon":"^1.11.0","nsp":"^2.6.3","parallelshell":"^3.0.1","replace-x":"^1.5.0","rimraf":"^2.6.1","serve":"^6.0.2","uglify-js":"^3.0.24"},"scripts":{"clean":"rimraf README.md lib/*","clean:jasmine":"rimraf tests/index.html tests/run.js","clean:all":"npm run clean:jasmine && npm run clean","build":"npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security","build:jasmine":"npm run clean:jasmine && make-jasmine-spec-runner-html","build:setver":"replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js","build:name":"replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js","build:description":"replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js","build:replace":"npm run build:setver && npm run build:name && npm run build:description","production":"npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build","start":"parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"","docs:name":"replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md","docs:badges":"ncp badges.html README.md && npm run docs:name","docs":"npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md","lint":"eslint *.js tests/spec/*.js","lint-fix":"npm run lint -- --fix","security":"nsp check","test":"jasmine-node --matchall tests/spec/","browserify":"browserify -p browserify-derequire -e index.js -o lib/white-space-x.js -u 'crypto' -s returnExports","uglify":"uglifyjs lib/white-space-x.js -o lib/white-space-x.min.js --config-file .uglifyjsrc.json","precommit":"npm run production","prepush":"npm run production"},"gitHead":"a7c48731658c3754860f6252eff6e087c93e1637","_id":"white-space-x@2.0.0","_npmVersion":"5.2.0","_nodeVersion":"7.7.3","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-a+B2mjr1O6gXDAKed/3G60u7+jsdeA35gsJTgEKjqFWD3SmnTCNiX/G29RtOLMzXsZwmgMhp7SjI/GlX6RzSAQ==","shasum":"98ed6da96032305880572f20acd53e8a9479f0a2","tarball":"http://registry-npm.ywwl.com/white-space-x/download/white-space-x-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAa7zbXxwkQ4N2KfRd/5Mn50h7+CqZM8q3BJKOsrftKzAiEAwDs9mLw22FVZ2xAG/1fYuEpZrGOUvl6cCzGqhpKtQ5o="}],"size":9370,"noattachment":false,"key":"/white-space-x/-/white-space-x-2.0.0.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/white-space-x-2.0.0.tgz_1499865130427_0.3290115222334862"},"directories":{},"readme":"<a\n  href=\"https://travis-ci.org/Xotic750/white-space-x\"\n  title=\"Travis status\">\n<img\n  src=\"https://travis-ci.org/Xotic750/white-space-x.svg?branch=master\"\n  alt=\"Travis status\" height=\"18\">\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/white-space-x\"\n  title=\"Dependency status\">\n<img src=\"https://david-dm.org/Xotic750/white-space-x/status.svg\"\n  alt=\"Dependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://david-dm.org/Xotic750/white-space-x?type=dev\"\n  title=\"devDependency status\">\n<img src=\"https://david-dm.org/Xotic750/white-space-x/dev-status.svg\"\n  alt=\"devDependency status\" height=\"18\"/>\n</a>\n<a\n  href=\"https://badge.fury.io/js/white-space-x\"\n  title=\"npm version\">\n<img src=\"https://badge.fury.io/js/white-space-x.svg\"\n  alt=\"npm version\" height=\"18\">\n</a>\n<a\n  href=\"https://www.jsdelivr.com/package/npm/white-space-x\"\n  title=\"jsDelivr hits\">\n<img src=\"https://data.jsdelivr.com/v1/package/npm/white-space-x/badge?style=rounded\"\n  alt=\"jsDelivr hits\" height=\"18\">\n</a>\n<a\n  href=\"https://bettercodehub.com/results/Xotic750/white-space-x\"\n  title=\"bettercodehub score\">\n<img src=\"https://bettercodehub.com/edge/badge/Xotic750/white-space-x?branch=master\"\n  alt=\"bettercodehub score\" height=\"18\">\n</a>\n<a\n  href=\"https://coveralls.io/github/Xotic750/white-space-x?branch=master\"\n  title=\"Coverage Status\">\n<img src=\"https://coveralls.io/repos/github/Xotic750/white-space-x/badge.svg?branch=master\"\n  alt=\"Coverage Status\" height=\"18\">\n</a>\n\n<a name=\"module_white-space-x\"></a>\n\n## white-space-x\n\n### `module.exports` : <code>string</code> ⏏\n\nList of ECMAScript white space characters.\n\n**Kind**: Exported member\n**Example**\n\n```js\nimport whiteSpace from 'white-space-x';\nwhiteSpaces.list.foreach(function(item) {\n  console.log(item.description, item.code, item.string);\n});\n\nconst characters = [\n  '\\u0009',\n  '\\u000a',\n  '\\u000b',\n  '\\u000c',\n  '\\u000d',\n  '\\u0020',\n  '\\u00a0',\n  '\\u1680',\n  '\\u2000',\n  '\\u2001',\n  '\\u2002',\n  '\\u2003',\n  '\\u2004',\n  '\\u2005',\n  '\\u2006',\n  '\\u2007',\n  '\\u2008',\n  '\\u2009',\n  '\\u200a',\n  '\\u2028',\n  '\\u2029',\n  '\\u202f',\n  '\\u205f',\n  '\\u3000',\n  '\\ufeff',\n];\nconst ws = characters.join('');\nconst re1 = new RegExp('^[' + whiteSpace + ']+$)');\nconsole.log(re1.test(ws)); // true\n```\n\n- [white-space-x](#module_white-space-x)\n  - _static_\n    - [`.list`](#module_white-space-x.list) : <code>Array.&lt;CharRecord&gt;</code>\n    - [`.string2016`](#module_white-space-x.string2016) : <code>string</code>\n  - _inner_\n    - [`~CharRecord`](#module_white-space-x..CharRecord) : <code>Object</code>\n\n<a name=\"module_white-space-x.list\"></a>\n\n### `white-space-x.list` : <code>Array.&lt;CharRecord&gt;</code>\n\nAn array of the whitespace char codes, string, descriptions and language\npresence in the specifications.\n\n**Kind**: static property of [<code>white-space-x</code>](#module_white-space-x)\n<a name=\"module_white-space-x.string2016\"></a>\n\n### `white-space-x.string2016` : <code>string</code>\n\nA string of the ES5 to ES2016 whitespace characters.\n\n**Kind**: static property of [<code>white-space-x</code>](#module_white-space-x)\n**Example**\n\n```js\nimport {string2016 as whiteSpace2016} from 'white-space-x';\nconst characters = [\n  '\\u0009',\n  '\\u000a',\n  '\\u000b',\n  '\\u000c',\n  '\\u000d',\n  '\\u0020',\n  '\\u00a0',\n  '\\u1680',\n  '\\u180e',\n  '\\u2000',\n  '\\u2001',\n  '\\u2002',\n  '\\u2003',\n  '\\u2004',\n  '\\u2005',\n  '\\u2006',\n  '\\u2007',\n  '\\u2008',\n  '\\u2009',\n  '\\u200a',\n  '\\u2028',\n  '\\u2029',\n  '\\u202f',\n  '\\u205f',\n  '\\u3000',\n  '\\ufeff',\n];\nconst ws = characters.join('');\nconst re1 = new RegExp('^[' + whiteSpace2016 + ']+$)');\nconsole.log(re1.test(ws)); // true\n```\n\n<a name=\"module_white-space-x.string2017\"></a>\n\n### `white-space-x.string2017` : <code>string</code>\n\nA string of the ES2017 to ES2018 whitespace characters.\n\n**Kind**: static property of [<code>white-space-x</code>](#module_white-space-x)  \n<a name=\"module_white-space-x.string2018\"></a>\n\n<a name=\"module_white-space-x..CharRecord\"></a>\n\n### `white-space-x~CharRecord` : <code>Object</code>\n\nA record of a white space character.\n\n**Kind**: inner typedef of [<code>white-space-x</code>](#module_white-space-x)  \n**Properties**\n\n| Name        | Type                 | Description                                   |\n| ----------- | -------------------- | --------------------------------------------- |\n| code        | <code>number</code>  | The character code.                           |\n| description | <code>string</code>  | A description of the character.               |\n| es5         | <code>boolean</code> | Whether the spec lists this as a white space. |\n| es2015      | <code>boolean</code> | Whether the spec lists this as a white space. |\n| es2016      | <code>boolean</code> | Whether the spec lists this as a white space. |\n| es2017      | <code>boolean</code> | Whether the spec lists this as a white space. |\n| es2018      | <code>boolean</code> | Whether the spec lists this as a white space. |\n| string      | <code>string</code>  | The character string.                         |\n","publish_time":1499865131377,"_cnpm_publish_time":1499865131377,"dist-tags":{"latest":"4.1.1"}}