npm.io
1.4.0 • Published 4 years ago

bootstrap-faker

Licence
ISC
Version
1.4.0
Deps
1
Size
35 kB
Vulns
0
Weekly
0

bootstrap-faker

Bootstrap Faker generates massive amounts of useful randomized bootstrap related data such as card styles, warning labels, button types, etc.

Example

  var faker = require('bootstrap-faker');

  var randomTextColor = faker.text.classNames(); // Rowan Nikolaus
  var randomBackgroundColor = faker.background.classNames(); // Kassandra.Haley@erich.biz
  var randomCardColor = faker.card.classNames(); // Kassandra.Haley@erich.biz

API

  • text ** classNames(): reasonable class name set
  • background ** classNames(): reasonable class name set
  • card ** classNames(): reasonable class name set