{"_id":"runes","_rev":"14-e73a4a8cebc205ba83fd1db6856f4e72","name":"runes","dist-tags":{"latest":"0.4.3"},"versions":{"0.0.0":{"name":"runes","version":"0.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","_id":"runes@0.0.0","_shasum":"558f4811df299d9271689c00f1997d11f57fe909","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"558f4811df299d9271689c00f1997d11f57fe909","tarball":"https://registry.npmjs.org/runes/-/runes-0.0.0.tgz","integrity":"sha512-UizlqMXgaIJPV1+H0V59fGkzvuMkrDQY/PrD+Fu1w/KtyJ95rAju0mxmLp9xuVAhwSy92oK5XjLH+boiSMCQ2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8jjvlesZMjWjNBoqkUdhvkWxT0CEYLtIs18sFlx/glAIhAMPCn11QrZXpCXbHFSPH9BNfKnUeyv4jwAWFwcM4CoxH"}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/runes-0.0.0.tgz_1471625236374_0.8855587337166071"},"directories":{}},"0.1.0":{"name":"runes","version":"0.1.0","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && mocha test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"eslint":"^3.3.1","eslint-config-standard":"^5.3.1","eslint-plugin-mocha":"^4.3.0","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.0","mocha":"^3.0.2","should":"^11.1.0"},"gitHead":"9a6192be6ba6c0f2f1a3b2b40922f4c697ddeb50","_id":"runes@0.1.0","_shasum":"8d76facff15c7f2fc087661b52803d1df50a9b29","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"8d76facff15c7f2fc087661b52803d1df50a9b29","tarball":"https://registry.npmjs.org/runes/-/runes-0.1.0.tgz","integrity":"sha512-Py6LkavWy4eQwFyxygyuMGTO2Ya+9OCjJBVyaATaL2yPHlWYf/mMVwqT3d9+oXDZbhNxR9O2xBYgzz6yVugtyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqGuv6Y1KOhNN17LodabWv+FhLRKpqh2etQVO8nZ2VlAiBndyI184y7RkINzWMmfzrJXno0xfqO0vOnlUpSCPsH7g=="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/runes-0.1.0.tgz_1471629953902_0.3689468221273273"},"directories":{}},"0.2.0":{"name":"runes","version":"0.2.0","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.16.0","eslint":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.0","should":"^11.1.0"},"gitHead":"9a6192be6ba6c0f2f1a3b2b40922f4c697ddeb50","_id":"runes@0.2.0","_shasum":"cdd86ab309b5fd6c05f5ae82f277f57c9599c6ba","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"cdd86ab309b5fd6c05f5ae82f277f57c9599c6ba","tarball":"https://registry.npmjs.org/runes/-/runes-0.2.0.tgz","integrity":"sha512-Q9ldq2wGj8DBPxCbpEWNnbtdLr7/dV/i672ggqlj3ukPPqOrs6S+PZrHtemzNxC2wEVFQJfMISHybZC7I/Y3ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGuRgmaVuoxYwrZaR/Rg6fvKOyyIV9eeHYEpYhD98uIDAiA+q/FJQqoRh4cYQ4UiFTfs96xmPmt1r3e7aRoJo+wfiw=="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/runes-0.2.0.tgz_1472244077481_0.569252411602065"},"directories":{}},"0.3.0":{"name":"runes","version":"0.3.0","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.16.0","eslint":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.0","should":"^11.1.0"},"gitHead":"ed16f40a50eff363bb0b47205128dbecd4bc99a2","_id":"runes@0.3.0","_shasum":"826eb123d25a4297bb7b6cdf22fc082f4d8d2b5a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"826eb123d25a4297bb7b6cdf22fc082f4d8d2b5a","tarball":"https://registry.npmjs.org/runes/-/runes-0.3.0.tgz","integrity":"sha512-Mc3z+U/pK/IYEChFHXC3ixKKz9RKmOYnikFdHw2Dgdrs56gc3jtXj95I3+lv7KWAzKPHeAn+CyhmVCuqCRR2tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD85hB8A94tAYM6T24Ij4vWoYqIqMe5iZcseL46T8XY9gIgRqYPwtJhs5Iwr/zzOdk9Xj2GqEfwRw82azPaz6SFCvs="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/runes-0.3.0.tgz_1472244973137_0.04258036706596613"},"directories":{}},"0.4.0":{"name":"runes","version":"0.4.0","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.16.0","eslint":"^3.3.1","eslint-config-standard":"^6.0.0","eslint-plugin-ava":"^3.0.0","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.0","should":"^11.1.0"},"gitHead":"f4b383cc6556304be92b0e601ffb97f0f73e2a9f","_id":"runes@0.4.0","_shasum":"791e605ac73c0c8eff17d631e12c8d8137f35b8a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"791e605ac73c0c8eff17d631e12c8d8137f35b8a","tarball":"https://registry.npmjs.org/runes/-/runes-0.4.0.tgz","integrity":"sha512-DuiPB60gCzZNJX65tNsb2ec5X7chpk/oEC75BSG3sIsWIHnMZIx23qbyCdNKh14QYG58JW4zg9i0xs7JyqB3Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7jfW/yYmqPDk9flZcRE9TaUNHiYlbIjzXIU2WR8hCCAiEAjnInFbvUr0yFcI0XAbRLNivlXmpnc+KE8gAdZ2bCPG0="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/runes-0.4.0.tgz_1481510351182_0.5712935484480113"},"directories":{}},"0.4.1":{"name":"runes","version":"0.4.1","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.19.1","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-import":"^2.6.0","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.4.0","eslint-plugin-standard":"^3.0.1"},"gitHead":"c28680deb2a12e9547df3236e0009bd41f25b563","_id":"runes@0.4.1","_shasum":"8fe5ca2cf7d7a384c6456beeeff6c4e9dc3e8502","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"8fe5ca2cf7d7a384c6456beeeff6c4e9dc3e8502","tarball":"https://registry.npmjs.org/runes/-/runes-0.4.1.tgz","integrity":"sha512-NEUTrgPWT0BC/ue2NpsI49FTGzdPWNpARqc75ZjX8njNSjIGqeeH4i1g9sHfRdQo5gCNX49RoEGXe30lz+3aGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1BrFC4wbbncTDXlidz9M7Z+X4VvhJQMv42ba43s3ssAiA5+du50Rdx2Ic7Hf8r7gZB9VCD5X25O1hF7Ctrewp8pQ=="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runes-0.4.1.tgz_1498501287636_0.2605479462072253"},"directories":{}},"0.4.2":{"name":"runes","version":"0.4.2","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.19.1","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-import":"^2.6.0","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.4.0","eslint-plugin-standard":"^3.0.1"},"gitHead":"fd00450b6ca2ec2fbf8e1e41c483ae9a6d3d6661","_id":"runes@0.4.2","_shasum":"1ddc1ea41de769cb32fc068a64fbbc45cd21052e","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"shasum":"1ddc1ea41de769cb32fc068a64fbbc45cd21052e","tarball":"https://registry.npmjs.org/runes/-/runes-0.4.2.tgz","integrity":"sha512-lZ6W2i7Xr/aFlvfNUDIcx4byqT/xVRdKA5DPumIc3XROtH9bnaGtiTrbHC/R74sSnyevHzfpbDnxCrEbnHllKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhFV854fKzJEUQEbOsX0SCymc4s9eEye5Ml0btcnhjcAiB7lWMWRQGrVs7byE0nBn5qxXMMuOI+gepT832gQNk07Q=="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runes-0.4.2.tgz_1498610864155_0.8767825004179031"},"directories":{}},"0.4.3":{"name":"runes","version":"0.4.3","description":"Unicode-aware JS string splitting","main":"index.js","scripts":{"test":"eslint . && ava test"},"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"keywords":["unicode","emoji","runes","split","split string"],"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotcypress/runes/issues"},"homepage":"https://github.com/dotcypress/runes#readme","engines":{"node":">=4.0.0"},"files":["index.js"],"devDependencies":{"ava":"^0.22.0","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-ava":"^4.0.0","eslint-plugin-import":"^2.6.0","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.4.0","eslint-plugin-standard":"^3.0.1"},"gitHead":"ccceb0f19d9fab0e29ce4830be5286c71f55c5b4","_id":"runes@0.4.3","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"dotcypress","email":"dotcypress@gmail.com"},"dist":{"integrity":"sha512-K6p9y4ZyL9wPzA+PMDloNQPfoDGTiFYDvdlXznyGKgD10BJpcAosvATKrExRKOrNLgD8E7Um7WGW0lxsnOuNLg==","shasum":"32f7738844bc767b65cc68171528e3373c7bb355","tarball":"https://registry.npmjs.org/runes/-/runes-0.4.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDXbeYqLArejkdkfxRZuCkSVEqvPFQ2vZeaeEOYqLouAiEAgQNqPmwdpjvy4in7IOqdOPi0d6Btrxgil522yfxP4lw="}]},"maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/runes-0.4.3.tgz_1506923133563_0.3182796554174274"},"directories":{}}},"readme":"# ✂️ Runes\n[![NPM Version](https://img.shields.io/npm/v/runes.svg?style=flat-square)](https://www.npmjs.com/package/runes)\n[![Build Status](https://img.shields.io/travis/dotcypress/runes.svg?branch=master&style=flat-square)](https://travis-ci.org/dotcypress/runes)\n\n> Unicode-aware JS string splitting with full Emoji support.\n\nSplit a string into its constituent characters, without munging emoji and other non-BMP code points.\n\n## Why?\n\nThe native `String#split` implementation does not pay attention to [surrogate pairs](http://en.wikipedia.org/wiki/UTF-16). When the code units of a surrogate pair are split apart, they are not intelligible on their own. Unless they are put back together in the correct order, individual code units will cause problems in code that handles strings.\n\n## Installation\n\n```js\n$ npm install runes\n```\n\n## Example\n  \n```js\nconst runes = require('runes')\n\n// Standard String.split\n'♥️'.split('') => ['♥', '️']\n'Emoji 🤖'.split('') => ['E', 'm', 'o', 'j', 'i', ' ', '�', '�']\n'👩‍👩‍👧‍👦'.split('') => ['�', '�', '‍', '�', '�', '‍', '�', '�', '‍', '�', '�']\n\n// ES6 string iterator\n[...'♥️'] => [ '♥', '️' ]\n[...'Emoji 🤖'] => [ 'E', 'm', 'o', 'j', 'i', ' ', '🤖' ]\n[...'👩‍👩‍👧‍👦'] => [ '👩', '', '👩', '', '👧', '', '👦' ]\n\n// Runes\nrunes('♥️') => ['♥️']\nrunes('Emoji 🤖') => ['E', 'm', 'o', 'j', 'i', ' ', '🤖']\nrunes('👩‍👩‍👧‍👦') => ['👩‍👩‍👧‍👦']\n\n```\n\n## Substring example\n\n```js\nconst runes = require('runes')\n\n// String.substring\n'👨‍👨‍👧‍👧a'.substring(1) => '�‍👨‍👧‍👧a'\n\n// Runes\nrunes.substr('👨‍👨‍👧‍👧a', 1) => 'a'\n\n```\n","maintainers":[{"name":"dotcypress","email":"dotcypress@gmail.com"}],"time":{"modified":"2022-06-26T14:49:54.871Z","created":"2016-08-19T16:47:16.857Z","0.0.0":"2016-08-19T16:47:16.857Z","0.1.0":"2016-08-19T18:05:54.157Z","0.2.0":"2016-08-26T20:41:17.714Z","0.3.0":"2016-08-26T20:56:15.236Z","0.4.0":"2016-12-12T02:39:12.963Z","0.4.1":"2017-06-26T18:21:27.720Z","0.4.2":"2017-06-28T00:47:44.286Z","0.4.3":"2017-10-02T05:45:34.508Z"},"license":"MIT","readmeFilename":"readme.md","description":"Unicode-aware JS string splitting","homepage":"https://github.com/dotcypress/runes#readme","keywords":["unicode","emoji","runes","split","split string"],"repository":{"type":"git","url":"git+ssh://git@github.com/dotcypress/runes.git"},"author":{"name":"Vitaly Domnikov","email":"dotcypress@gmail.com"},"bugs":{"url":"https://github.com/dotcypress/runes/issues"},"users":{"dotcypress":true,"bluelovers":true}}