JSON-Schema Faker
faker
JSON-Schema Faker | faker | |
---|---|---|
8 | 60 | |
3,236 | 12,022 | |
0.8% | 2.0% | |
6.0 | 9.7 | |
13 days ago | 2 days ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
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.
faker
-
Frontend resources! 🚀
Faker: Generate realistic fake data with Faker
-
Build a cross-platform desktop app with electron and react typescript, tailwind css
The software is inspired by DevToys and other libraries like https://transform.tools/, faker-js. I designed and built it myself in a few weeks. There are still many features I want to improve and add to the software in the future.
-
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.
What are some alternatives?
Mock.js - A simulation data generator
falso - All the Fake Data for All Your Real Needs 🙂
Immer - Create the next immutable state by mutating the current one
Faker.js - What really happened with Aaron Swartz?
hashmap - HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
yup-schema-faker - Fake data generator for yup
react-websocket - Easy-to-use React component for websocket communications.
casual - Fake data generator for javascript
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
plop - Consistency Made Simple
datafaker - Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB