mongoose-faker
mongoose-faker copied to clipboard
@faker-js/faker instead of faker
Hi,
first I wanted to say thanks, for this awesome package.
Would it be possible to use @faker-js/faker
(https://www.npmjs.com/package/@faker-js/faker) instead of faker
?
I have done this locally by overwriting the faker package in my package.json with:
"faker": "npm:@faker-js/faker@latest"
The only things that I had to change in your package was using the dependency @faker-js/faker
and adjusting the import from:
import faker from 'faker';
to
import { faker } from '@faker-js/faker';
Would be really great as the @faker-js/faker
package has a lot of new generator functions.
Thanks and best, Chris
@lykmapipo any word on this? The original 'faker'
npm module has been completely wiped by the maintainer. Check the Github repo is now missing and the npm page has empty README so the maintainer had to go out of his way to publish an empty version. @faker-js/faker
has now replaced it and is community maintained. Here is the website at fakerjs.dev