imposterjs
v1.0.9
Published
Generate fake/dummy data for testing
Downloads
18
Maintainers
Readme
Getting Started
npm install imposterjsor with yarn
yarn add imposterjsUsage
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 |
