npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

china-area-data-new

v10.2.1

Published

中国省份城市区数据

Downloads

2,252

Readme

中国行政区域数据 2023/9/18更新 更新到4级地址(县城下面一级乡镇)

安装

npm i china-area-data-new

版本说明

目录下的 data.json 默认为最新版本。务必先查看变更再升级大版本。

v6

2023/09/18 更新

v5

国家统计局统计数据(2019年10月31日)

  • 更新最新数据。
  • 东莞和中山没有区,填充了下一级的县信息。
  • 补充了台湾省数据。
  • 增加 data-array.json 数组格式。

v4

同 v3,但是把原来应该在县下的从直辖市分离出来。

v3

最新县及县以上行政区划代码(截止2016年7月31日)

v2

最新县及县以上行政区划代码(截止2015年9月30日)

更新

v4.0.0

数据源同 v3,但是重庆下的县作为列表放出来。

v3.0.0

根据 2017.03.10 统计局数据进行更新

v2.1.0

简化市辖区,不加市前缀。比如 北京市 - 北京市市辖区 - 东城区 => 北京市 - 市辖区 - 东城区

v2.0.0

  • 按照最新统计局数据进行更新,部分区域已经不存在,部分id做了更新。因此请谨慎更新,评估后端数据存储设计和前端交互再进行更新,避免错误更新用户数据或者导致数据丢失。

完整更新如图