Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json 파일로 export하는 기능을 추가한다 #5

Open
airman5573 opened this issue Oct 19, 2022 · 0 comments
Open

json 파일로 export하는 기능을 추가한다 #5

airman5573 opened this issue Oct 19, 2022 · 0 comments

Comments

@airman5573
Copy link
Collaborator

airman5573 commented Oct 19, 2022

const result = generate(commentSchema, 100);

fs.writeFile("output.json", JSON.stringify(result), "utf8", (err) => {
  if (err) throw err;
});
  1. Command Line에서 사용자랑 interactive하게 생성할 수 있도록 하는 방법
  2. index.js파일에서 그냥 output path를 코드로 지정하는 방법
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant