{"_id":"@cjser/supervillains","name":"@cjser/supervillains","dist-tags":{"latest":"4.0.0-cjser.2"},"versions":{"4.0.0-cjser.2":{"name":"@cjser/supervillains","version":"4.0.0-cjser.2","description":"Get supervillain names","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","require":"./dist-cjser/index.cjs","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18.20"},"scripts":{"//test":"xo && ava","test":"ava"},"keywords":["word","words","list","array","random","rand","supervillains","supervillain","villains","villain","marvel","dc","comics"],"dependencies":{"@cjser/unique-random-array__v3_0_0":"3.0.0-cjser.2"},"devDependencies":{"ava":"^6.1.2","xo":"^0.58.0"},"types":"./index.d.ts","main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"4.0.0","cjserVersion":2,"original":{"name":"supervillains","version":"4.0.0","exports":{"types":"./index.d.ts","default":"./index.js"},"repository":"sindresorhus/supervillains","dependencies":{"unique-random-array":"^3.0.0"},"files":["index.js","index.d.ts","supervillains.json"],"scripts":{"//test":"xo && ava","test":"ava"}}},"_id":"@cjser/supervillains@4.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-NxdGg1sEh0ATqsHL71j/IOsvYx3KmmIN4tCDsxo/uMUS58luRqCPoR1+pP/mYREzAvFv3EvKrvVokeeXKH3HFQ==","shasum":"619d770e98a7f784c52ccc6953a4481f46863d22","tarball":"https://registry.npmjs.org/@cjser/supervillains/-/supervillains-4.0.0-cjser.2.tgz","fileCount":7,"unpackedSize":29234,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNVuMNAhGo45lqljGwUFhpu+XnY/XsRBumpcNIVOFwMQIhAMlNHaQSfQo5H0XuVZTX9z80LmgpqIs5FbTM/ps9fhsk"}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/supervillains_4.0.0-cjser.2_1778160277522_0.789970226647827"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:24:37.420Z","4.0.0-cjser.2":"2026-05-07T13:24:37.649Z","modified":"2026-05-07T13:24:37.888Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Get supervillain names","keywords":["word","words","list","array","random","rand","supervillains","supervillain","villains","villain","marvel","dc","comics"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# supervillains\n\n<img src=\"https://cloud.githubusercontent.com/assets/170270/7563380/f0af1aee-f7dc-11e4-9b83-92fe18cf6bdd.png\" width=\"182\" height=\"282\" align=\"right\">\n\n> Get supervillain names\n\nThe list is just a [JSON file](supervillains.json) and can be used anywhere.\n\n## Install\n\n```sh\nnpm install supervillains\n```\n\n## Usage\n\n```js\nimport supervillains from 'supervillains';\n\nsupervillains;\n//=> ['Abattoir', 'Able Crown', …]\n```\n\n## API\n\n### supervillains\n\nType: `string[]`\n\nSupervillain names in alphabetical order.\n\n### randomSupervillain()\n\nType: `Function`\n\nGet a random supervillain name.\n\n```js\nimport {randomSupervillain} from 'supervillains';\n\nrandomSupervillain();\n//=> 'Mud Pack'\n```\n\n## Related\n\n- [supervillains-cli](https://github.com/sindresorhus/supervillains-cli) - CLI for this module\n- [superheroes](https://github.com/sindresorhus/superheroes) - Get superhero 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\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/supervillains\n","readmeFilename":"readme.md","_rev":"1-6f3d98228641955c4d58d7b3b546aade"}