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

basemap-data-catalog

v1.2.2

Published

* These files are in GeoJSON format unless otherwise noted. * These files use WGS84 coordinates unless otherwise noted. * Polygon and line files inside the `1km` directory are simplified at around 1km resolution. * Polygon and line files outside the `1km`

Downloads

6

Readme

Catalog of data layers

  • These files are in GeoJSON format unless otherwise noted.
  • These files use WGS84 coordinates unless otherwise noted.
  • Polygon and line files inside the 1km directory are simplified at around 1km resolution.
  • Polygon and line files outside the 1km directory are unsimplified.
  • Most polygon and line files are derived from Collins-Bartholomew data (see the Sources section below).

world_country_polygon

world_country_polygon.json

1km/world_country_polygon.json

Note: Disputed territories are included with the country that has administrative control, with the exception of Crimea, which is included as a separate polygon with geoid 'CRM'.

world_country_line

world_country_line.json

1km/world_country_line.json

Note: The "type" attribute takes one of three values: inner, outer and disputed.

world_land_polygon

world_land_polygon.json

1km/world_land_polygon.json

world_road_line

world_road_line.json

1km/world_road_line.json

world_road_line_simpler.json

1km/world_road_line_simpler.json

world_road_line_simplest.json

1km/world_road_line_simplest.json

Note: The "simpler" files exclude "secondary" roads, and the "simplest" files exclude "primary" roads and retain only "motorway" roads. The primary, secondary and motorway designations come from Collins-Bartholomew.

world_cities

Filtered by scalerank:

s0/world_cities.json

s1/world_cities.json

s2/world_cities.json

s3/world_cities.json

s4/world_cities.json

s5/world_cities.json

s6/world_cities.json

s7/world_cities.json

s8/world_cities.json

Note: These files come from Natural Earth.

Note: The label-text, dx, dy and text-anchor attributes are interpreted by mapshaper and our basemap generator.

usa_adm1_innerline

usa_adm1_innerline.json

1km/usa_adm1_innerline.json

Note: This layer contains internal U.S. state boundaries.

usa_urban_polygon

usa_urban_polygon.json

1km/usa_urban_polygon.json

world_water_polygon

world_water_polygon.json

1km/world_water_polygon.json

world_water_line

world_water_line.json

1km/world_water_line.json

Sources

Collins-Bartholomew (CB)

The full collection of Collins-Bartholomew Shapefiles can be found on the Graphics server. These files are updated several times a year, and are an excellent source for up-to-date administrative boundaries. The data is not detailed enough for mapping small areas.

Natural Earth (NA)

We're using Natural Earth for city labels, because the scalerank attribute is very useful for controlling the density of labels.

Updating

adding URLs to newly-added files in this document

Regex: `([^`]*?.json)`(?!\])
Replacement: [`$1`](https://int.nyt.com/newsgraphics/basemap-data/catalog/$1)