{"_id":"@braweria/full-name-parser","_rev":"2-7c1cfe00895eb9b527bbcf6f93aea994","name":"@braweria/full-name-parser","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.2":{"name":"@braweria/full-name-parser","version":"1.0.2","description":"Parse names into categories.","author":{"name":"Wiktoria Mielcarek","email":"w.mielcarek@braweria.de","url":"http://github.com/braweria/"},"main":"index.js","type":"module","private":false,"publishConfig":{"@braweria:registry":"https://npm.pkg.github.com"},"scripts":{"test":"jest","start":"ts-node-dev --respawn lib/full-name-parser.ts","tsc":"tsc"},"keywords":["parse","name","parser","name-parser","full-name-parser","parse-name","parse-full-name"],"bugs":{"url":"https://github.com/Braweria/parse-name/issues"},"license":"MIT","dependencies":{},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@babel/preset-typescript":"^7.15.0","@types/jest":"^27.0.2","babel-jest":"^27.2.4","eslint":"^7.32.0","eslint-config-galex":"^2.16.13","jest":"^27.3.1","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"licenseText":"MIT License\n\nCopyright (c) 2021 Wiktoria Mielcarek\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@braweria/full-name-parser@1.0.2","dist":{"shasum":"0f050a888dd5f7d712998a764098fff1e8af4431","integrity":"sha512-BejJ0ml/m3KboYa7Q+I0tUsrXzB45BuYudREfQ0W79pCNrgzlonJ3V92Ioq021iCpUMnx6mi6CTS09lni13CDg==","tarball":"https://registry.npmjs.org/@braweria/full-name-parser/-/full-name-parser-1.0.2.tgz","fileCount":20,"unpackedSize":19442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmjalCRA9TVsSAnZWagAADh4QAKG4NHn19AgzGYfLClFf\n8CqaHenYPtZ3US1M5rM3R7CcbSI8J5h5WPXqKKEQFhly+KLR93pY/2J2msld\nyzVwetWzJDVTG0bVX41nwce0thYoH0y/gmWs/YG3xlbfSNCSWEjk0vD0KVIK\nK3fhGwA2lDZn65TaLFMO8RaSf2q2grRfFTpdasZbB/3dW8UVWruA3+jJ1neM\nbWVyqqQ1f+K6Y2C+FZUbp31IU2gvRi7MGhhsODZy3qVEt/gebyJS+KMWRPfj\npU1E7VzVH1egcNJSfAkYiMDK1RkOJvn3svRyrjs9WaXOsHLQlxdgejhnjAZc\nU1bsROXQLq1YkbifcnBhp59Gc3oryMupNSu6uPFkQrxrG43B+l3rjSnFTVJ9\n6TVtiQPsIE6EcP2VKdWCc4I/2WoGe/uJ5F+lBXC2jWKlTwzqIJHTbkn4CDID\nGtNN0BVaiZc8LFLokphyZRlkE5uHaY20F+pMofgTU73DXmwNyqYeb0XAk6xq\nAPMjND4SmlJipDP6PicIzmrEtN5yMMhVje0Lui+FZrHVkts4DCeUHQNtrYZK\nauP/X1xpCl4oOf+G73Ybf6j5CddKpM5+AOs3UZmSFzh9dC4mKJZUeNbJNz7L\nKfGQ8SeczN23FG/PM52A+cG/qYO15RoZvuaydEaZDhzn9QK1f48OkUEJ3m3E\nOCpx\r\n=PhOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP1MGSEAN8nbaKNPNrvHkrtjcSFZVXCsY5/OaImmyf+gIhAJCkJ+u75Ssqih9vvoNZgVETQoq4bkmfkGkzoFBpe9kG"}]},"_npmUser":{"name":"braweria","email":"w.mielcarek@braweria.de"},"directories":{},"maintainers":[{"name":"braweria","email":"w.mielcarek@braweria.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/full-name-parser_1.0.2_1637496485659_0.7638577119194117"},"_hasShrinkwrap":false},"1.0.3":{"name":"@braweria/full-name-parser","version":"1.0.3","description":"Parse names into categories.","author":{"name":"Wiktoria Mielcarek","email":"w.mielcarek@braweria.de","url":"http://github.com/braweria/"},"main":"index.js","type":"module","private":false,"publishConfig":{"@braweria:registry":"https://npm.pkg.github.com"},"scripts":{"test":"jest","start":"ts-node-dev --respawn lib/full-name-parser.ts","tsc":"tsc"},"keywords":["parse","name","parser","name-parser","full-name-parser","parse-name","parse-full-name"],"bugs":{"url":"https://github.com/Braweria/parse-name/issues"},"license":"MIT","dependencies":{},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","@babel/preset-typescript":"^7.15.0","@types/jest":"^27.0.2","babel-jest":"^27.2.4","eslint":"^7.32.0","eslint-config-galex":"^2.16.13","jest":"^27.3.1","ts-jest":"^27.0.7","ts-node":"^10.4.0","ts-node-dev":"^1.1.8","typescript":"^4.4.4"},"licenseText":"MIT License\n\nCopyright (c) 2021 Wiktoria Mielcarek\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@braweria/full-name-parser@1.0.3","dist":{"shasum":"576da487d6ea25bdc7c5d6e3591e24f53c298dfd","integrity":"sha512-+1q+WyDouPj7O+Atnq7nR4juuvL5R9KL3fR4zeATgoZGGz2qYui1cWtHbiPDJ+ah028rcXlsY3wq55FgRY6trg==","tarball":"https://registry.npmjs.org/@braweria/full-name-parser/-/full-name-parser-1.0.3.tgz","fileCount":21,"unpackedSize":19566,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgmT7ajq1DrnVQb5tRyJ9Y6cczw6Z1T9R0XwbAyR1eNAiEA2wCMM5wzMaoBDaRjNGXHuoyQ7NtpPCcvkdfdsrqECSo="}]},"_npmUser":{"name":"braweria","email":"w.mielcarek@braweria.de"},"directories":{},"maintainers":[{"name":"braweria","email":"w.mielcarek@braweria.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/full-name-parser_1.0.3_1637501471249_0.2798080330088071"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-21T12:08:05.616Z","1.0.2":"2021-11-21T12:08:05.894Z","modified":"2022-04-04T20:27:23.127Z","1.0.3":"2021-11-21T13:31:11.411Z"},"maintainers":[{"name":"braweria","email":"w.mielcarek@braweria.de"}],"description":"Parse names into categories.","keywords":["parse","name","parser","name-parser","full-name-parser","parse-name","parse-full-name"],"author":{"name":"Wiktoria Mielcarek","email":"w.mielcarek@braweria.de","url":"http://github.com/braweria/"},"bugs":{"url":"https://github.com/Braweria/parse-name/issues"},"license":"MIT","readme":"<h1 style=\"text-align:center\">Full Name Parse</h1>\n\nThis is a simple name parser, that will chop a name into its components of _prefix_, _first_, _middle_, _initials_, _infix_, _last_ and _suffix_. If something doesn't exist, it will be returned as `null`.\n\n## Installation\n\n**With Yarn**\n\n```\nyarn add @braweria/full-name-parser\n```\n\n**With NPM**\n\n```\nnpm i @braweria/full-name-parser\n```\n\n## Usage\n\nTo use this library, just import `parseName` into your file, and immediatelly start using it!\n\n```js\nimport { parseName } from \"full-name-parser\";\n\nconst parsedName = parseName(\"Prof. Steph Alice von Wolfenstein, III\");\nconsole.log(parsedName);\n```\n\n```json\n{\n  \"prefix\": \"Prof.\",\n  \"first\": \"Steph\",\n  \"middle\": \"Alice\",\n  \"initials\": null,\n  \"infix\": \"von\",\n  \"last\": \"Wolfenstein\",\n  \"suffix\": \"III\",\n  \"full\": \"Prof. Steph Alice von Wolfenstein\"\n}\n```\n\n## Tests\n\n```powershell\nyarn test\n```\n\nor\n\n```powershell\nnpm run test\n```\n\n## License\n\n[MIT](https://opensource.org/licenses/mit-license.php)\n\n## Author\n\n- Wiktoria \"Braweria\" Mielcarek\n- GitHub: https://github.com/Braweria\n- Twitter: https://twitter.com/braweria\n- LinkedIn: https://www.linkedin.com/in/wiktoria-mielcarek/\n\n## Contribution\n\nYou want to help out and make this library better? Feel free to open a PR!\n\n[Check out some of the issues.](https://github.com/Braweria/parse-name/issues)\n\n---\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D85QWKJ)\n","readmeFilename":"README.md"}