package faker

  1. Overview
  2. Docs

0.1.1

  • Fix the test suite on FreeBSD. Distributor.exponential calls the platform's libm pow, as faker-js does through Math.pow, so its results can differ in the last bit between platforms. The parity tests now compare those cases (number int/exp and float/exp) with a tiny tolerance, and the README lists this under known differences. The library itself is unchanged.
  • CI also runs the tests on FreeBSD.

0.1.0

Initial release: an OCaml port of @faker-js/faker 10.6.0.

  • All 26 faker-js modules, each exposed as Faker.<Module>.
  • All 77 faker-js locales, as Faker.Locales.<Code>. A program links only the locales it references, and Faker.All_locales links all of them.
  • Seed-for-seed output parity with faker-js 10.6.0, checked by dune test against fixtures generated by running faker-js itself.
  • Faker.Number.big_int with arbitrary precision via Faker.Bigint.
  • Depends only on the OCaml stdlib and unix.