{"name":"white-space-x","version":"4.0.2","description":"List of ECMAScript white space characters.","homepage":"https://github.com/Xotic750/white-space-x","author":{"name":"Graham Fairweather","email":"xotic750@gmail.com"},"copyright":"Copyright (c) 2015-present","keywords":["whitespaces","RegExp","module","javascript","nodejs","browser"],"module":"dist/white-space-x.esm.js","main":"dist/white-space-x.js","scripts":{"build:esm":"mkdirp dist && babel -s true --env-name esm src/white-space-x.js -o dist/white-space-x.esm.js","build:base":"webpack --bail --progress --profile --colors","build":"npm run build:esm && cross-env NODE_ENV=production npm run build:base --","build:dev":"npm run build:base --","clean":"rimraf dist && npm run clean:coverage","clean:coverage":"rimraf __tests__/coverage","lint":"eslint -f 'node_modules/eslint-friendly-formatter' --ext .js .","lint-fix":"npm run lint -- --fix","report":"npm run build -- --env.report","report:dev":"npm run build:dev -- --env.report","security":"npm audit","security-fix":"npm run security -- fix","start":"nodemon --exec \"npm run build\" --watch src","test":"npm run clean:coverage && jest","test:ci":"npm run test -- --ci --maxWorkers=2","test:coverage":"npm run test -- --coverage"},"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":{},"devDependencies":{"@babel/cli":"^7.5.0","@babel/core":"^7.5.4","@babel/node":"^7.5.0","@babel/plugin-proposal-class-properties":"^7.5.0","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-syntax-export-default-from":"^7.2.0","@babel/plugin-syntax-export-namespace-from":"^7.2.0","@babel/plugin-transform-property-mutators":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.4","@babel/runtime":"^7.5.4","@prorenata/eslint-config-vue":"^1.13.6","@types/jest":"^24.0.15","@types/node":"^12.6.2","babel-core":"^7.0.0-0","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","babel-plugin-lodash":"^3.3.4","caniuse-lite":"^1.0.30000983","chalk":"^2.4.2","concurrently":"^4.1.1","cross-env":"^5.2.0","eslint":"=5.16.0","eslint-config-airbnb-base":"^13.2.0","eslint-config-prettier":"^6.0.0","eslint-friendly-formatter":"^4.0.1","eslint-import-resolver-webpack":"^0.11.1","eslint-loader":"^2.2.1","eslint-plugin-babel":"^5.3.0","eslint-plugin-compat":"^3.2.0","eslint-plugin-css-modules":"^2.11.0","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jest":"^22.7.2","eslint-plugin-jsdoc":"^15.3.5","eslint-plugin-json":"^1.4.0","eslint-plugin-lodash":"^5.1.0","eslint-plugin-no-use-extend-native":"^0.4.1","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-prettier":"^3.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-sort-class-members":"^1.5.0","eslint-plugin-switch-case":"^1.1.2","eslint-plugin-vue":"^5.2.3","friendly-errors-webpack-plugin":"^1.7.0","identity-obj-proxy":"^3.0.0","jest":"^24.8.0","jest-cli":"^24.8.0","jest-file":"^1.0.0","jsdoc-to-markdown":"^5.0.0","lodash":"^4.17.14","lodash-webpack-plugin":"^0.11.5","mkdirp":"^0.5.1","node-notifier":"^5.4.0","nodemon":"^1.19.1","prettier":"=1.14.3","rimraf":"^2.6.3","semver":"^6.2.0","source-map-loader":"^0.2.4","terser-webpack-plugin":"^1.3.0","typescript":"^3.5.3","webpack":"^4.35.3","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.5","webpack-merge":"^4.2.1"},"engines":{"node":">=8.11.4","npm":"6.4.1"},"browserslist":["> 1%","Explorer >= 9"],"gitHead":"cd3ed9698caa5b07b04c4071bee7a6495273551c","_id":"white-space-x@4.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.4","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-xUplQwdKBR3qIrElu6Jyz8ZtjUBeIJibfJ0Wans0og1gJzANM/OOQ6BEJPliLNWYPTqsmi3IjvJPzP/fDDQWZw==","shasum":"21585d3a31b44c0c93745b72bdad70a0817c9635","tarball":"http://registry-npm.ywwl.com/white-space-x/download/white-space-x-4.0.2.tgz","fileCount":10,"unpackedSize":80359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKJksCRA9TVsSAnZWagAA6zQP/1/FzWdQO/IFh5rzr6Gr\nKraAKIDi0Be/BqIKVRXG/X+DmUkx2YGHp1vrAbcTSW7kn+zkZ9N1Q5ygUbAU\nLqafCLHl5GKlq6uhKNuR4M7PWybvHOgEvxCRREIcwpPbw9B1wppPxFKVtNr5\nTskVvHiVag1gtGAk6jafzvMwTx8823jOkROOvtHi+sJ5LgLt/dND7JrrFLKC\nvLkRi5j9vywYb2HzJyaEOcyrBqWh2RbCD1YCfP4vkp7wXpiUtSr6Z1HkGdQg\n9RIcCe/4ogsoOz9YEnm+afljFm4xZJ8/NkTZb5neI/5y5eD/K0N/sckzxt1F\n3Dh9e0Vn8bsdKG581lWEt0jzMkXhgepEg/0SLWpBte61mpyFa/DZWwHq8I5+\n+lzq8N00NI+HTI2lJq08goigvEuXYYJEe8JnRDqxGb2YHH0102HFeoZOS0Cd\nWyG2Xepowm05D4wNYXE0gbhTBAfMNX0rOBj5x6irtv+hRHbXf8PRk0TDDS2u\njm5YqL+0NATVvPgSK3Ata6L3eSER527xY3ZJq38yWLbqVvaBOiw+fpsNOKED\nBatGLAm1Laym020G5DYkOu2NtxnSl/IBOIQcwGvy/AEiWU8Eq2cipid/HqKM\n0xShZCEQTOCNwfRwyA60JWbMFCWc0KOLE0oKGRPS6qr/T2uiT4/27A0Y1IaY\nEGYq\r\n=J7G6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvBgQ548aAmSMCtwCAk78wwb8hpbkSLwZglW0nXZR4LAIhAPF3BNXCR7mj9VcCsiF2NDx2ruuWgOo2gpH+pFXx5w8y"}],"size":10735,"noattachment":false,"key":"/white-space-x/-/white-space-x-4.0.2.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/white-space-x_4.0.2_1562941739676_0.08972207352556438"},"_hasShrinkwrap":false,"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":1562941739849,"_cnpm_publish_time":1562941739849,"dist-tags":{"latest":"4.1.1"}}