Mock.js
JSON-Schema Faker
Our great sponsors
Mock.js | JSON-Schema Faker | |
---|---|---|
1 | 8 | |
19,360 | 3,208 | |
- | 0.9% | |
0.0 | 7.1 | |
about 1 month ago | 2 months ago | |
JavaScript | 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.
Mock.js
-
An Intro to UmiJS
Mock.js
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?
Immer - Create the next immutable state by mutating the current one
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
hashmap - HashMap JavaScript class for Node.js and the browser. The keys can be anything and won't be stringified
object-path - A tiny JavaScript utility to access deep properties using a path (for Node and the Browser)
react-websocket - Easy-to-use React component for websocket communications.
omniclone - An isomorphic and configurable javascript utility for objects deep cloning that supports circular references.
buckets - A complete, fully tested and documented data structure library written in pure JavaScript.
datafaker - Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!
class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.