nano-faker
v0.1.1
Published
`nano-faker` is a extremely lightweight and minimalistic library for generating fake data. It is useful for creating test data, prototyping, and other development tasks where you need random but realistic data.
Downloads
10
Readme
Description
nano-faker is a extremely lightweight and minimalistic library for generating fake data.
It is useful for creating test data, prototyping, and other development tasks where you need random but realistic data.
Installation
To install nano-faker, use npm:
npm i nano-fakerUsage
First, require the nano-faker library in your project:
import faker from "nano-faker";Then, you can use it to generate various types of fake data:
// Generate a random word
const word = faker.getWord();
console.log(word);This is initial alpha release, code may change any time. Please avoid using this package in production.
If you need stable package to generate fake data, please use:
https://www.npmjs.com/package/@faker-js/faker
This package is not intended to replace full faker library it will provide most rudimentary functions to generate minimaly legible fake data.
