{"_id":"strip-combining-marks","_rev":"6-3fe4ec9e33f4249012b754ca4df98559","name":"strip-combining-marks","description":"Easily remove Unicode combining marks from strings.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"strip-combining-marks","version":"0.1.0","description":"Easily remove Unicode combining marks from strings.","homepage":"http://mths.be/stripcombiningmarks","main":"strip-combining-marks.js","keywords":["combining-marks","string","strip","unicode"],"licenses":[{"type":"MIT","url":"http://mths.be/mit"}],"author":{"name":"Mathias Bynens","url":"http://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/strip-combining-marks.git"},"bugs":{"url":"https://github.com/mathiasbynens/strip-combining-marks/issues"},"files":["LICENSE-MIT.txt","strip-combining-marks.js"],"directories":{"test":"tests"},"scripts":{"test":"node tests/tests.js"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-shell":"~0.5.0","grunt-template":"~0.2.1","istanbul":"~0.1.44","qunit-clib":"~1.3.0","qunitjs":"~1.11.0","regenerate":"~0.5.4","requirejs":"~2.1.9","unicode-6.3.0":"~0.1.1"},"_id":"strip-combining-marks@0.1.0","dist":{"shasum":"5f9e61a8def1b698f341557e5547316ef5971688","tarball":"https://registry.npmjs.org/strip-combining-marks/-/strip-combining-marks-0.1.0.tgz","integrity":"sha512-lK1ko6pXkA7+X6Hq1Npr3Gw3xrOTUnrb4LAO1XPGuY6/PYzIGd1ayoEVbyYarfp8z+mghhbwYvPQB2v7LEgUMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHAr6bJLcsserNgxGWbUvAaXUZIGpyTqE4u4DFKXamyAiEA7/fIVrvL6NWhLW3QcOdHLUc1O9vRYA8T6ISQXO12oOE="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}]},"1.0.0":{"name":"strip-combining-marks","version":"1.0.0","description":"Easily remove Unicode combining marks from strings.","homepage":"https://mths.be/stripcombiningmarks","main":"strip-combining-marks.js","keywords":["combining-marks","string","strip","unicode"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/strip-combining-marks.git"},"bugs":{"url":"https://github.com/mathiasbynens/strip-combining-marks/issues"},"files":["LICENSE-MIT.txt","strip-combining-marks.js"],"scripts":{"test":"node tests/tests.js"},"devDependencies":{"grunt":"^0.4.5","grunt-shell":"^1.1.1","grunt-template":"^0.2.3","istanbul":"^0.3.5","qunit-extras":"^1.4.1","qunitjs":"~1.11.0","regenerate":"^1.2.1","requirejs":"^2.1.15","unicode-9.0.0":"^0.7.0"},"gitHead":"154dcd272c2fa0d66534f091ce430c261b712da2","_id":"strip-combining-marks@1.0.0","_shasum":"8295cafd118337ebbe46ddc5822cdbd9f95bea71","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"8295cafd118337ebbe46ddc5822cdbd9f95bea71","tarball":"https://registry.npmjs.org/strip-combining-marks/-/strip-combining-marks-1.0.0.tgz","integrity":"sha512-8YrtmJKxvDmMIoJMOyvh/s3Oe8TxolM5ThgZPmE39vvkfXVuOHAUyiZ1yOZUxDg/kb1QLRyZ0CfQQqeTISAeTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFpeO6cxnikMYKywDuULbagB+eIEiXbJ6ktDe5ghKLKwIhAMhfE8YV2fUqcCkvlZEk/Udo9dIQV9e6Ez1ZEjCrYZM/"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/strip-combining-marks-1.0.0.tgz_1489587019041_0.5757310565095395"}}},"readme":"# strip-combining-marks [![Build status](https://travis-ci.org/mathiasbynens/strip-combining-marks.svg?branch=master)](https://travis-ci.org/mathiasbynens/strip-combining-marks) [![Dependency status](https://gemnasium.com/mathiasbynens/strip-combining-marks.svg)](https://gemnasium.com/mathiasbynens/strip-combining-marks)\n\n_strip-combining-marks_ removes Unicode combining marks from strings. It leaves unmatched combining marks (i.e. marks that appear at the start of the string, and don’t belong to a symbol) intact.\n\n## Installation\n\nVia [npm](https://www.npmjs.com/):\n\n```bash\nnpm install strip-combining-marks\n```\n\nVia [Bower](http://bower.io/):\n\n```bash\nbower install strip-combining-marks\n```\n\nVia [Component](https://github.com/component/component):\n\n```bash\ncomponent install mathiasbynens/strip-combining-marks\n```\n\nIn a browser:\n\n```html\n<script src=\"strip-combining-marks.js\"></script>\n```\n\nIn [Node.js](https://nodejs.org/), [io.js](https://iojs.org/), [Narwhal](http://narwhaljs.org/), and [RingoJS](http://ringojs.org/):\n\n```js\nvar stripCombiningMarks = require('strip-combining-marks');\n```\n\nIn [Rhino](http://www.mozilla.org/rhino/):\n\n```js\nload('strip-combining-marks.js');\n```\n\nUsing an AMD loader like [RequireJS](http://requirejs.org/):\n\n```js\nrequire(\n  {\n    'paths': {\n      'strip-combining-marks': 'path/to/strip-combining-marks'\n    }\n  },\n  ['strip-combining-marks'],\n  function(stripCombiningMarks) {\n    console.log(stripCombiningMarks);\n  }\n);\n```\n\n## API\n\n### `stripCombiningMarks.version`\n\nA string representing the semantic version number.\n\n### `stripCombiningMarks.reverse(string)`\n\nThis function takes a string and returns the stripped version of that string, where any combining marks that were applied to other symbols have been removed.\n\n#### Usage example\n\n```js\nstripCombiningMarks('Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹̻̝̳͂̌̌͘!͖̬̰̙̗̿̋ͥͥ̂ͣ̐́́͜͞');\n'ZALGO!'\n```\n\n## Support\n\nstrip-combining-marks has been tested in Chrome 27, Firefox 3, Safari 4, Opera 10, IE 6, Node.js v0.10.0, io.js v1.0.0, Narwhal 0.3.2, RingoJS 0.8, PhantomJS 1.9.1, and Rhino 1.7RC4.\n\n## Unit tests & code coverage\n\nAfter cloning this repository, run `npm install` to install the dependencies needed for strip-combining-marks development and testing. You may want to install Istanbul _globally_ using `npm install istanbul -g`.\n\nOnce that’s done, you can run the unit tests in Node using `npm test` or `node tests/tests.js`. To run the tests in Rhino, Ringo, Narwhal, and web browsers as well, use `grunt test`.\n\nTo generate the code coverage report, use `grunt cover`.\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\nstrip-combining-marks is available under the [MIT](https://mths.be/mit) license.\n","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"time":{"modified":"2022-06-27T01:12:05.148Z","created":"2013-10-22T10:25:55.570Z","0.1.0":"2013-10-22T10:25:58.152Z","1.0.0":"2017-03-15T14:10:20.994Z"},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/strip-combining-marks.git"},"homepage":"https://mths.be/stripcombiningmarks","keywords":["combining-marks","string","strip","unicode"],"bugs":{"url":"https://github.com/mathiasbynens/strip-combining-marks/issues"},"license":"MIT","readmeFilename":"README.md"}