1.0.0 • Published 2 years ago

random-data.js v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Random-data.js

  • A Simple Package To Get Random Data Like name , products, cars etc...

  • Unofficial Wrapper For random-data-api.com

Example

Random Data Example

const { Random } = require("random-data.js")

random.address(1).then(got =>{

        console.log(got[0])

}).catch(e => console.error(e))

Omniauth Data Example

    const { Omniauth } = require("random-data.js")

    Omniauth.google().then(got =>{

        console.log(got)

    }).catch(e => console.error(e))

Functions

Random Data

  • address
  • appliance
  • app
  • bank
  • beer
  • blood
  • card
  • cannabis
  • code
  • coffee
  • commerce
  • company
  • computer
  • crypto
  • cryptoCoin
  • color
  • dessert
  • device
  • food
  • name
  • hipsterStuff
  • invoice
  • user
  • stripe
  • subscription
  • vehicle
  • idNumber
  • internetStuff
  • loremIpsum
  • loremFlickr
  • loremPixel
  • nation
  • number
  • phoneNumber
  • placeholdit
  • restaurant

Omniauth

  • google
  • facebook
  • linkedin
  • github
  • apple

Credits