danibram / mocker-data-generator

A simplified way to generate masive mock data based on a schema, you can use the awesome fake/random data generators like (FakerJs, ChanceJs, CasualJs and RandExpJs)
https://danibram.github.io/mocker-data-generator/
MIT License
426 stars 45 forks source link

read locale config for faker #32

Closed sleicht closed 6 years ago

sleicht commented 6 years ago

To be able to set locale for faker js I added a new faker config 'locale' street: { faker: 'address.streetAddress', locale: 'de_CH' },

danibram commented 6 years ago

Thank you! This is in my pipeline for the version 3 that im working on, in the meantime i will add tests for your changes and publish a new version! Thank you again for your time!