{"id":13455108,"url":"https://github.com/sindresorhus/superheroes","last_synced_at":"2025-04-04T18:10:38.539Z","repository":{"id":40378885,"uuid":"35418579","full_name":"sindresorhus/superheroes","owner":"sindresorhus","description":"Get superhero names","archived":false,"fork":false,"pushed_at":"2024-04-30T17:34:40.000Z","size":20,"stargazers_count":234,"open_issues_count":0,"forks_count":26,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T14:28:12.056Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-05-11T11:00:55.000Z","updated_at":"2024-12-16T01:36:55.000Z","dependencies_parsed_at":"2022-09-26T16:21:59.267Z","dependency_job_id":"dfe3a213-fd85-4eac-9762-53c6d7e48b48","html_url":"https://github.com/sindresorhus/superheroes","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.1333333333333333,"last_synced_commit":"912c652ca057bab26a02a1116482f84e7e9655ae"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fsuperheroes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fsuperheroes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fsuperheroes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fsuperheroes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/superheroes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246759517,"owners_count":20829109,"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-07-31T08:01:01.365Z","updated_at":"2025-04-04T18:10:38.521Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Packages","Related","JavaScript","包","Weird","Number"],"sub_categories":["Weird","Config options","怪诞的","奇怪的"],"readme":"# superheroes\n\n\u003e Get superhero names\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/170270/7563453/ad57a684-f7dd-11e4-8302-081f132e8653.png\" width=\"100\" height=\"112\" align=\"right\"\u003e\n\nThe list is just a [JSON file](superheroes.json) and can be used anywhere.\n\n**I'm not accepting additional entries to the list.**\n\n## Install\n\n```sh\nnpm install superheroes\n```\n\n## Usage\n\n```js\nimport superheroes from 'superheroes';\n\nsuperheroes;\n//=\u003e ['3-D Man', 'A-Bomb', …]\n```\n\n## API\n\n### superheroes\n\nType: `string[]`\n\nSuperhero names in alphabetical order.\n\n### randomSuperhero()\n\nType: `Function`\n\nGet a random superhero name.\n\n```js\nimport {randomSuperhero} from 'superheroes';\n\nrandomSuperhero();\n//=\u003e 'Spider-Ham'\n```\n\n## Related\n\n- [superheroes-cli](https://github.com/sindresorhus/superheroes-cli) - CLI for this module\n- [supervillains](https://github.com/sindresorhus/supervillains) - Get supervillain names\n- [cat-names](https://github.com/sindresorhus/cat-names) - Get popular cat names\n- [dog-names](https://github.com/sindresorhus/dog-names) - Get popular dog names\n- [pokemon](https://github.com/sindresorhus/pokemon) - Get Pokémon names\n- [superb](https://github.com/sindresorhus/superb) - Get superb like words\n- [yes-no-words](https://github.com/sindresorhus/yes-no-words) - Get yes/no like words\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fsuperheroes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fsuperheroes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fsuperheroes/lists"}