{"_id":"@sindresorhus/transliterate","_rev":"4081166","name":"@sindresorhus/transliterate","description":"Convert Unicode characters to Latin characters using transliteration","dist-tags":{"latest":"2.2.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2025-10-28T01:30:29.000Z","created":"2020-02-17T13:14:23.076Z","2.2.0":"2025-10-17T07:08:13.501Z","2.1.0":"2025-10-13T11:59:56.107Z","2.0.0":"2025-09-11T09:25:39.929Z","1.6.0":"2022-12-09T12:26:11.339Z","1.5.0":"2021-10-19T16:15:51.042Z","1.4.0":"2021-08-23T11:46:50.259Z","1.3.0":"2021-07-06T09:20:04.678Z","1.2.1":"2021-06-02T10:26:43.219Z","1.2.0":"2021-05-05T15:53:40.282Z","1.1.0":"2021-05-04T12:54:08.581Z","1.0.0":"2021-04-18T05:41:47.690Z","0.1.2":"2021-03-31T06:59:41.312Z","0.1.1":"2020-06-06T09:55:49.567Z","0.1.0":"2020-02-17T13:14:23.076Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"versions":{"2.2.0":{"name":"@sindresorhus/transliterate","version":"2.2.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.2"},"gitHead":"f4a527f5e8fa6dc7c2142c3125b594cfa3f0d0c2","types":"./index.d.ts","_id":"@sindresorhus/transliterate@2.2.0","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_nodeVersion":"24.9.0","_npmVersion":"11.6.1","dist":{"shasum":"7910574811f89e05f6b6a7ce2418d39ca9d0a793","size":12933,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-2.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/transliterate_2.2.0_1760684893305_0.7614063845419179"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-17T07:08:13.501Z","publish_time":1760684893501,"_source_registry_name":"default","_cnpm_publish_time":1760684893501},"2.1.0":{"name":"@sindresorhus/transliterate","version":"2.1.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.2"},"gitHead":"de2b8d32c19874d84239ce72e0bc66ac3a1d90f0","types":"./index.d.ts","_id":"@sindresorhus/transliterate@2.1.0","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_nodeVersion":"20.19.5","_npmVersion":"11.6.1","dist":{"shasum":"83c069d012561b5cd7f2edca16bc31601eca3f5e","size":12821,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-2.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/transliterate_2.1.0_1760356795916_0.16587986197032678"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-13T11:59:56.107Z","publish_time":1760356796107,"_source_registry_name":"default","_cnpm_publish_time":1760356796107},"2.0.0":{"name":"@sindresorhus/transliterate","version":"2.0.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.2"},"_id":"@sindresorhus/transliterate@2.0.0","gitHead":"9803e093b5f1cc807c351fc92c7df56bf19633a5","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"e22e9a2eb6e426b19cddb3993d2d78e0893e44bc","size":12670,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-2.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/transliterate_2.0.0_1757582739717_0.13268681021694073"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-11T09:25:39.929Z","publish_time":1757582739929,"_source_registry_name":"default","_cnpm_publish_time":1757582739929},"1.6.0":{"name":"@sindresorhus/transliterate","version":"1.6.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"7c5dfc16b13bb6ce1ba616d5404dd5ec24d6255c","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.6.0","_nodeVersion":"12.22.1","_npmVersion":"8.19.2","dist":{"shasum":"2309fff65a868047e6d2dd70dec747c5b36a8327","size":11161,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.6.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.6.0_1670588770999_0.14379426028518694"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-09T12:48:06.074Z","publish_time":1670588771339,"_cnpm_publish_time":1670588771339},"1.5.0":{"name":"@sindresorhus/transliterate","version":"1.5.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"9f1c7e6db457dba7262e93dd78957fa3ee1b2b6e","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.5.0","_nodeVersion":"16.10.0","_npmVersion":"7.20.3","dist":{"shasum":"841109db51fe3158787c42a91c45c3ffea7589be","size":11159,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.5.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.5.0_1634660150839_0.43340688589195464"},"_hasShrinkwrap":false,"publish_time":1634660151042,"_cnpm_publish_time":1634660151042},"1.4.0":{"name":"@sindresorhus/transliterate","version":"1.4.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"93948353298c1c9c8b97d9e6e66627caedbbbe09","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.4.0","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"4648facf68e665147281dce4207a89374a3725b7","size":11111,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.4.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.4.0_1629719210076_0.8196878965370293"},"_hasShrinkwrap":false,"publish_time":1629719210259,"_cnpm_publish_time":1629719210259},"1.3.0":{"name":"@sindresorhus/transliterate","version":"1.3.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"305fafa304d89573ae88bb85ecb4d27a84776f1e","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.3.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"b902f1c3b268275b7830ed6aadc788817a186779","size":10155,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.3.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.3.0_1625563204466_0.43324853259851137"},"_hasShrinkwrap":false,"publish_time":1625563204678,"_cnpm_publish_time":1625563204678},"1.2.1":{"name":"@sindresorhus/transliterate","version":"1.2.1","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"3ebe1c253228783e9b3edce22234ab197b004c85","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.2.1","_nodeVersion":"16.2.0","_npmVersion":"7.10.0","dist":{"shasum":"caeb2c9399180d83b3c6c0e02377eff88da7cde4","size":5928,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.2.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.2.1_1622629603088_0.4493356363419887"},"_hasShrinkwrap":false,"publish_time":1622629603219,"_cnpm_publish_time":1622629603219},"1.2.0":{"name":"@sindresorhus/transliterate","version":"1.2.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"6c19a87d903c6ab06d098e6ece7476cfb5933d22","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.2.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"6ac0975dbd2afb8117450f68e1a5a3a7469927a5","size":5924,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.2.0_1620230020165_0.9042303085187313"},"_hasShrinkwrap":false,"publish_time":1620230020282,"_cnpm_publish_time":1620230020282},"1.1.0":{"name":"@sindresorhus/transliterate","version":"1.1.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"608f656a32f6a66a6f3f59017e66ca3802ec22c7","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.1.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"8ba10378e5fd4db7de3d740fec33e7af80ec0bf3","size":5902,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.1.0_1620132848392_0.2571476717006398"},"_hasShrinkwrap":false,"publish_time":1620132848581,"_cnpm_publish_time":1620132848581},"1.0.0":{"name":"@sindresorhus/transliterate","version":"1.0.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^5.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"1882ab657bc3c465c9859de2c5a779f7bc378c28","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@1.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7efc60bd347c16f416582eb7d18fee3bbaa3379b","size":5918,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-1.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_1.0.0_1618724507558_0.531565233034057"},"_hasShrinkwrap":false,"publish_time":1618724507690,"_cnpm_publish_time":1618724507690},"0.1.2":{"name":"@sindresorhus/transliterate","version":"0.1.2","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^2.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.26.1"},"gitHead":"7ee093ff5e4745d88e177e862996e5b06c716f48","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@0.1.2","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ffce368271d153550e87de81486004f2637425af","size":5948,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-0.1.2.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_0.1.2_1617173981175_0.4880086585421253"},"_hasShrinkwrap":false,"publish_time":1617173981312,"_cnpm_publish_time":1617173981312},"0.1.1":{"name":"@sindresorhus/transliterate","version":"0.1.1","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^2.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.26.1"},"gitHead":"53c70c0030969859f4896c36b27bedf88f1d7709","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@0.1.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"779b31244781d3c898f185b61d58c89e7c782674","size":5805,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-0.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_0.1.1_1591437349403_0.9419956646630694"},"_hasShrinkwrap":false,"publish_time":1591437349567,"_cnpm_publish_time":1591437349567},"0.1.0":{"name":"@sindresorhus/transliterate","version":"0.1.0","description":"Convert Unicode characters to Latin characters using transliteration","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/transliterate.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["transliterate","transliteration","string","deburr","unicode","ascii","text","latin","latinize","convert","replace"],"dependencies":{"escape-string-regexp":"^2.0.0","lodash.deburr":"^4.1.0"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.26.1"},"gitHead":"53b45eea44a67ec919a5362fcc890ceddfef5c86","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"homepage":"https://github.com/sindresorhus/transliterate#readme","_id":"@sindresorhus/transliterate@0.1.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c063bfc4102783fb19c91c2f8c1efb3adfb754be","size":5768,"noattachment":false,"key":"/@sindresorhus/transliterate/-/@sindresorhus/transliterate-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sindresorhus/transliterate/download/@sindresorhus/transliterate-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transliterate_0.1.0_1581945262892_0.31790418635014417"},"_hasShrinkwrap":false,"publish_time":1581945263076,"_cnpm_publish_time":1581945263076}},"readme":"# transliterate\n\n> Convert Unicode characters to Latin characters using [transliteration](https://en.wikipedia.org/wiki/Transliteration)\n\nCan be useful for [slugification](https://github.com/sindresorhus/slugify) purposes and other times you cannot use Unicode.\n\n## Install\n\n```sh\nnpm install @sindresorhus/transliterate\n```\n\n## Usage\n\n```js\nimport transliterate from '@sindresorhus/transliterate';\n\ntransliterate('Fußgängerübergänge');\n//=> 'Fussgaengeruebergaenge'\n\ntransliterate('Я люблю единорогов');\n//=> 'Ya lyublyu edinorogov'\n\ntransliterate('أنا أحب حيدات');\n//=> 'ana ahb hydat'\n\ntransliterate('tôi yêu những chú kỳ lân');\n//=> 'toi yeu nhung chu ky lan'\n\ntransliterate('En–dashes and em—dashes are normalized');\n//=> 'En-dashes and em-dashes are normalized'\n```\n\n## API\n\n### transliterate(string, options?)\n\n#### string\n\nType: `string`\n\nString to transliterate.\n\n#### options\n\nType: `object`\n\n##### customReplacements\n\nType: `Array<string[]> | Map<string, string>`\\\nDefault: `[]`\n\nAdd your own custom replacements.\n\nThe replacements are run on the original string before any other transformations.\n\nThis only overrides a default replacement if you set an item with the same key.\n\n```js\nimport transliterate from '@sindresorhus/transliterate';\n\ntransliterate('Я люблю единорогов', {\n\tcustomReplacements: [\n\t\t['единорогов', '????']\n\t]\n})\n//=> 'Ya lyublyu ????'\n```\n\nYou can also pass a `Map`:\n\n```js\ntransliterate('foo & bar', {\n\tcustomReplacements: new Map([\n\t\t['&', 'and']\n\t])\n})\n//=> 'foo and bar'\n```\n\n##### locale\n\nType: `string`\n\n[BCP-47](https://developer.mozilla.org/en-US/docs/Glossary/BCP_47_language_tag) language tag for language-specific transliteration.\n\nWhen specified, uses language-specific replacement rules for characters that have different transliterations in different languages.\n\n```js\nimport transliterate from '@sindresorhus/transliterate';\n\n// Swedish: ä→a, ö→o, å→a\ntransliterate('Räksmörgås', {locale: 'sv'});\n//=> 'Raksmorgas'\n\n// German: ä→ae, ö→oe\ntransliterate('Räksmörgås', {locale: 'de'});\n//=> 'Raeksmoergas'\n```\n\n### Supported locales\n\nThe following locales have specific replacement rules when using the `locale` option:\n\n- `da` - Danish\n- `de` - German\n- `hu` - Hungarian\n- `nb` - Norwegian Bokmål\n- `sr` - Serbian\n- `sv` - Swedish\n- `tr` - Turkish\n\n## Supported languages\n\nMost major languages are supported.\n\nThis includes special handling for:\n\n- Arabic\n- Armenian\n- Czech\n- Danish\n- Dhivehi\n- Georgian\n- German (umlauts)\n- Greek\n- Hungarian\n- Latin\n- Latvian\n- Lithuanian\n- Macedonian\n- Pashto\n- Persian\n- Polish\n- Romanian\n- Russian\n- Serbian\n- Slovak\n- Swedish\n- Turkish\n- Ukrainian\n- Urdu\n- Vietnamese\n\nHowever, Chinese is [currently not supported](https://github.com/sindresorhus/transliterate/issues/1).\n\n## Related\n\n- [slugify](https://github.com/sindresorhus/slugify) - Slugify a string\n","_attachments":{},"homepage":"https://github.com/sindresorhus/transliterate#readme","bugs":{"url":"https://github.com/sindresorhus/transliterate/issues"},"license":"MIT"}