states-countify

0.0.2 • Public • Published

states-countify

Now available as an NPM, states-countify is the repository for all fifty, nifty United states.

Install

    
    $ npm install --save states-countify

Or you can have a look at the source and take what you need. The advantage of installing with npm is the ease of having all 50 states on a single require.

Usage

  
    var USA = require('states-countify');
 
    // JSON String
    var arizona = USA.AZ;
 
    // JS Object
    var arizonaGeometries = JSON.parse(arizona);

Now that you have the data, play with it!

Playgrounds

Sample Libraries

Tutorials Worth Looking At

Alternatives

Thanks

Thanks to @johan's world.geo.json repo, I was able to compile all of the county multipolygons for each respective state. Clone and use as you wish. I'd love to see what projects you work on given the data!

Thanks to @substack for encouraging everyone to publish everything on NPM.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i states-countify

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • francismakes