Socket
Socket
Sign inDemoInstall

format-spatial-ref

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    format-spatial-ref

Format WKID spatial reference variations into a standard structure.


Version published
Maintainers
2
Install size
6.82 kB
Created

Changelog

Source

[1.1.0] - 2018-06-19

Added

  • Coerce numeric-strings to numbers

Readme

Source

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

Keywords

FAQs

Last updated on 19 Jun 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc