GithubHelp home page GithubHelp logo

michaelxvoelker / falso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ngneat/falso

0.0 0.0 0.0 3.6 MB

All the Fake Data for All Your Real Needs 🙂

Home Page: https://ngneat.github.io/falso/

License: MIT License

JavaScript 8.69% TypeScript 91.24% Shell 0.07%

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

✅  191 Functions
✅  Tree Shakable
✅  Fully Typed
✅  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

alinpisica avatar arulprabakaran avatar cipriansauliuc avatar daandesmedt avatar dsa0x avatar felipetodev avatar fishmandev avatar geromegrignon avatar iamandrewluca avatar ikerasiotis avatar jasiene avatar jsrubianoj avatar lrnzlo avatar matheusnascgomes avatar michaelvoelker1 avatar michaelxvoelker avatar midudev avatar netanelbasal avatar parikshit-hooda avatar phosphorus-m avatar pranomvignesh avatar raisiqueira avatar rodrigofeijao avatar rothsandro avatar shaharkazaz avatar shhdharmen avatar svenc56 avatar technologeek avatar theryansmee avatar tomalaforge 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.