Saturday, July 15, 2023

What is faker Library

Faker is a popular library that generates fake (but reasonable) data that can be used for things such as:

Unit Testing

Performance Testing

Building Demos

Working without a completed backend

Faker was originally written in Perl and this is the JavaScript port. Language bindings also exist for Ruby, Java, and Python.


Installation

Install it as a Dev Dependency using your favorite package manager.


npm install @faker-js/faker --save-dev


references:

https://fakerjs.dev/guide/


No comments:

Post a Comment