| description | Modern replacements for the unmaintained faker package generating massive amounts of fake (but realistic) data |
|---|
@faker-js/faker is a direct, community‑maintained fork of faker with new features, bugfixes, modern ESM/CJS builds, and updated data/locales.
const faker = require('faker') // [!code --]
const { faker } = require('@faker-js/faker') // [!code ++]
faker.datatype.boolean()
faker.image.avatar()