{"name":"remove-accents","version":"0.5.0","description":"Converting the accented characters to their corresponding non-accented ASCII characters.","main":"index.js","dependencies":{},"devDependencies":{"jest":"^29.6.2"},"scripts":{"test":"jest -c=jest.config.js"},"repository":{"type":"git","url":"git+https://github.com/tyxla/remove-accents.git"},"keywords":["accent","accents","remove","diacritic","clean","formatting","umlaut","grave","circumflex","tilde","acute"],"author":{"name":"Marin Atanasov","email":"contact@marinatanasov.com","url":"http://marinatanasov.com"},"contributors":[{"name":"tyxla"},{"name":"andreialecu"},{"name":"Soreine"},{"name":"CodeMan99"},{"name":"gollenia"},{"name":"glebtv"},{"name":"jsnajdr"},{"name":"Alorel"},{"name":"michaelkirk"},{"name":"huy-vuong"}],"bugs":{"url":"https://github.com/tyxla/remove-accents/issues"},"homepage":"https://github.com/tyxla/remove-accents","license":"MIT","typings":"./index.d.ts","gitHead":"181808eb89732155a3a3352b3643e523ab565594","_id":"remove-accents@0.5.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==","shasum":"77991f37ba212afba162e375b627631315bed687","tarball":"http://registry-npm.ywwl.com/remove-accents/download/remove-accents-0.5.0.tgz","fileCount":8,"unpackedSize":13380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHf0l5GV7TBb2q6V+36p2lPpM7fyPwF0JWw8xnRMv+dkAiBlB1J2Ol/9kqgS1z8Sz261ojqo1KGdeRWyF3SifBt5gQ=="}],"size":5802,"noattachment":false,"key":"/remove-accents/-/remove-accents-0.5.0.tgz"},"_npmUser":{"name":"tyxla","email":"tyxla@abv.bg"},"directories":{},"maintainers":[{"name":"tyxla","email":"tyxla@abv.bg"},{"name":"jsnajdr","email":"jsnajdr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remove-accents_0.5.0_1691491488243_0.5166022278399831"},"_hasShrinkwrap":false,"readme":"# remove-accents\n\nRemoves the accents from a string, converting them to their corresponding non-accented ASCII characters.\n\n```\nnpm install remove-accents\n```\n\n[![Unit tests](https://github.com/tyxla/remove-accents/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/tyxla/remove-accents/actions/workflows/unit-tests.yml)\n\n## About\n\nAn easy to use solution for converting all accented characters to their corresponding non-accented ASCII characters.\n\n## Syntax\n\n``` js\nimport removeAccents from 'remove-accents';\n\nremoveAccents(inputString)\n```\n\nAlternatively, you could use the CommonJS syntax to import it:\n\n``` js\nconst removeAccents = require('remove-accents');\n```\n\n#### inputString\n\nThe string that you wish to remove accents from.\n\n## Usage\n\nCall `removeAccents()` by passing the string you wish to remove accents from, and you will get the non-accented string as result.\n\n``` js\nconst input = 'ÀÁÂÃÄÅ';\nconst output = removeAccents(input);\n\nconsole.log(output); // AAAAAA\n```\n\n## Methods\n\nThe exported function also has helper methods.\n\n#### has\n\nDetermine if a string has any accented characters.\n\n``` js\nimport removeAccents from 'remove-accents';\n\nconsole.log(removeAccents.has('ÀÁÂÃÄÅ')); // true\nconsole.log(removeAccents.has('ABC'));    // false\n```\n\n#### remove\n\nAlias of `removeAccents`.\n\n``` js\nimport removeAccents from 'remove-accents';\n\nconsole.log(removeAccents.remove('ÀÁÂÃÄÅ')); // AAAAAA\n```\n\n## License\n\nMIT\n","publish_time":1691491488385,"_cnpm_publish_time":1691491488385,"dist-tags":{"latest":"0.5.0"}}