# jmap-app-js

> K2 Geospatial Web API

Latest version **2.22.0** (published 2025-01-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install jmap-app-js
pnpm add jmap-app-js
yarn add jmap-app-js
bun add jmap-app-js
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.22.0 |
| Published | 2025-01-15 |
| First published | 2020-03-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 41 |
| Unpacked size | 12.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | K2 Geospatial developer |
| Maintainers | k2-dev |

## Links

- npm: https://www.npmjs.com/package/jmap-app-js
- npm.io page: https://npm.io/package/jmap-app-js

## Dependencies (41)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [xlsx](https://npm.io/package/xlsx.md) ^0.17.1
- [axios](https://npm.io/package/axios.md) ^0.21.4
- [color](https://npm.io/package/color.md) ^3.1.3
- [jspdf](https://npm.io/package/jspdf.md) ^2.3.1
- [react](https://npm.io/package/react.md) ^17.0.2
- [redux](https://npm.io/package/redux.md) ^4.1.1
- [formik](https://npm.io/package/formik.md) ^2.2.9
- [core-js](https://npm.io/package/core-js.md) ^3.10.0
- [date-fns](https://npm.io/package/date-fns.md) ^2.23.0
- [geometric](https://npm.io/package/geometric.md) ^2.5.0
- [mapbox-gl](https://npm.io/package/mapbox-gl.md) ^1.13.1
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [svg-parser](https://npm.io/package/svg-parser.md) ^2.0.4
- [react-color](https://npm.io/package/react-color.md) ^2.19.3
- [react-redux](https://npm.io/package/react-redux.md) ^7.2.5
- [@turf/circle](https://npm.io/package/@turf/circle.md) ^6.5.0
- [jmap-core-js](https://npm.io/package/jmap-core-js.md) 2.22.0
- [json-pointer](https://npm.io/package/json-pointer.md) ^0.6.1
- [react-select](https://npm.io/package/react-select.md) ^4.3.1
- [react-window](https://npm.io/package/react-window.md) ^1.8.6
- [@turf/helpers](https://npm.io/package/@turf/helpers.md) 6.5.0
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [@material-ui/lab](https://npm.io/package/@material-ui/lab.md) ^4.0.0-alpha.60
- [@date-io/date-fns](https://npm.io/package/@date-io/date-fns.md) ^1.3.13
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.12.3
- [hast-util-to-html](https://npm.io/package/hast-util-to-html.md) ^8.0.3
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ^4.11.2
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.9
- [@material-ui/pickers](https://npm.io/package/@material-ui/pickers.md) ^3.3.10
- [normalize-diacritics](https://npm.io/package/normalize-diacritics.md) ^3.0.0
- [material-design-icons](https://npm.io/package/material-design-icons.md) ^3.0.1
- [react-swipeable-views](https://npm.io/package/react-swipeable-views.md) ^0.14.0
- [@mapbox/mapbox-gl-draw](https://npm.io/package/@mapbox/mapbox-gl-draw.md) 1.3.0
- [@fortawesome/fontawesome-pro](https://npm.io/package/@fortawesome/fontawesome-pro.md) ^5.15.0
- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) ^0.1.11
- [@fortawesome/pro-light-svg-icons](https://npm.io/package/@fortawesome/pro-light-svg-icons.md) ^5.15.0
- [@fortawesome/pro-solid-svg-icons](https://npm.io/package/@fortawesome/pro-solid-svg-icons.md) ^5.15.0
- [@fortawesome/fontawesome-svg-core](https://npm.io/package/@fortawesome/fontawesome-svg-core.md) ^1.2.31
- [@fortawesome/pro-duotone-svg-icons](https://npm.io/package/@fortawesome/pro-duotone-svg-icons.md) ^5.15.0
- [@fortawesome/pro-regular-svg-icons](https://npm.io/package/@fortawesome/pro-regular-svg-icons.md) ^5.15.0

## Recent versions

- 2.22.0 (latest) — 2025-01-15
- 2.21.1 (7_Kathmandu_HF21) — 2025-01-14
- 2.20.6 (7_Kathmandu_HF20) — 2024-11-13
- 2.19.0 (7_Kathmandu_HF19) — 2024-04-03
- 2.18.7 (7_Kathmandu_HF18) — 2024-04-03
- 2.17.6 (7_Kathmandu_HF17) — 2024-03-15
- 2.16.6 (7_Kathmandu_HF16) — 2024-03-07
- 2.15.1 (7_Kathmandu_HF15) — 2024-03-01
- 2.14.15 (7_Kathmandu_HF14) — 2024-03-01
- 2.12.11 (7_Kathmandu_HF13) — 2023-10-09
- 2.10.16 (7_Kathmandu_HF10) — 2023-07-20
- 2.9.23 (7_Kathmandu_HF9) — 2023-05-03
- 2.8.23 (7_Kathmandu_HF8) — 2022-12-20
- 2.7.15 (7_Kathmandu_HF7) — 2022-12-16
- 2.6.11 (7_Kathmandu_HF6) — 2022-12-16
- … 330 more at https://npm.io/package/jmap-app-js/versions

## README

#### The first time, install dependencies :

    npm i

#### To start the application :

    npm start

The application is accessible at this location : http://localhost:8082

When code is changed, it's automatically built and the web page refresh by its own (thanks webpack dev server).

#### Install the following vs-code extensions :

    - https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
    - "Prettier - Code formatter" extention (Author : Esben Petersen)


#### VPS publishing

When working in a VPS environment, your personal VPS expect to find the Portal compiled sources in a local diretory inside the web hosting VPS infrascructure.

IMPORTANT: To be able to serve NG onn your VPS you need to "syncAndBuild" both app-js and core-js

To achieve this you must run this command inside the root of your local checkout of app-js, and core-js, in turn (build order is not important):

    // inside app-js:
    ./syncAndBuild.sh <vps-prefix>

    // and then inside core-js:
    ./syncAndBuild.sh <vps-prefix>

If your vps is "dev-jdoe.jmapcloud.io" then you should run:

    ./syncAndBuild.sh dev-jdoe

after build, your compiled portal would be accessible at https://ng.dev-jdoe.jmapcloud.io/

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