# proj4-merge

> Merge Multiple Proj4 Instances

Latest version **0.1.1** (published 2022-08-06) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install proj4-merge
pnpm add proj4-merge
yarn add proj4-merge
bun add proj4-merge
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2022-08-06 |
| First published | 2021-12-09 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel J. Dufour |
| Maintainers | danieljdufour |
| Keywords | coordinate, crs, geodesy, geospatial, gis, proj4, proj4js, projection, projections, reference, srs, system |

## Links

- npm: https://www.npmjs.com/package/proj4-merge
- Repository: https://github.com/DanielJDufour/proj4-merge
- Homepage: https://github.com/DanielJDufour/proj4-merge#readme
- Issues: https://github.com/DanielJDufour/proj4-merge/issues
- npm.io page: https://npm.io/package/proj4-merge

## Recent versions

- 0.1.1 (latest) — 2022-08-06
- 0.1.0 — 2022-07-28
- 0.0.2 — 2021-12-10
- 0.0.1 — 2021-12-09

## README

# proj4-merge
Merge Multiple Proj4 Instances

# install
```bash
npm install proj4-merge
```

# usage
```js
import merge from "proj4-merge";

import proj4 from "proj4";
import proj4FullyLoaded from "proj4-fully-loaded";
import proj4AnotherOne from "proj4-another-one";

// target is the proj4 that will be updated
const target = proj4;

// sources supply extra definitions
const sources = [proj4FullyLoaded, proj4AnotherOne];

// adds the projection definitions from the sources to the target
merge(target, sources);

// you can also merge using spread arguments
merge(target, proj4FullyLoaded, proj4AnotherOne);
```

# references:
- proj4js: https://github.com/proj4js/proj4js

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