Need private packages and team management tools?Check out npm Teams »

format-spatial-ref

1.1.0 • Public • Published

format-spatial-ref

Format WKID spatial reference variations into a standard structure.

npm travis

Install

npm install format-spatial-ref

Usage

var formatSpatialRef = require('format-spatial-ref')
 
formatSpatialRef({"wkid": 4326})
formatSpatialRef('{"wkid": 4326}')
formatSpatialRef(4326)
 
// All of the above will return { "wkid": 4326 }

Contributing

Contributions welcome! Please read the contributing guidelines first.

License

Apache-2.0

Install

npm i format-spatial-ref

DownloadsWeekly Downloads

15

Version

1.1.0

License

Apache-2.0

Unpacked Size

6.99 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar