Skip to content

Generate fake/dummy data for testing purposes. Simplify testing with customizable datasets. Enhance your development workflow. 🛠️

Notifications You must be signed in to change notification settings

ssakib4040/imposterjs

Repository files navigation

Logo

Imposter.js

Generate fake/dummy data for testing


Getting Started

npm install imposterjs

or with yarn

yarn add imposterjs

Usage

const imposter = require("imposterjs");

imposter.name(); // 'John Doe'

API

Syntax Output
imposter.name() John Doe
imposter.address() 7301 Northwest 113th Terrace
imposter.city() Panama City Beach
imposter.state() GA
imposter.postalCode() 40299
imposter.coordinates() { latitude: 36.113929, longitude: -85.649453 }
imposter.latitude() 42.1995008
imposter.longitude() -97.53227299999999
imposter.loremIpsum(200) Lorem ipsum dolor .....
imposter.uuid() 4982268e-0ec9-4f5d-9533-e7d09cb693d9
imposter.phone() (468) 126-8518
imposter.email() [email protected]
imposter.ip() 146.150.129.126
imposter.macAddress() 113:51:75:4:60:166
imposter.url() https://m.Madeleine.com
imposter.randomString() mXTvAUpxlH
imposter.randomNumber() 22
imposter.randomBoolean() false

About

Generate fake/dummy data for testing purposes. Simplify testing with customizable datasets. Enhance your development workflow. 🛠️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published