# @esri/proj-codes

> Get WKT and other metadata associated with an Esri/EPSG factory code.

Latest version **3.7.0** (published 2026-05-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @esri/proj-codes
pnpm add @esri/proj-codes
yarn add @esri/proj-codes
bun add @esri/proj-codes
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 3.7.0 |
| Published | 2026-05-15 |
| First published | 2018-04-23 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 64 |
| Author | Chris Helm |
| Maintainers | patrickarlt, tomwayson, dbouwman, mjuniper, rweber.esri, ajturner, richgwozdz |
| Keywords | esri, arcgis, projections, wkid, wkt |

## Links

- npm: https://www.npmjs.com/package/@esri/proj-codes
- Repository: https://github.com/Esri/projection-engine-db-doc
- Homepage: https://github.com/Esri/projection-engine-db-doc#readme
- Issues: https://github.com/Esri/projection-engine-db-doc/issues
- npm.io page: https://npm.io/package/@esri/proj-codes

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 3.7.0 (latest) — 2026-05-15
- 3.6.0 — 2025-11-07
- 3.5.0 — 2025-05-07
- 3.4.0 — 2024-10-31
- 3.3.0 — 2024-04-26
- 3.2.0 — 2023-10-27
- 3.1.0 — 2023-01-05
- 3.0.0 — 2022-06-23
- 2.9.0 — 2021-12-07
- 2.8.0 — 2021-05-06
- 2.7.0 — 2020-12-18
- 2.6.0 — 2020-05-14
- 2.5.0 — 2020-05-14
- 2.3.0 — 2019-02-13
- 2.2.0 — 2018-09-20
- … 1 more at https://npm.io/package/@esri/proj-codes/versions

## README

# @esri/proj-codes

[![npm version](https://img.shields.io/npm/v/@esri/proj-codes.svg?style=flat-square)](https://www.npmjs.com/package/@esri/proj-codes)
[![build status](https://img.shields.io/travis/Esri/proj-codes/master.svg?style=flat-square)](https://travis-ci.org/Esri/proj-codes)

This module provides a method for looking up information about the Coordinate Reference Systems (CRS) shipped with ArcGIS.

Provide a Well Known ID (WKID) to the `lookup()` method and the CRS Name, Well Known Text (WKT) and other metadata will be returned.

##  Usage

```console
npm install @esri/proj-codes
```

Then require the module, call the `lookup` method and pass in your well known id of choice.

```js
const codes = require('@esri/proj-codes')

const crs = codes.lookup(3857)

crs.name
> 'WGS_1984_Web_Mercator_Auxiliary_Sphere'

crs.wkt
> 'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984"...'

crs.description
> 'WGS 1984 Web Mercator Major Auxiliary Sphere'

crs.authority
> 'EPSG'

crs.deprecated
> 'no'

crs.extent
> { "slat": -85.06, "nlat": 85.06, "llon": -180.0, "rlon": 180.0 }

// this works too
codes.lookup(3857).name
> 'WGS_1984_Web_Mercator_Auxiliary_Sphere'
```

## Resources

* [Using spatial references](http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Using_spatial_references/02r3000000qq000000/)
* [ArcGIS for Developers](http://developers.arcgis.com)

## Issues

Find a bug or want to request a new feature? Please let us know by submitting an [issue](https://github.com/Esri/projection-engine-db-doc/issues).

## Contributing

Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/Esri/contributing).

## [Changelog](https://github.com/Esri/projection-engine-db-doc/blob/master/CHANGELOG.md)

## Licensing

Copyright &copy; 2010-2026 Esri

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

> http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

A copy of the license is available in the repository's [LICENSE](../LICENSE) file.

---
_Source: https://npm.io/package/@esri/proj-codes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
