{"name":"remove-accents","version":"0.2.0","description":"Converting the accented characters to their corresponding non-accented ASCII characters.","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/tyxla/remove-accents"},"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"}],"bugs":{"url":"https://github.com/tyxla/remove-accents/issues"},"homepage":"https://github.com/tyxla/remove-accents","license":"MIT","gitHead":"baab5757424d6d61f14250c85c7d02d568744b26","_id":"remove-accents@0.2.0","_shasum":"f32073db50cf2953678395c5058aee4f9fba2d52","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"tyxla","email":"tyxla@abv.bg"},"dist":{"shasum":"f32073db50cf2953678395c5058aee4f9fba2d52","tarball":"http://registry-npm.ywwl.com/remove-accents/download/remove-accents-0.2.0.tgz","integrity":"sha512-iawpOazJAfiQ2Yoq0EjmMeAnSDzT4r0kTitEH54+W2vyiPrUJXCime3aChto7F8PCQOYNzE2UoNIqx3Z03mTaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRIziDTiS7CnVQxEhQJ5XiNFN7LGiq25Apvu1tFQdL5gIgQBoWuxupssAs9K0UAq+lgjjX1vN01AqmQnhqGbzyLjc="}],"size":3556,"noattachment":false,"key":"/remove-accents/-/remove-accents-0.2.0.tgz"},"maintainers":[{"name":"tyxla","email":"tyxla@abv.bg"}],"directories":{},"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":1453756138906,"_cnpm_publish_time":1453756138906,"dist-tags":{"latest":"0.5.0"}}