Schniz / bs-faker

Faker.js bindings for BuckleScript in Reason
MIT License
17 stars 8 forks source link

Add bindings for `random` #28

Closed miluoshi closed 5 years ago

miluoshi commented 5 years ago

I didn't add bindings for objectElement because I don't see how it could be used from Reason side and I don't know how to type dynamic objects. float and hexaDecimal functions are not included in faker@4.1.0, thus bindings for those are not included too.

closes #14

Schniz commented 5 years ago

I agree on objectElement, feels weird. If someone will want to use it, I'll be happy to accept a PR.

About the version, I just saw that Faker didn't get any new version for the last year! weird

miluoshi commented 5 years ago

Yup, no version updates for the last year, but the new functions are included in the master branch. So the only way to use them is to use direct github repo url instead of version identifier ^4.1.0 in package.json.