handlebars-faker
Small helper to use faker inside your handlebars template
For a full list of all available fakes see https://github.com/marak/Faker.js/
Installation
npm install handlebars-faker --save-dev
Usage
var Handlebars = ;var FakerHandlebarsHelper = ;Handlebars; var template = Handlebars;console;// -> Patricia_Schamberger75@gmail.com - voluptas in omnis - 11
Snapshot testing
Snapshot testing requires always the same outcome. To achieve this you can set a random seed:
Usage
var FakerHandlebarsHelper = ;Faker;
Changelog
Take a look at the CHANGELOG.md.
Contribution
You're free to contribute to this project by submitting issues and/or pull requests. This project is test-driven, so keep in mind that every change and new feature should be covered by tests. This project uses the semistandard code style.
License
This project is licensed under MIT.