Get the tools for the city where your phone number is located
$ npm install icity --save
console.log(JSON.stringify(icity.parse('13810570000')))
// > {"province":"北京","city":"北京","areaCode":"010","provider":"中国移动"}
console.log(JSON.stringify(icity.parse('13820570000')))
// > {"province":"天津","city":"天津","areaCode":"022","provider":"中国移动"}
MIT © zswang