{"_id":"@bellingcat/alias-generator","_rev":"3-7e3cfb0ed92ad905675c9658fb7a8117","name":"@bellingcat/alias-generator","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"@bellingcat/alias-generator","version":"1.0.0","description":"Parse a human name and generate a list of possible variants","main":"src/index.js","browser":"dist/main.js","type":"module","scripts":{"build":"webpack --mode production","test":"node test/index.js","prepublish":"npm run build"},"author":{"name":"Stichting Bellingcat"},"license":"MIT","dependencies":{"humanparser":"^2.7.0"},"devDependencies":{"@babel/core":"^7.22.9","babel-loader":"^9.1.3","webpack":"^5.88.2","webpack-cli":"^5.1.4"},"gitHead":"9d83b2b32ed191491e535bac3869dd5af3b00729","_id":"@bellingcat/alias-generator@1.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-C/hS6ymXOEFRqA8cnjXyNQHK+shq39eJMWvmqFmbIlwsqwOLMAu74AkrRDL9nuvUaG889JIpEPxp1LonjOHYxg==","shasum":"9c47ed76e98b8367c6a91f0788849a8e63d0b9f5","tarball":"https://registry.npmjs.org/@bellingcat/alias-generator/-/alias-generator-1.0.0.tgz","fileCount":6,"unpackedSize":10219,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2btnZDqDTI0t+YJzRIh3CQ8wdFMo1gh1FRD9CkgVftgIgHG17UHP3FyxQX2SHnbEedFvNdCcJWfTngQN4S8zGwmI="}]},"_npmUser":{"name":"liliakai","email":"liliakai@gmail.com"},"directories":{},"maintainers":[{"name":"liliakai","email":"liliakai@gmail.com"},{"name":"miguel.ramalho","email":"mr.miguel.ramalho+npmjs@gmail.com"},{"name":"bellingcat-m","email":"miguel@bellingcat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alias-generator_1.0.0_1689763884867_0.6907495752045592"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bellingcat/alias-generator","version":"2.0.0","description":"Parse a human name and generate a list of possible variants","module":"src/index.js","type":"module","scripts":{"build":"webpack --mode development","test":"node test/index.js","prepublish":"npm run build"},"author":{"name":"Stichting Bellingcat"},"license":"MIT","dependencies":{"humanparser":"^2.7.0"},"devDependencies":{"@babel/core":"^7.22.9","babel-loader":"^9.1.3","webpack":"^5.88.2","webpack-cli":"^5.1.4"},"gitHead":"d807fb52619f6afee966b7c1651ea67d742b6f51","_id":"@bellingcat/alias-generator@2.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-qMbDHrcawgOHTdm3FPFH39uulLtzcfoIMYGKLD5ezxu82BFVTxV2uUatr//zoYKYcnXBvd0Ms5Qrdhm7JWgObA==","shasum":"ec96fe4ad040fd61c148d9bf27d1d55afa1d3107","tarball":"https://registry.npmjs.org/@bellingcat/alias-generator/-/alias-generator-2.0.0.tgz","fileCount":7,"unpackedSize":32622,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0y/6ErCE7REoeo3iPGzaWCnJhpv6jy2f3sMay+diVOAiBd0LA8gBf96ctflTStJXyfv9ddAx3jine1HsT0ETTPjg=="}]},"_npmUser":{"name":"liliakai","email":"liliakai@gmail.com"},"directories":{},"maintainers":[{"name":"liliakai","email":"liliakai@gmail.com"},{"name":"miguel.ramalho","email":"mr.miguel.ramalho+npmjs@gmail.com"},{"name":"bellingcat-m","email":"miguel@bellingcat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alias-generator_2.0.0_1690197420328_0.9197544955167207"},"_hasShrinkwrap":false},"3.0.0":{"name":"@bellingcat/alias-generator","version":"3.0.0","description":"Parse a human name and generate a list of possible variants","module":"src/index.js","type":"module","scripts":{"build":"webpack --mode development","test":"node test/index.js","prepublish":"npm run build"},"author":{"name":"Stichting Bellingcat"},"license":"MIT","dependencies":{"humanparser":"^2.7.0","tussenvoegsels":"^1.0.0"},"devDependencies":{"@babel/core":"^7.22.9","babel-loader":"^9.1.3","webpack":"^5.88.2","webpack-cli":"^5.1.4"},"gitHead":"ea81a8a4ab529b6a214a3413309e8728cf690f7b","_id":"@bellingcat/alias-generator@3.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-WAD5xtspxOqrRMVHsX1yKo9NVv2iK8EyPjUGwQB03dVlXMRvZRR3UB7Yf+fptkIay1iTcNlFfgUZQ3Cmf7/8CQ==","shasum":"a87881eb4f20acd381e8499a68fd6b653925030a","tarball":"https://registry.npmjs.org/@bellingcat/alias-generator/-/alias-generator-3.0.0.tgz","fileCount":7,"unpackedSize":27063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0PS7jpBtNOsdzqRXLE6HZiiOoozF7JimB70zX5N/yRwIhAOYWIhEZjwYw54KsLf8zE+OHqrZRjKneUYrl9itbHfen"}]},"_npmUser":{"name":"liliakai","email":"liliakai@gmail.com"},"directories":{},"maintainers":[{"name":"liliakai","email":"liliakai@gmail.com"},{"name":"miguel.ramalho","email":"mr.miguel.ramalho+npmjs@gmail.com"},{"name":"bellingcat-m","email":"miguel@bellingcat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alias-generator_3.0.0_1690538176438_0.23995050840967624"},"_hasShrinkwrap":false},"4.0.0":{"name":"@bellingcat/alias-generator","version":"4.0.0","description":"Parse a human name and generate a list of possible variants","module":"src/index.js","type":"module","scripts":{"build":"webpack --mode development","test":"NODE_OPTIONS=--experimental-vm-modules npx jest","prepublish":"npm run build"},"author":{"name":"Stichting Bellingcat"},"license":"MIT","dependencies":{"humanparser":"^2.7.0","tussenvoegsels":"^1.0.0"},"devDependencies":{"@babel/core":"^7.22.9","@babel/preset-env":"^7.22.9","babel-jest":"^29.6.2","babel-loader":"^9.1.3","jest":"^29.6.2","webpack":"^5.88.2","webpack-cli":"^5.1.4"},"jest":{"transform":{}},"gitHead":"9e76831edfee0bf64a221fb95c1af78989fdf5d9","_id":"@bellingcat/alias-generator@4.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-ecSfNOg/n3mOTBB72F926jT5nVl/sO76UZmdzB3OIXm5YnmSazFxEJE0r3dL29ud8d1vg3aeF5KHgnJVHCF92w==","shasum":"80c112cbc15b75cdd31fb22a0d4f3af2d827a06b","tarball":"https://registry.npmjs.org/@bellingcat/alias-generator/-/alias-generator-4.0.0.tgz","fileCount":10,"unpackedSize":90577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZLJAxHjjTXmmTi0maCVisvK1P7qEolUyU7j+Ht9h1cAiEAiuWZKjiDDr4i80XR2gufNGXeuJ7jrb5PZjIVCdabN5c="}]},"_npmUser":{"name":"liliakai","email":"liliakai@gmail.com"},"directories":{},"maintainers":[{"name":"liliakai","email":"liliakai@gmail.com"},{"name":"miguel.ramalho","email":"mr.miguel.ramalho+npmjs@gmail.com"},{"name":"bellingcat-m","email":"miguel@bellingcat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alias-generator_4.0.0_1691145044380_0.34614353602079784"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-19T10:51:24.758Z","1.0.0":"2023-07-19T10:51:25.016Z","modified":"2023-08-04T10:30:44.639Z","2.0.0":"2023-07-24T11:17:00.502Z","3.0.0":"2023-07-28T09:56:16.648Z","4.0.0":"2023-08-04T10:30:44.524Z"},"maintainers":[{"name":"liliakai","email":"liliakai@gmail.com"},{"name":"miguel.ramalho","email":"mr.miguel.ramalho+npmjs@gmail.com"},{"name":"bellingcat-m","email":"miguel@bellingcat.com"}],"description":"Parse a human name and generate a list of possible variants","author":{"name":"Stichting Bellingcat"},"license":"MIT","readme":"# alias-generator\n\nNode module to generate likely aliases for a given human name.\n\n## Usage\n\nIn node\n```\nimport getAliases from '@bellingcat/alias-generator';\n\nlet list = getAliases(\"William Randolph Hearst\");\nconsole.log(list);\n```\n\nIn the browser\n```\n<script src=\"node_modules/@bellingcat/alias-generator/dist/main.js\"></script>\n<script>\n\n  let list = aliasGenerator.getAliases(\"William Randolph Hearst\");\n  console.log(list);\n\n</script>\n```\n\nOutput:\n\n```\n[\n  'william hearst',\n  'hearst, william',\n  'william randolph hearst',\n  'hearst, william randolph',\n  'william r hearst',\n  'hearst, william r',\n  'w hearst',\n  'w randolph hearst',\n  'w r hearst',\n  'wr hearst'\n]\n```\n\n## Considerations\n\nWhen generating name variants, many considerations apply and may be culturally specific. See https://en.wikipedia.org/wiki/Personal_name\n\n**Initials** may be substituted for first or middle names, and middle names may be omitted.\n\nExample: The name \"Alfred Jodocus Kwak\" may appear online as any of the following equivalents:\n * Alfred Kwak\n * Alfred J. Kwak\n * AJ Kwak\n * A. J. Kwak\n * Kwak, Alfred J\n * Al Kwak\n\n**Name order** is culturally specific: East Asian names are often written surname-givenname instead of the western style of givenname-surname, not to mention in a different character sets:\n\nExample: Hayao Miyazaki\n * Miyazaki Hayao\n * 宮崎 駿\n\n**Patronyms/matronyms** (names derived from the given name of a parent) may appear before, after, or in place of a surname.\n\nExample: Abel Janszoon Tasman (\"Abel, son of Jan Tasman\")\n * Abel Tasman\n * Abel Janszoon\n\n**Shortened or diminuitive** versions of a name may exist and are culturally specific.\n\nExample: Mike for Michael, Bill for William, Bob for Robert in the West. Katya for Ekaterina in Eastern Europe.\n\n**Marriage** may result in surname changes, hyphenation or combination of one's original name(s).\n\n**Tussenvoegsels** in Dutch names such as \"van der Laan\" may be abbreviated \"v.d. Laan\"\n\n\n## Possibly Helpful Libraries\n* https://nameparser.readthedocs.io/en/latest/ (python)\n* https://github.com/theiconic/name-parser (php)\n* https://github.com/berkmancenter/namae (ruby)\n* https://github.com/carltonnorthern/nicknames (python)\n* https://www.nameapi.org/en/demos/name-parser/\n* https://searchgizmos.com/generate-and-search-for-name-variants-with-carls-name-net/\n","readmeFilename":"README.md"}