Socket
Socket
Sign inDemoInstall

epsg

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    epsg

List of all EPSG definitions from Proj4JS, adapted from proj4js-defs.


Version published
Maintainers
1
Install size
502 kB
Created

Readme

Source

EPSG definitions for Proj4JS

This library is just a convenient container of as many EPSG definitions of possible. For when "just make it work" is more important than saving bytes.

Usage:

var epsg = require('epsg')
console.log(epsg['EPSG:3857']);

// +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs

You can access the crs-defs.json file directly if that's useful, for instance with the reproject library:

reproject --crs-defs=node_modules/epsg/crs-defs.json ...

FAQs

Last updated on 10 Aug 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