@fluentfixture/core
Introduction
The @fluentfixture/core provides various data generators for different use cases. All generators offer a fluent interface for manipulating data, including sorting, creating conditional values, and more.
Installation
Example
Let us consider the following requirements. We need;
One hundred products that are ordered by their prices,
Each product has a price that ends with .95,
Each product has a code field with the "id-color" format calculated using generated values,
Each product has the same parent category with random id and name but the same type.
Half of them have stock.
Last updated