{"_id":"@artur_mkrtchyannnn/metaphone","_rev":"1-198dd7c831a1a869361857eb31925561","name":"@artur_mkrtchyannnn/metaphone","dist-tags":{"latest":"2.0.1"},"versions":{"2.0.1":{"name":"@artur_mkrtchyannnn/metaphone","version":"2.0.1","description":"Metaphone implementation","license":"MIT","keywords":["natural","language","phonetics","lawrence","philips","metaphone","cli","bin"],"homepage":"https://words.github.io/metaphone/","repository":{"type":"git","url":"git+https://github.com/words/metaphone.git"},"bugs":{"url":"https://github.com/words/metaphone/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"sideEffects":false,"type":"module","types":"index.d.ts","main":"index.js","bin":{"metaphone":"cli.js"},"devDependencies":{"@types/node":"^14.0.0","@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"complexity":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"98d289912f6a504dbfa892b0eb934961fd91326a","_id":"@artur_mkrtchyannnn/metaphone@2.0.1","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-e1jIeh3UdYECAV03TdN/fHA+uZa2gcZZp1H9KzehevsVX/FxlVRPrI2RONQVswK13Q1k9aN4S6PgQq0tGb5TWg==","shasum":"e1c9e8ba454e98703b7da12b8e3b0d84f272e8a9","tarball":"https://registry.npmjs.org/@artur_mkrtchyannnn/metaphone/-/metaphone-2.0.1.tgz","fileCount":6,"unpackedSize":15395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2KWzCRA9TVsSAnZWagAAvKAP/iDPSfHBXCtv/0Hj96ge\nk5GNlUXXgoHd5XioE8/T0wB8SVAvBDqCLPrlUJJ+t1xB+Zb0vIlAt3Db/rvF\nZIXiK1Q9UNnFoQ1sfFeDJoR7BGnG0mO1i39L6+WafM/8k6Pr17z4Ilpvvhmw\nw0/4K+efdWdPn63CocAsn+vKDG1qYFPX+fH7obSENC4onWDkhJcM+s8Zv0+H\nt/fXLCZfjUQAhy3WSQRybVrS5GxZG3s+PTyQICKuJzTqA+nUsQLud5BKBZKO\n0cJqVYI1CiRCo4nKP1t2Dh8s87ER4HzCpx6gp5KP45Ew5CRu64PCOfBNlHwY\ndD+er59U43aJNdajcBxKIrYGRD3nElySkqFbqiwRb7K6ReTXT+vC3KyG/oB9\nTcZnxLXosISlsf7LLeE48iDDn+sgMZgpEga+k3xpmxqP5wi0euli01VhPY/D\nrWrBuPumIkcSNLoN7weXZdJ6Ge2y7bGNQ2Y8SSD08DFqrf+i2bZwAnFo68pZ\nD14fa/Yx5n79ANSElKE0T/VyJlm7u+zjdfHqHfkIQdOdNA3crS4fYGU8/XSP\nm+QSpf9AGU/gZWNMCYdkFJAwjxsACwYKMvoxM5ROCtwJswQmdPD73aL68Ty7\nIPhRlHFJopHT3pqiT5HTwqrcELRg+6eCIdGBXwWi5pVnkheofnYQ4kSw+sES\n+NQr\r\n=SoXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHE2yb756YgnFI4ixzEvzxjPcWwSC6Q4TID6XfjwNOHAiEAqUbRUOzESl5EujiHuz6u8K4JWjU3lGHH1Wm/Il7RwyI="}]},"_npmUser":{"name":"artur_mkrtchyan","email":"arturmkrtchyan181@gmail.com"},"directories":{},"maintainers":[{"name":"artur_mkrtchyan","email":"arturmkrtchyan181@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metaphone_2.0.1_1624810931187_0.9579152606177033"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-27T16:22:10.759Z","2.0.1":"2021-06-27T16:22:11.348Z","modified":"2022-04-04T15:40:35.979Z"},"maintainers":[{"name":"artur_mkrtchyan","email":"arturmkrtchyan181@gmail.com"}],"description":"Metaphone implementation","homepage":"https://words.github.io/metaphone/","keywords":["natural","language","phonetics","lawrence","philips","metaphone","cli","bin"],"repository":{"type":"git","url":"git+https://github.com/words/metaphone.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"bugs":{"url":"https://github.com/words/metaphone/issues"},"license":"MIT","readme":"# metaphone\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\n[Metaphone algorithm][source].\n\n## Install\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c):\nNode 12+ is needed to use it and it must be `import`ed instead of `require`d.\n\n[npm][]:\n\n```sh\nnpm install metaphone\n```\n\n## API\n\nThis package exports the following identifiers: `metaphone`.\nThere is no default export.\n\n```js\nimport {metaphone} from 'metaphone'\n\nmetaphone('michael') // => 'MXL'\nmetaphone('crevalle') // => 'KRFL'\nmetaphone('Filipowitz') // => 'FLPWTS'\nmetaphone('Xavier') // => 'SFR'\nmetaphone('delicious') // => 'TLSS'\nmetaphone('acceptingness') // => 'AKSPTNKNS'\nmetaphone('allegrettos') // => 'ALKRTS'\n```\n\nWith [stemmer][]:\n\n```js\nvar metaphone = require('metaphone')\nvar stemmer = require('stemmer')\n\nmetaphone(stemmer('acceptingness')) // => 'AKSPTNK'\nmetaphone(stemmer('allegrettos')) // => 'ALKRT'\n```\n\n## CLI\n\n```txt\nUsage: metaphone [options] <words...>\n\nMetaphone implementation\n\nOptions:\n\n  -h, --help           output usage information\n  -v, --version        output version number\n\nUsage:\n\n# output phonetics\n$ metaphone considerations detestable\n# KNSTRXNS TTSTBL\n\n# output phonetics from stdin\n$ echo 'hiccups vileness' | metaphone\n# HKKPS FLNS\n\n# with stemmer\n$ echo 'vileness' | stemmer | metaphone\n# FL\n```\n\n## Related\n\n*   [`double-metaphone`](https://github.com/words/double-metaphone)\n    — Double Metaphone implementation\n*   [`soundex-code`](https://github.com/words/soundex-code)\n    — Fast Soundex implementation\n*   [`stemmer`](https://github.com/words/stemmer)\n    — Porter Stemmer algorithm\n*   [`dice-coefficient`](https://github.com/words/dice-coefficient)\n    — Sørensen–Dice coefficient\n*   [`levenshtein-edit-distance`](https://github.com/words/levenshtein-edit-distance)\n    — Levenshtein edit distance\n*   [`syllable`](https://github.com/words/syllable)\n    — Syllable count in an English word\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/words/metaphone/workflows/main/badge.svg\n\n[build]: https://github.com/words/metaphone/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/words/metaphone.svg\n\n[coverage]: https://codecov.io/github/words/metaphone\n\n[downloads-badge]: https://img.shields.io/npm/dm/metaphone.svg\n\n[downloads]: https://www.npmjs.com/package/metaphone\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/metaphone.svg\n\n[size]: https://bundlephobia.com/result?p=metaphone\n\n[npm]: https://www.npmjs.com\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[source]: https://en.wikipedia.org/wiki/metaphone\n\n[stemmer]: https://github.com/words/stemmer\n","readmeFilename":"readme.md"}