{"id":18645451,"url":"https://github.com/cscott/node-random-name","last_synced_at":"2025-04-11T12:31:21.533Z","repository":{"id":24567258,"uuid":"27974674","full_name":"cscott/node-random-name","owner":"cscott","description":"Generate random (or seeded) names, based on 1990 Census data.","archived":false,"fork":false,"pushed_at":"2014-12-13T21:47:45.000Z","size":492,"stargazers_count":21,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T13:46:34.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cscott.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-13T21:41:25.000Z","updated_at":"2022-12-08T23:33:00.000Z","dependencies_parsed_at":"2022-08-06T03:00:46.429Z","dependency_job_id":null,"html_url":"https://github.com/cscott/node-random-name","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"b11c7dbbc758c85ddd9929d8a83acbac63dc1677"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fnode-random-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fnode-random-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fnode-random-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fnode-random-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cscott","download_url":"https://codeload.github.com/cscott/node-random-name/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401955,"owners_count":21097328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T06:15:57.599Z","updated_at":"2025-04-11T12:31:21.180Z","avatar_url":"https://github.com/cscott.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-random-name\n[![NPM][NPM1]][NPM2]\n\n[![Build Status][1]][2] [![dependency status][3]][4] [![dev dependency status][5\n]][6]\n\nGenerate random (or seeded) names, based on 1990 Census Data.\n\nTo install:\n```\nnpm install node-random-name\n```\n\nTo use:\n```\nvar random_name = require('node-random-name');\nconsole.log(random_name()); // -\u003e \"Brittny Kraska\"\nconsole.log(random_name({ first: true, gender: \"male\" })); // -\u003e \"Jean\"\nconsole.log(random_name({ last: true })); // -\u003e \"Kinsel\"\nconsole.log(random_name({ seed: 'Based on this' })); // -\u003e \"Garrett Scheets\"\nconsole.log(random_name({ random: Math.random, female: true })); // -\u003e \"Jo\"\n```\n\nThe names are taken from 1990 Census Data.  The default random number\ngenerator is [alea](https://www.npmjs.com/package/alea), because it\ncan be seeded -- but you can pass in any function you like, so long\nas it returns a floating point number in the range \\[0,1\\).\n\n# Related\n\nThe name data used was taken from\n[treyhunner/names](https://github.com/treyhunner/names), which is a\npython package with a very similar API.\n\n# License\nCopyright (c) 2014 C. Scott Ananian\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\nall copies 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\nTHE SOFTWARE.\n\n[NPM1]: https://nodei.co/npm/node-random-name.png\n[NPM2]: https://nodei.co/npm/node-random-name/\n\n[1]: https://travis-ci.org/cscott/node-random-name.svg\n[2]: https://travis-ci.org/cscott/node-random-name\n[3]: https://david-dm.org/cscott/node-random-name.svg\n[4]: https://david-dm.org/cscott/node-random-name\n[5]: https://david-dm.org/cscott/node-random-name/dev-status.svg\n[6]: https://david-dm.org/cscott/node-random-name#info=devDependencies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscott%2Fnode-random-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcscott%2Fnode-random-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscott%2Fnode-random-name/lists"}