Gathering detailed insights and metrics for @maplibre/ngx-maplibre-gl
Gathering detailed insights and metrics for @maplibre/ngx-maplibre-gl
Gathering detailed insights and metrics for @maplibre/ngx-maplibre-gl
Gathering detailed insights and metrics for @maplibre/ngx-maplibre-gl
npm install @maplibre/ngx-maplibre-gl
Typescript
Module System
Node Version
NPM Version
80
Supply Chain
94.8
Quality
88.7
Maintenance
100
Vulnerability
98.9
License
TypeScript (97.97%)
HTML (0.77%)
JavaScript (0.64%)
CSS (0.38%)
SCSS (0.24%)
Total Downloads
346,228
Last Day
85
Last Week
5,182
Last Month
22,493
Last Year
196,003
MIT License
90 Stars
676 Commits
31 Forks
3 Watchers
3 Branches
21 Contributors
Updated on Jul 07, 2025
Latest Version
20.0.0
Package Id
@maplibre/ngx-maplibre-gl@20.0.0
Unpacked Size
471.34 kB
Size
68.33 kB
File Count
5
NPM Version
10.8.2
Node Version
20.19.2
Published on
Jun 25, 2025
Cumulative downloads
Total Downloads
Last Day
-54.8%
85
Compared to previous day
Last Week
-17.4%
5,182
Compared to previous week
Last Month
-1.1%
22,493
Compared to previous month
Last Year
114.8%
196,003
Compared to previous year
1
4
Angular wrapper for maplibre-gl. It exposes a bunch of components meant to be simple to use with Angular.
Can be found here (based on the generated gh-pages in this repo): https://maplibre.org/ngx-maplibre-gl/
This is a fork of ngx-mapbox-gl and I would like to thank the maintainers there for their amazing work to build this up. It's truly a great piece of software!
The API documentation can be found here.
npm install @maplibre/ngx-maplibre-gl maplibre-gl
yarn add @maplibre/ngx-maplibre-gl maplibre-gl
There might be a need to add the following configuration to tsconfig.json
file
"compilerOptions": {
...
"strictNullChecks": false,
"skipLibCheck": true,
}
Load the CSS of maplibre-gl
For example, with angular-cli add this in angular.json
:
1"styles": [ 2 ..., 3 "./node_modules/maplibre-gl/dist/maplibre-gl.css" 4],
Or in the global CSS file (called styles.css
for example in angular-cli):
1@import '~maplibre-gl/dist/maplibre-gl.css';
Then, in your app's main module (or in any other module), import the MapComponent
:
1import { Component } from '@angular/core'; 2import { MapComponent } from '@maplibre/ngx-maplibre-gl'; 3 4@NgModule({ 5 template: ` 6 <mgl-map 7 [style]="'https://demotiles.maplibre.org/style.json'" 8 [zoom]="[9]" 9 [center]="[-74.5, 40]" 10 > 11 </mgl-map> 12 `, 13 styles: [ 14 ` 15 mgl-map { 16 height: 100%; 17 width: 100%; 18 } 19 `, 20 ], 21 imports: [MapComponent], 22}) 23export class AppComponent {}
No vulnerabilities found.
Reason
8 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 10/18 approved changesets -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
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