impostor_js
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

🗃️ Impostor Js 🗃️

Generate small to large amount of fake, random data with nodejs

npm i impostor_js

or

yarn add impostor_js

or

pnpm add impostor_js

Basic usage

const { Impostor } = require("impostor_js");

// create a new instance

const impostor_gen = new impostor("en_GB");
// providing a country code allows you to use country specific data. (phone numbers, cities, vehicle plates)

impostor_gen.location.city();
impostor_gen.location.street();
impostor_gen.location.postcode();
impostor_gen.phone.mobile();
impostor_gen.vehicle.plate();

List of country codes

  • TODO

Documentation

  • TODO

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i impostor_js

    Weekly Downloads

    0

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    1.64 MB

    Total Files

    50

    Last publish

    Collaborators

    • carlbeattie2000