# faker.js - Node 및 브라우저상에서 가짜 데이터 생성

> Clean Markdown view of GeekNews topic #3166. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3166](https://news.hada.io/topic?id=3166)
- GeekNews Markdown: [https://news.hada.io/topic/3166.md](https://news.hada.io/topic/3166.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-11-08T10:25:26+09:00
- Updated: 2020-11-08T10:25:26+09:00
- Original source: [github.com](https://github.com/Marak/faker.js)
- Points: 13
- Comments: 3

## Topic Body

- 다양한 가짜 데이터를 서버/브라우저에서 생성해주는 라이브러리

- 다국어 지원 (ko 포함)

- 주소, 상품, 회사, 데이터베이스(컬럼,타입), 날짜, 재무, 이미지, 이름, 음악, 자동차, 시스템파일 등

ㅤ→ 각각 세부 필드별로 상세하게 생성 가능

## Comments



### Comment 3418

- Author: say8425
- Created: 2020-11-08T17:14:00+09:00
- Points: 2

생각외로 쓰기 어려운 라이브러리.

의도한대로 faker js 가 100% 내보낼거라고 가정하지마시고

쓰시려는 기능의 코드를 뜯어서

어떻게 돌아가는지 확인하시고 - 깃헙 해당 레퍼지 안에서 검색을

활용하세요. 로직에 대한 코드는 대부분

한두줄 밖에 안해서 이해하기 쉽습니다 - 사전에 충분한 테스트를 권장합니다

### Comment 3419

- Author: say8425
- Created: 2020-11-08T17:14:32+09:00
- Points: 2
- Parent comment: 3418
- Depth: 1

만약 node 환경 안써도 되고 단순한 가짜 데이터 생성이 필요하시다면

faker.js 가 inspire 받았다는 원본 faker-ruby 를 강략히 추천합니다.

https://github.com/faker-ruby/faker

### Comment 3417

- Author: e1q88
- Created: 2020-11-08T15:11:46+09:00
- Points: 1

https://github.com/marak/Faker.js

꽤 오래전에 만들어진 프로젝트이군요.

머신러닝 소스나, DB 부하용 데이터로 사용하기에 좋아보이네요
