Superhero package provides functionality to generate a fake superhero name value.
npm
npm install @fakerjs/superhero --save-dev
yarn
yarn add @fakerjs/superhero -D
import superhero from '@fakerjs/superhero';
superhero();
//=> Spider-Man
Run tests
npm run test
The MIT License (MIT) Copyright (c) Sergey Romanenko