{"name":"char-regex","version":"2.0.2","description":"A regex to match any full character, considering weird character ranges.","repository":{"type":"git","url":"git+https://github.com/Richienb/char-regex.git"},"author":{"name":"Richie Bendall","email":"richiebendall@gmail.com"},"license":"MIT","type":"module","exports":"./index.js","engines":{"node":">=12.20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["character","regex","match","split","length"],"dependencies":{},"devDependencies":{"all-chars":"^1.0.0","ava":"^6.2.0","tsd":"^0.31.2","xo":"^0.59.3"},"_id":"char-regex@2.0.2","gitHead":"b2a1dc9967b556f9a576ce0f7ded2a457ba4aefa","types":"./index.d.ts","bugs":{"url":"https://github.com/Richienb/char-regex/issues"},"homepage":"https://github.com/Richienb/char-regex#readme","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-cbGOjAptfM2LVmWhwRFHEKTPkLwNddVmuqYZQt895yXwAsWsXObCG+YN4DGQ/JBtT4GP1a1lPPdio2z413LmTg==","shasum":"81385bb071af4df774bff8721d0ca15ef29ea0bb","tarball":"http://registry-npm.ywwl.com/char-regex/download/char-regex-2.0.2.tgz","fileCount":5,"unpackedSize":5416,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPh/Z2pVBsb6j+c6ykG4OfGCgv6AmGbEHW2l1sw3HbCgIhAJ7fKczY//brwJiUVYpMgiQP/Pu+SJ9cnNRhFVgF1kPI"}],"size":2465,"noattachment":false,"key":"/char-regex/-/char-regex-2.0.2.tgz"},"_npmUser":{"name":"richienb","email":"richiebendall@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/char-regex_2.0.2_1732112722213_0.692578100107337"},"_hasShrinkwrap":false,"readme":"# char-regex\r\n\r\nA regex to match any full character, considering weird character ranges. Tested on every single emoji and unicode character. Based on the Lodash implementation.\r\n\r\n## Install\r\n\r\n```sh\r\nnpm install char-regex\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nimport charRegex from 'char-regex';\r\n\r\n'❤️👊🏽'.match(/./);\r\n//=> ['', '', '', '', '', '', '']\r\n\r\n'❤️👊🏽'.match(charRegex());\r\n//=> ['❤️', '👊🏽']\r\n```\r\n\r\n## Related\r\n\r\n- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string\r\n","publish_time":1732112722380,"maintainers":[{"name":"richienb","email":"richiebendall@gmail.com"}],"_cnpm_publish_time":1732112722380,"dist-tags":{"latest":"2.0.2"}}