faker
JSON-Schema Faker
faker | JSON-Schema Faker | |
---|---|---|
58 | 8 | |
11,783 | 3,214 | |
1.9% | 0.6% | |
9.7 | 7.1 | |
6 days ago | 3 months ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
faker
-
Easily create mock data for unit tests 🧪
Instead of manually having to think of defaults for your interface properties, you could use Faker.
-
Leveling up your custom fake data with Faker.js
If you think you have something which other Faker users would find useful, you can contribute it to Faker! See the contributing guide, you can create an issue or a pull request.
- Front-End Prototyping - Mock JSON Data Provider
- Show HN: Buyidentities.com
- Show HN: Generate JSON mock data for testing/initial app development
-
Web workers in ReactJs
First, we create a react project, and then we use a service faker to create 25000 user records.
-
Component Testing with Cypress and Reactjs
Use faker.js to generate random values for your mock data.
-
Sveltekit Twitter Clone starter made with Lucia Auth, Prisma and Faker.js
I built a starter project for developing a social media app with Sveltekit, Lucia Auth, Prisma and Faker.js. Uses sqlite for prototyping but can easily be changed to Postgres or MySQL.
-
How do you get realistic data in your staging databases?
Don’t even need chatGPT or json files! There are libraries like faker that’ll do it on the fly for you!
-
C++ Faker library
I am currently working with Typescript as well as C++ and I enjoyed using FakerJS library for testing data. I've checked for C++ libraries and I haven't found anything that could be used for my basic needs (like generating emails, passwords, names, uuids or lorem words) so I just started my own project with idea to deliver such library to C++ developers.
JSON-Schema Faker
-
Show HN: Generate JSON mock data for testing/initial app development
There’s also json-schema-faker which is pretty cool.
https://github.com/json-schema-faker/json-schema-faker
-
How do you get realistic data in your staging databases?
I built a CSV generator which I then use as a test data source for a dsv library on that principle and another API generator based on schema. Something that might be additionally helpful is json-schema-faker, as you can probably convert you primary record (DB schema) to json-schema then just generate tons of data.
-
OpenAPI Examples
I only know https://github.com/json-schema-faker/json-schema-faker for JS, not Java though.
-
How Web Apps Became Decoys To Get You To Install Native Apps
Hell, i was using this one earlier today; just kills me that people think this is acceptable.
-
Intro to AWS Websockets Part Three: Documentation
The payload object contains a reference to a JSON Schema object that describes the properties of the event. This allows the consumer to know exactly how to define the event when publishing or how to write code that consumes a subscribed event. There are even tools online that generate examples from JSON Schema (and vice versa).
- The Faker.js Saga Continues
-
How do you "stitch & glue" types for all your needs?
The class-validator / class-transform looks really nice for formatting/validation but there is also joi. suretype is attractive since theoretically typeconv could generate jsonSchema for json-schema-faker and Open API docs.
-
JSON Data Generator
I've been using Fake your JSON-Schemas! (json-schema-faker.js.org), but it does not consider if-then-else rules in its generation process.
What are some alternatives?
falso - All the Fake Data for All Your Real Needs 🙂
Mock.js - A simulation data generator
Faker.js - What really happened with Aaron Swartz?
Immer - Create the next immutable state by mutating the current one
yup-schema-faker - Fake data generator for yup
hashmap - HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
casual - Fake data generator for javascript
react-websocket - Easy-to-use React component for websocket communications.
plop - Consistency Made Simple
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
datafaker - Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!