Code Monkey home page Code Monkey logo

falso's Introduction

All the Fake Data for All Your Real Needs 🙂

Create massive amounts of fake data in the browser and NodeJS. Tree Shakeable & Fully Typed.


@ngneat/falso commitizen PRs coc-badge semantic-release styled with prettier

✅  196 Functions
✅  Tree Shakable
✅  Fully Typed
✅  Factory Functions
✅  Entity Functions
✅  Single and Array Result

🤓 Learn about it on the docs site
🔥 Run it on Stackblitz
🎁 Generate data using Fako

Installation

npm i @ngneat/falso
yarn add @ngneat/falso

Usage

import { randEmail, randFullName } from '@ngneat/falso';

const user = { email: randEmail(), name: randFullName() };

const emails = randEmail({ length: 10 });

Setting a Randomness Seed

You can set your own seed if you want consistent results:

import { rand, seed } from '@ngneat/falso';

seed('some-constant-seed');

// Always returns 2
rand([1, 2, 3, 4, 5]);

// Reset random seed
seed();

Contribute

  • Go over the steps in this guide
  • Add a new falso

contribute

  • Use npm run c and choose the right answers
Icons made by Freepik from www.flaticon.com

falso's People

Contributors

netanelbasal avatar theryansmee avatar shaharkazaz avatar arulprabakaran avatar michaelxvoelker avatar michaelvoelker1 avatar pumano avatar ikerasiotis avatar cipriansauliuc avatar quantum-0 avatar alinpisica avatar technologeek avatar rodrigofeijao avatar sirrocco avatar iamandrewluca avatar shhdharmen avatar dsa0x avatar parikshit-hooda avatar geromegrignon avatar lrnzlo avatar tahseenio avatar seanpoulter avatar manudss avatar yalhyane avatar tomalaforge avatar pwespi avatar marcelosanchez avatar jbdemonte avatar jasiene avatar felipetodev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.