Skip to content

how can I require the faker-js in node js? #1776

Closed Answered by ST-DDT
md-ataur asked this question in Q&A
Discussion options

You must be logged in to vote

Did you follow the steps listed in our guide?

npm install @faker-js/faker
import { faker } from '@faker-js/faker';

If that doesn't help please share your package.json, the respecitive script and the error message your are getting.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xDivisionByZerox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants