{"name":"white-space-x","version":"4.0.22","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","jsdelivr":"dist/white-space-x.min.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,.json .","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.5","@babel/core":"^7.5.5","@babel/node":"^7.5.5","@babel/plugin-proposal-class-properties":"^7.5.5","@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.5","@babel/preset-env":"^7.5.5","@babel/runtime":"^7.5.5","@prorenata/eslint-config-vue":"^1.13.14","@types/jest":"^24.0.15","@types/node":"^12.6.8","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.30000985","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.3.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.2","eslint-plugin-jest":"^22.14.0","eslint-plugin-jsdoc":"^15.7.2","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.15","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.3.0","source-map-loader":"^0.2.4","strip-ansi":"^5.2.0","terser-webpack-plugin":"^1.3.0","typescript":"^3.5.3","webpack":"^4.38.0","webpack-bundle-analyzer":"^3.3.2","webpack-cli":"^3.3.6","webpack-merge":"^4.2.1"},"engines":{"node":">=8.11.4","npm":"6.10.1"},"browserslist":["> 1%","Explorer >= 9"],"gitHead":"f4c626b2fe57146febb64b3d15a4f5bd436cc33a","_id":"white-space-x@4.0.22","_npmVersion":"5.10.0","_nodeVersion":"8.11.4","_npmUser":{"name":"xotic750","email":"xotic750@gmail.com"},"dist":{"integrity":"sha512-1pIBguQTj6x0ZxvjS5s1g0ZNwOXg932bMnYT4QDrnh7TUszwrSoa5+B6cfmLmUw+1D56a5NexFkE1QQc8UMepQ==","shasum":"ef6add31b0bf69c9947faae0091115dca32190a7","tarball":"http://registry-npm.ywwl.com/white-space-x/download/white-space-x-4.0.22.tgz","fileCount":10,"unpackedSize":80883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdO5f4CRA9TVsSAnZWagAAPgMQAIZThKvhqc/Ct+wx31U9\nXuwNHZ6OHxi5tc0QNUDzhsMtDwj/JXOo0EzcfitopYImYP18mLttL2sAkVas\nT5B2UMFB/r+AJEzCX1QI91xoIIho+bHoqC3JcaSR9cfuVZhv1dnFIkFkXV+C\nEouqHC1rBGMod5Npki8ap86pUdsQFZvXkqAtUaxa956dj6/QBy+vZvI0YT8f\ntAJJ6xLJYtTbh2n93PRXDt+e95miIabi94y9qD7BQaqXnW8HSdDfPE1EGLrN\nbxbAldXXjgL26j7ps6eyFJQBahwxMLvilWSJ3E1XMlL6NV8aqCX0siNm0zMm\noCCVkFWBKad2J+8THsk1TxkJOh7puUYDOxM5KtZNnR912pXdgRMVNFsq0n+d\n2txuVqlqrbjTlhKI6GWAdkFL/ewH6YwKL7JxlLUcvJumStASwC7TRQ/2VLal\nQ8vWHmsiqXTXK3KWrbRI/eX4mMQFnMnR0bgB3UXSTdAeK3yJUMTSZ2pVAxLG\nga/WC/qygDM2GWYIsKZV63o4IRBAIBTbV5ugIP3a8sYsEWInYk0pepHsAxIP\n661bRfpxZ0BSht6jPYMNY/87RwIXIXwxcXmJNzOCiDZkhOZPm5N9hLzpHCVI\njs1q25nFJbuEAXW2YFfKE73mLOCbdHnzsOyMFJudTGK4ZqUJ3RbjDPrHSwVd\n+c+G\r\n=BG5K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzBTUshEkzq05a2tF3g1ZWNuk1hVs6RJXwjrUhvYRZ9AiEAtFSVFlZD4uDVVyzXqOhwYcPuAG2uo7QwA92oYdzgWOs="}],"size":10864,"noattachment":false,"key":"/white-space-x/-/white-space-x-4.0.22.tgz"},"maintainers":[{"name":"xotic750","email":"xotic750@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/white-space-x_4.0.22_1564186615489_0.19201144427551142"},"_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":1564186615636,"_cnpm_publish_time":1564186615636,"dist-tags":{"latest":"4.1.1"}}