random-china-city-name
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

随机中国城市名称

randomCityName 函数,随机生成一个中国的城市名,包括县城,但不包含市区。

Installation

Install my-project with npm

 # npm  
 npm install random-china-city-name 
 # yarn
 yarn add random-china-city-name 
 

Usage/Examples

// ts/esmodule
 import { randomCityName}    from 'random-china-city-name';
// commonjs
const {randomCityName} = require('random-china-city-name');

let randomName = randomCityName();
console.log(randomName);

License

MIT

Package Sidebar

Install

npm i random-china-city-name

Weekly Downloads

0

Version

0.0.4

License

ISC

Unpacked Size

340 kB

Total Files

18

Last publish

Collaborators

  • wflixu