Gathering detailed insights and metrics for @nextgis/ngw-kit
Gathering detailed insights and metrics for @nextgis/ngw-kit
Gathering detailed insights and metrics for @nextgis/ngw-kit
Gathering detailed insights and metrics for @nextgis/ngw-kit
JavaScript-libraries to speed up building of Web GIS apps based on NextGIS platform
npm install @nextgis/ngw-kit
Typescript
Module System
Node Version
NPM Version
TypeScript (62.71%)
HTML (33.63%)
JavaScript (3.26%)
CSS (0.4%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
25 Stars
2,389 Commits
10 Forks
13 Watchers
3 Branches
6 Contributors
Updated on Jul 07, 2025
Latest Version
3.0.0-alpha.20
Package Id
@nextgis/ngw-kit@3.0.0-alpha.20
Unpacked Size
2.94 MB
Size
713.73 kB
File Count
21
NPM Version
lerna/8.1.8/node@v22.14.0+x64 (win32)
Node Version
22.14.0
Published on
May 11, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A suite of frontend JavaScript libraries designed to accelerate the development of web-GIS applications using NextGIS software and services as a backend. NextGIS Frontend supports three major open-source GIS frameworks with unified interfaces.
@nextgis/[package-name]
Single-file bundles for rapid deployment of web-gis applications with NextGIS services
Bricks for build custom Web GIS frontend
Map-free libraries to interaction with NextGIS Web
Map-free tools for common purpose
Explore how NextGIS frontend libraries are utilized in actual projects:
Download and include with a script tag. [Package] will be registered as a global variable.
1<script src="./lib/[package].global.js"></script> 2<script> 3 var package = new Package(options); 4</script>
1<script type="module"> 2 import Package from 'https://unpkg.com/@nextgis/[package]/lib/[package].esm-browser.prod.js'; 3</script>
Choose between unpkg
:
1<script src="https://unpkg.com/@nextgis/[package]"></script> 2<script src="https://unpkg.com/@nextgis/[package]@[version]"></script> 3<script src="https://unpkg.com/@nextgis/[package]@[version]/lib/[file]"></script>
and jsdelivr
1<script src="https://cdn.jsdelivr.net/npm/@nextgis/[package]"></script> 2<script src="https://cdn.jsdelivr.net/npm/@nextgis/[package]@[version]/lib/[file]"></script>
[file]
- [package].[format].prod.js
[format]
:
global
- browser scriptcjs
- node moduleesm-browser
- browser moduleesm-bundler
- module for bundler systemsWe recommend linking to a specific [version]
number that you can update manually
1npm install @nextgis/[package]
then import the [package] in the project modules
1import Package from '@nextgis/[package]'; 2// or 3import { Component, utility } from '@nextgis/[package]'; 4 5const package = new Package(options);
1import { NgwMap } from '@nextgis/ngw-map'; 2 3import './leaflet-style-override.css'; 4import MapAdapter from '@nextgis/leaflet-map-adapter'; 5// OR 6// import 'ol/ol.css'; 7// import MapAdapter from '@nextgis/ol-map-adapter'; 8// OR 9// import 'maplibre-gl/dist/maplibre-gl.css'; 10// import MapAdapter from '@nextgis/maplibre-gl-map-adapter'; 11 12const ngwMap = new NgwMap(new MapAdapter(), { 13 target: "map", 14 qmsId: 448, 15 baseUrl: "https://demo.nextgis.com", 16 resources: [2011, { resource: 222, fit: true }, { resource: "keyname" }], 17}); 18ngwMap.onLoad().then(() => { 19 // do something 20});
1// from resource id 2ngwMap.addNgwLayer({ resource: 2011 }); 3// by keyname 4ngwMap.addNgwLayer({ resource: "keyname" }); 5// add vector layer from style resource 6ngwMap.addNgwLayer({ resource: "style_keyname", adapter: "GEOJSON" }); 7// add first style from vector resource (if available) 8ngwMap.addNgwLayer({ resource: "vector_keyname", adapter: "TILE" });
The resource
can be id or keyname.
Examples
Add different NextGIS Web resource
First install Yarn
1# Clone git through ssh 2git clone git@github.com:nextgis/nextgis_frontend.git 3cd ./nextgis_frontend 4# Install dependencies 5yarn install 6# Prepare packages 7yarn run bootstrap 8# Build all packages 9yarn run prod 10# Build demo app 11yarn run demo
To copy the pages of universal examples from the demo/examples into the corresponding examples of frontend libraries run
1yarn run examples
1# Go to package directory (for example webmap) 2cd ./packages/webmap 3# Run build command 4yarn run dev 5# or 6yarn run prod 7# Run watch source files changes command 8yarn run watch
Before publishing you should execute prod
script
1lerna run prod
To publish new version to git and npm run
1lerna publish
When publishing, you will need to select a new version number. It is the same for all libraries. Dependencies between packages are solved automatically.
To publish a new package, run the following command in the package folder
1npm publish --access=public
The tests are launched from the root project directory. Testing is performed for all packages.
1npm t # run all test with coverage 2npm run karma # run karma test in watch mode for development
Need to fix a bug or add a feature to NextGIS Frontend? We provide custom development and support for this software. Contact us to discuss options!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/28 approved changesets -- score normalized to 1
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
44 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More