{"name":"white-space-x","version":"1.2.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":{"define-properties-x":"^1.3.0","foreach":"^2.0.5"},"devDependencies":{"@ljharb/eslint-config":"^11.0.0","browserify":"^14.1.0","browserify-derequire":"^0.9.4","es5-shim":"^4.5.9","es6-shim":"^0.35.3","es7-shim":"^6.0.0","eslint":"^3.18.0","eslint-plugin-import":"^2.2.0","jasmine-node":"^1.14.5","jsdoc-to-markdown":"^3.0.0","json3":"^3.3.2","make-jasmine-spec-runner-html":"^1.1.0","nodemon":"^1.11.0","nsp":"^2.6.3","replace-x":"^1.1.1","uglify-js":"^2.8.18"},"scripts":{"build":"npm run build:setver && npm run security && npm run eslint && npm run browserify && npm run uglify && npm run docs && npm run build:jasmine && npm test","build:jasmine":"make-jasmine-spec-runner-html","build:setver":"PKG_VER=$(node -p -e \"require('./package.json').version\") && replace-x \" @version .*\" \" @version ${PKG_VER}\" index.js","build:watch":"nodemon --watch index.js --watch package.json --exec 'npm run build'","docs":"jsdoc2md --name-format --example-lang js index.js > README.md","eslint":"eslint *.js tests/spec/*.js","security":"nsp check","test":"jasmine-node --matchall tests/spec/","test:watch":"nodemon --watch tests/spec/test.js --exec 'npm test'","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 --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/white-space-x.map"},"gitHead":"bb868b09f3018a16b2fee9364ef1814d26883280","_id":"white-space-x@1.2.0","_shasum":"b2fdf5620123c1acbd2e7e1b8197b49fded5f2d5","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"shasum":"b2fdf5620123c1acbd2e7e1b8197b49fded5f2d5","tarball":"http://registry-npm.ywwl.com/white-space-x/download/white-space-x-1.2.0.tgz","integrity":"sha512-bgFV0hs6phxOKUu4TlLr+46G/je1U2McmgrjNf9ufmTt4MqZBTq5FKNKEXfHzGPSt/aZPDgg/Ou98oPpNSqV4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFDfq/uvOujY6plGMN2F7KDCrSPNS1yNHoKWtPWJ/4wAIhAIBwwYZcpAPvrPzRYeRCpYnva7zc0HInfr/2ad1f6SbG"}],"size":15990,"noattachment":false,"key":"/white-space-x/-/white-space-x-1.2.0.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/white-space-x-1.2.0.tgz_1490798833911_0.09032289264723659"},"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":1490798835930,"_cnpm_publish_time":1490798835930,"dist-tags":{"latest":"4.1.1"}}