Socket
Book a DemoInstallSign in
Socket

metal-band-generator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metal-band-generator

Randomly generates ficional metal band names and members

0.4.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

metal-band-generator :metal: :guitar:

Randomly generates ficional metal band names and members

Build Status Greenkeeper badge Maintainability npm

Usage

Install with npm i band-name-generator or yarn add band-name-generator

import getBand, {
  getBandMembers,
  getBandName,
  getGenre,
  getMember,
  getMemberName,
  getMemberInstrument,
} from 'metal-band-generator';

getBand(); // returns a complete band object, with name, genre and members
getBandMembers(); // returns an array of band members
getBandName(); // returns a random band name
getGenre(); // returns a random genre
getMember(); // returns a random member, with name and instrument
getMemberName(); // returns a random member name
getMemberInstrument(); // returns a random instrument

Example band:

{ name: 'Dark Decadence',
  genre: 'Glam Heavy Atmospheric Metal',
  members:
  [ { name: 'Axl Rose', instrument: 'drums' },
    { name: 'Jorn Hetfield', instrument: 'harsh vocals' },
    { name: 'Alissa Hetfield', instrument: 'keyboard' },
    { name: 'Maria Hetfield', instrument: 'rhythm guitar' },
    { name: 'Jorn Hetfield', instrument: 'drums' },
    { name: 'Jorn Kakko', instrument: 'keyboard' } ] }

Scripts

  • build: transpiles and minifies all code in ./src into ./lib using babel;
  • lint: lints code in ./src using eslint;
  • precommit: (automatic) runs linter before every commit;
  • prepublish: (automatic) runs tests before attempting to publish the package;
  • test: runs tests in __tests__ using jest.

Metal is for everyone - Freedom Call

FAQs

Package last updated on 28 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.