ember-fakerjs
Faker.js template helpers.
This addon provides helpers that can assist with adding fake/fixture data to your applications. This can be especially useful when scaffolding your application or building demos.
Installation
ember install ember-fakerjs
Demo
Usage
Helpers
The list of helpers available are:
-
faker-fake
use this to generate content by directly using thefaker
API -
faker-random
utility that provides parameterized access to therandom
subsection of thefaker
API -
faker-text
,faker-sentence
,faker-sentences
- generate lorem content
Example usage:
ES6
This addon provides the ability to import faker as an ES6 module.
import faker from "faker";
Compatibility
- Ember.js v3.20 or above
- Node.js v12 or above
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.