# nodeJs随机生成国内地址

* 抖音：<https://v.douyin.com/hckdfur/>
* B站：<https://www.bilibili.com/video/BV1yM4y1w7Ct/>

> 工具地址：<https://github.com/moonrailgun/chinese-address-generator>

给大家推荐一个随机生成

国内地址的（nodeJs）类库

比如这样我先生成100个

执行一下

当然了这些地址都是假地址

用于咱们当测试数据是完全没有问题

这个类库呢就是这个

moonrailgun/chinese-address-generator

然后呢他生成分五种

一种是仅生成这个第一级（就是省）

然后第二级

第3级

第四级... 刚才用的是完整的带门牌号的


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/nodejs-sui-ji-sheng-cheng-guo-nei-di-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
