All Projects → ngneat → falso

ngneat / falso

Licence: MIT License
All the Fake Data for All Your Real Needs 🙂

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to falso

Gofakeit
Random fake data generator written in go
Stars: ✭ 2,193 (+150.06%)
Mutual labels:  data, random, fake
Http Fake Backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 253 (-71.15%)
Mutual labels:  mock, data, fake
Mimesis
Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.
Stars: ✭ 3,439 (+292.13%)
Mutual labels:  mock, data, fake
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-94.41%)
Mutual labels:  mock, data, fake
Ts Auto Mock
Typescript transformer to unlock automatic mock creation for interfaces and classes
Stars: ✭ 204 (-76.74%)
Mutual labels:  mock, fake
Randomdata
Random data generator
Stars: ✭ 157 (-82.1%)
Mutual labels:  mock, random
Faker
Provides fake data to your Android apps :)
Stars: ✭ 234 (-73.32%)
Mutual labels:  mock, data
ts-mock-imports
Intuitive mocking library for Typescript class imports
Stars: ✭ 103 (-88.26%)
Mutual labels:  mock, fake
moq.ts
Moq for Typescript
Stars: ✭ 107 (-87.8%)
Mutual labels:  mock, fake
jest-ts-auto-mock
Jest test utility with automatic mock creation for interfaces and classes
Stars: ✭ 150 (-82.9%)
Mutual labels:  mock, fake
fakey-json
This is a utility for mocking json data that pretends the api response data with JSON format.
Stars: ✭ 27 (-96.92%)
Mutual labels:  mock, fake
Wabbit
Golang AMQP mocking library
Stars: ✭ 137 (-84.38%)
Mutual labels:  mock, fake
Impersonator
Ruby library to record and replay object interactions
Stars: ✭ 100 (-88.6%)
Mutual labels:  mock, fake
Fake Xrm Easy
The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you
Stars: ✭ 216 (-75.37%)
Mutual labels:  mock, fake
Sns
Fake Amazon SNS
Stars: ✭ 94 (-89.28%)
Mutual labels:  mock, fake
Fakerator
Random fake data generator with localization for Javascript in Node.js and browser
Stars: ✭ 91 (-89.62%)
Mutual labels:  mock, fake
Mockaco
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting
Stars: ✭ 213 (-75.71%)
Mutual labels:  mock, fake
better-mock
Forked from Mockjs, Generate random data & Intercept ajax request. Support miniprogram.
Stars: ✭ 140 (-84.04%)
Mutual labels:  mock, fake
Stubmatic
Mock HTTP calls without coding. Designed specially for testing and testers.
Stars: ✭ 118 (-86.55%)
Mutual labels:  mock, fake
Openapi Sampler
🔠 Tool for generation samples based on OpenAPI(fka Swagger) payload/response schema
Stars: ✭ 83 (-90.54%)
Mutual labels:  mock, fake

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

 140+ Functions
 Tree Shakable
 Fully Typed
 Entity Functions
 Single and Array Result

🤓 Learn about it on the docs site
🔥 Run it on Stackblitz

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].