{"_id":"doublemetaphone","_rev":"21-da00de49547a51cccc16731c4202ea01","name":"doublemetaphone","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"doublemetaphone","version":"0.0.1","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"git://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Goebl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"_id":"doublemetaphone@0.0.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"8ccbc2ea39270504720c088d624b1c93665ad7ca","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.0.1.tgz","integrity":"sha512-36kYOZ4+zEX2SgNpWcPY3sV+ud4b0Tp2/TGDKC1tIPw3/4Dm7lWmEM55B9tpKuO6eSJ10iXEaP6kABns/PIQDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAcWCSomMabysURgq1iGfm7WOiHTiR4V/SeDhHqcCg1AiBXH8DR3ODjswlNrmKkvAdZIHyBw5AaSLkA7++UR0aKqQ=="}]},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}],"directories":{}},"0.0.2":{"name":"doublemetaphone","version":"0.0.2","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"git://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Goebl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"_id":"doublemetaphone@0.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"557539830e703ade84b1eed05f3dbee271c5e1c6","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.0.2.tgz","integrity":"sha512-rAVFY4+PhVt1tYoo79b+Ej+FXVLG9EureZ1mFZZ18LIl2negRH5LZ+Ak/dmeJYm8CfY1rdlppn1JCFL/gk2kdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuPR3aKEtZ69HX5eNZ7reMs9ugpGhsWzuXi0RhNhtXdgIgB8HFDCSGyHnheE2+WyeNR/BrsCMPEWl0EwEAP6bWDzU="}]},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}]},"0.0.3":{"name":"doublemetaphone","version":"0.0.3","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"git://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Goebl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"licenses":[{"type":"Apache 2.0","url":"http://github.com/hgoebl/doublemetaphone/raw/master/LICENSE"}],"scripts":{"test":"node test/test-doublemetaphone.js"},"_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"_id":"doublemetaphone@0.0.3","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"06e11db506d51c7f07a93d5679ac0d443ef88fbb","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.0.3.tgz","integrity":"sha512-YYD+LKC4JMOdEis9PxtyGo6OfkNFn9zY8vmTK+xnAy0lnvOHCPQ5dSEWE68i23nL+16Jwgp/3MVgB2XcgK5Lmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1oBLEFdr0hDrLDZ7hDkzWJXjQv3XF6OZxVqiPePbwTAiEAhqolBfLoEcM/VQzHVfWPGHcPZVt+5gEickkqoro9okI="}]},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}]},"0.1.0":{"name":"doublemetaphone","version":"0.1.0","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"git://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Göbl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"licenses":[{"type":"Apache 2.0","url":"http://github.com/hgoebl/doublemetaphone/raw/master/LICENSE"}],"scripts":{"test":"node test/test-as-node-module.js"},"_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"_id":"doublemetaphone@0.1.0","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"528139b3fda4cbf182961135e1d69b32adc45afc","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.1.0.tgz","integrity":"sha512-iYZe7uebKlKQ4rr++JoCBqZ790mf3eD8p1Wa9VZjFxlhmfKiILCkOs4p9mr50tPnO9zkrqohky+56WUP9VK61A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0IlpHpRoYl7Ehb5h1qTGyqs1uURIDnW1otGkk/ara5QIhAKQHecaxmTBsNPWPgc3fmitO935ZE4PCkiDBdKLa5qiW"}]},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}]},"0.1.1":{"name":"doublemetaphone","version":"0.1.1","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"https://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Göbl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"licenses":[{"type":"Apache 2.0","url":"http://github.com/hgoebl/doublemetaphone/raw/master/LICENSE"}],"scripts":{"test":"node test/test-as-node-module.js"},"_id":"doublemetaphone@0.1.1","dist":{"shasum":"cc72ffc97a4ba839ebdbd32e6219d6c51997e9af","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.1.1.tgz","integrity":"sha512-lNtTl1+k7QMZcwb39cOn2Ppas/0VgCnR5u6sIHaDPbArPFBYDJZmD1KWZ0JY7Y++mh13DmUCv3oRVudyTKrFDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP4OyJCv+7D5hpPoG14fHSf+k9lrHSVrUe/cHQ5ar4vQIgZPayZ4jHvWhMoNACGnLsoRYjotRZKBzyCdEn2NMJkpQ="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}]},"0.1.2":{"name":"doublemetaphone","version":"0.1.2","main":"doublemetaphone.js","description":"Encode a string into a phonetic code with the Double Metaphone algorithm","keywords":["phonetic","metaphone","codec","sounds","like"],"homepage":"https://github.com/hgoebl/doublemetaphone","repository":{"type":"git","url":"https://github.com/hgoebl/doublemetaphone.git"},"dependencies":{},"engines":{"node":">=0.4.12"},"author":{"name":"Heinrich Göbl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"licenses":[{"type":"Apache 2.0","url":"http://github.com/hgoebl/doublemetaphone/raw/master/LICENSE"}],"scripts":{"test":"node test/test-as-node-module.js"},"_id":"doublemetaphone@0.1.2","dist":{"shasum":"a1750bc8694a64f120233b578832fe6e9809582f","tarball":"https://registry.npmjs.org/doublemetaphone/-/doublemetaphone-0.1.2.tgz","integrity":"sha512-r44Hejj8idfUN+uPAykOrsv7HKvhPXLIrOQ+D+ojbc+6KpNGYzdJIH2n3Hr+AYmHQJLNNN+CW8eVSVeOdASBSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+GY85BFhfrg4eByJo5MXOv8NZCxZCh3zyxRvw87KnkAiB8hmpwaN9s2CQtcHKlainjecFiblmbYkmBsN49YOtzZQ=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hgoebl","email":"hgoebl@goebl.com"},"maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}]}},"readme":"\n# DoubleMetaphone\n      \n  Encode a string into a phonetic one with the Double Metaphone algorithm.\n\n    var DoubleMetaphone = require('doublemetaphone'),\n        encoder = new DoubleMetaphone();\n\n    console.log(encoder.doubleMetaphone('Aleksandr'));\n    console.log(encoder.doubleMetaphone('Alexander'));\n    // { primary: 'ALKS', alternate: 'ALKS' }\n\n    encoder.setMaxCodeLen(7);\n\n    console.log(encoder.doubleMetaphone('Aleksandr'));\n    console.log(encoder.doubleMetaphone('Alexander'));\n    // { primary: 'ALKSNTR', alternate: 'ALKSNTR' }\n\n## Installation\n\n### Node.js\n\n    $ npm install doublemetaphone\n\n### Bower\n\n    $ bower install hgoebl/doublemetaphone --save-dev\n\n## Information\n\n  * compatible with [Apache Jakarta Commons Codec](http://commons.apache.org/codec/) class DoubleMetaphone, Version 1.5 - 1.8\n  * maximum length of codec settable (default=4)\n  * implements the standard (=primary) and alternate encoding\n  * runs in node.js and in the browser\n\n## Running Tests\n\nRunning tests should output nothing.\n\n    $ npm test\n\nTo run tests in a browser, load `test/test-doublemetaphone.html`.\n\nAfter \"RUNNING TEST...\" the text should change to \"TEST SUCCESSFUL\".\n\n## Test Results\n\nFollowing Browsers has been tested:\n\n * Chromium 18.0, 25.0 / Linux\n * Chrome 26.0 / Linux\n * Firefox 11.0, 20.0 / Linux\n * Firefox 5.0.1 and 12.0 / Windows XP\n * Firefox 21.0 / Windows 7\n * Chrome 27.0 / Windows 7\n * Safari 5.1.2 / Windows XP\n * Opera 11.11 / Windows XP\n * Epiphany Webbrowser 2.30.2 / Linux\n * Internet Explorer 8.0.6001 / Windows XP\n * Internet Explorer 9.0 / Windows 7\n\nThese Browser didn't pass the tests (2 differences compared to commons-codec):\n\n * Firefox (all tested versions)\n * Opera\n * Internet Explorer (all tested versions)\n\n**Reason:** The correct upper-case conversion of the German \"ß\" (&szlig;) is \"SS\". IE, Firefox and Opera do not convert\nthis character and thus come to different Double Metaphone encodings.\n\n## Credits\n\nThis Implementation is based on the algorithm by <CITE>Lawrence Philips</CITE>.\n\n  * Original Article: [http://www.cuj.com/documents/s=8038/cuj0006philips/](http://www.cuj.com/documents/s=8038/cuj0006philips/)\n  * Original Source Code: [ftp://ftp.cuj.com/pub/2000/1806/philips.zip](ftp://ftp.cuj.com/pub/2000/1806/philips.zip)\n\nThis JavaScript implementation is an almost 1:1 port from [Apache Jakarta Commons Codec](http://commons.apache.org/codec/)\nclass <tt>DoubleMetaphone</tt>.\n\nThe Java library is licensed under [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) which is the reason\nwhy this has the same license.\n\n## License \n\n   Copyright 2011 Heinrich Goebl\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","maintainers":[{"name":"hgoebl","email":"hgoebl@goebl.com"}],"time":{"modified":"2022-06-15T22:49:42.809Z","created":"2011-11-06T19:20:26.510Z","0.0.1":"2011-11-06T19:20:28.444Z","0.0.2":"2011-11-18T21:44:45.056Z","0.0.3":"2012-02-10T07:46:57.708Z","0.1.0":"2012-06-02T22:33:08.216Z","0.1.1":"2013-06-16T19:01:34.315Z","0.1.2":"2013-06-24T18:38:58.279Z"},"author":{"name":"Heinrich Göbl","email":"hgoebl@goebl.com","url":"http://www.goebl.com/"},"repository":{"type":"git","url":"https://github.com/hgoebl/doublemetaphone.git"},"users":{"kastor":true,"jackchi":true},"homepage":"https://github.com/hgoebl/doublemetaphone","keywords":["phonetic","metaphone","codec","sounds","like"],"readmeFilename":"Readme.md"}