@abrezina/dummy-data 中文文档教程
dummy-data
简单的 node.js 库,用于为测试生成虚拟数据或为 anomym 数据使用假名称
install
```sh npm install --save @abrezina/dummy-data
## person generator
Generates a person object with firstname, surname and country.
Firstname and surname are the 98 most common for the country.
The country is one of DE, US and JP.
### example
js var personGenerator = require('@abrezina/dummy-data').personGenerator;
var randomPerson = personGenerator.generate();
console.log('你好 %s %s 来自 %s', randomPerson.firstname, randomPerson.surname, randomPerson.country); ```
dummy-data
Simple node.js library for generating dummy data for tests or to use fake names for anomym data
install
```sh npm install --save @abrezina/dummy-data
## person generator
Generates a person object with firstname, surname and country.
Firstname and surname are the 98 most common for the country.
The country is one of DE, US and JP.
### example
js var personGenerator = require('@abrezina/dummy-data').personGenerator;
var randomPerson = personGenerator.generate();
console.log('Hello %s %s from %s', randomPerson.firstname, randomPerson.surname, randomPerson.country); ```
更多
你可能也喜欢
- 14_vue_component 中文文档教程
- 4lyrics 中文文档教程
- @160over90/vue-floating-list-view 中文文档教程
- @18xx-maker/schemas 中文文档教程
- @352inc/react-native-aws-cognito-js 中文文档教程
- @42.nl/spring-connect 中文文档教程
- @7isys/loopback-component-realtime 中文文档教程
- @aavenel/ckeditor5-build-classic-source-editing 中文文档教程
- @ablanc/reverso-api 中文文档教程
- @absinthe/socket-apollo-link 中文文档教程