{"id":13495075,"url":"https://github.com/ngneat/falso","last_synced_at":"2025-05-14T11:08:24.119Z","repository":{"id":37853932,"uuid":"445896247","full_name":"ngneat/falso","owner":"ngneat","description":"All the Fake Data for All Your Real Needs 🙂","archived":false,"fork":false,"pushed_at":"2025-01-16T07:07:40.000Z","size":14601,"stargazers_count":3285,"open_issues_count":16,"forks_count":123,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-07T10:52:35.297Z","etag":null,"topics":["data","fake","fakedata","mock","mockdata","random"],"latest_commit_sha":null,"homepage":"https://ngneat.github.io/falso/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngneat.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.config.js","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"ngneat"}},"created_at":"2022-01-08T18:21:34.000Z","updated_at":"2025-05-05T20:47:55.000Z","dependencies_parsed_at":"2023-02-10T13:45:58.512Z","dependency_job_id":"bee50937-7be1-4250-896b-c8f948321a28","html_url":"https://github.com/ngneat/falso","commit_stats":{"total_commits":536,"total_committers":76,"mean_commits":7.052631578947368,"dds":0.8134328358208955,"last_synced_commit":"e594a5a5d6661ae12959e9ccaf2707f82bdde4c6"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Ffalso","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Ffalso/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Ffalso/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngneat%2Ffalso/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngneat","download_url":"https://codeload.github.com/ngneat/falso/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253505664,"owners_count":21918942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","fake","fakedata","mock","mockdata","random"],"created_at":"2024-07-31T19:01:30.969Z","updated_at":"2025-05-14T11:08:24.090Z","avatar_url":"https://github.com/ngneat.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n \u003cimg width=\"20%\" height=\"20%\" src=\"logo.png\"\u003e\n\u003c/p\u003e\n\n\u003e All the Fake Data for All Your Real Needs 🙂\n\nCreate massive amounts of fake data in the browser and NodeJS. Tree Shakeable \u0026 Fully Typed.\n\n\u003chr /\u003e\n\n\u003cp align=\"center\"\u003e\n\n[![@ngneat/falso](https://github.com/ngneat/falso/actions/workflows/ci.yml/badge.svg)](https://github.com/ngneat/falso/actions/workflows/ci.yml)\n[![commitizen](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)]()\n[![PRs](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)]()\n[![coc-badge](https://img.shields.io/badge/codeof-conduct-ff69b4.svg?style=flat-square)](CODE_OF_CONDUCT.md)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e5079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\n\u003c/p\u003e\n\n✅ \u0026nbsp;205 Functions  \n✅ \u0026nbsp;Tree Shakable  \n✅ \u0026nbsp;Fully Typed  \n✅ \u0026nbsp;Factory Functions  \n✅ \u0026nbsp;Entity Functions  \n✅ \u0026nbsp;Single and Array Result\n\n🤓 Learn about it on the [docs site](https://ngneat.github.io/falso/) \u003cbr\u003e\n\n## Sponsoring ngneat\n\n[Sponsorships](https://github.com/sponsors/ngneat) aid in the continued development and maintenance of ngneat libraries. Consider asking your company to sponsor ngneat as its core to their business and application development.\n\n### Gold Sponsors\n\nElevate your support by becoming a Gold Sponsor and have your logo prominently featured on our README in the top 5 repositories.\n\n### Silver Sponsors\n\nBoost your backing by becoming a Gold Sponsor and enjoy the spotlight with your logo prominently showcased in the top 3 repositories on our README.\n\n### Bronze Sponsors\n\n\u003ca href=\"https://houseofangular.io\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://github.com/ngrx/platform/blob/main/projects/ngrx.io/src/assets/images/sponsors/house-of-angular.png\" width=\"50px\" height=\"50px\" alt=\"House of Angular\" /\u003e\n\u003c/a\u003e\n\nBecome a bronze sponsor and get your logo on our README on GitHub.\n\n## StackBlitz\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz_small.svg)](https://stackblitz.com/edit/typescript-pj5epp?file=index.ts)\n\n## Installation\n\n```\nnpm i @ngneat/falso\nyarn add @ngneat/falso\n```\n\n### Usage\n\n```ts\nimport { randEmail, randFullName } from '@ngneat/falso';\n\nconst user = { email: randEmail(), name: randFullName() };\n\nconst emails = randEmail({ length: 10 });\n```\n\nYou can specify the length of elements you want to generate. Below is an example of generating 10 emails with length equal or smaller than 20 characters.\n\n```ts\nconst emails = randEmail({ length: 10, maxCharCount: 20 });\n```\n\n### Setting a Randomness Seed\n\nYou can set your own seed if you want consistent results:\n\n```ts\nimport { rand, seed } from '@ngneat/falso';\n\nseed('some-constant-seed');\n\n// Always returns 2\nrand([1, 2, 3, 4, 5]);\n\n// Reset random seed\nseed();\n```\n\n## Contribute\n\n- Go over the steps in [this](https://github.com/firstcontributions/first-contributions) guide\n- Add a new falso\n\n![contribute](contribute.gif)\n\n- Use `npm run c` and choose the right answers\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.freepik.com\" title=\"Freepik\"\u003eFreepik\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e\n\n## Contributors\n\nThanks to awesome contributors! ❤️\n\n\u003ca href=\"https://github.com/ngneat/falso/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=ngneat/falso\" /\u003e\n\u003c/a\u003e\n\nMade with [contrib.rocks](https://contrib.rocks).\n","funding_links":["https://github.com/sponsors/ngneat"],"categories":["TypeScript","Projects by main language","Development Utilities"],"sub_categories":["typescript","Runtime"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngneat%2Ffalso","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngneat%2Ffalso","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngneat%2Ffalso/lists"}