Gathering detailed insights and metrics for @hanreev/types-ol
Gathering detailed insights and metrics for @hanreev/types-ol
Gathering detailed insights and metrics for @hanreev/types-ol
Gathering detailed insights and metrics for @hanreev/types-ol
npm install @hanreev/types-ol
Typescript
Module System
Node Version
NPM Version
70.4
Supply Chain
99.5
Quality
76.2
Maintenance
100
Vulnerability
98.9
License
TypeScript (83.44%)
JavaScript (16.54%)
Shell (0.02%)
Total Downloads
109,112
Last Day
1
Last Week
65
Last Month
445
Last Year
12,390
35 Stars
149 Commits
9 Forks
5 Watching
5 Branches
1 Contributors
Latest Version
7.2.0
Package Id
@hanreev/types-ol@7.2.0
Unpacked Size
679.44 kB
Size
131.13 kB
File Count
344
NPM Version
8.19.3
Node Version
16.19.0
Publised On
10 Jan 2023
Cumulative downloads
Total Downloads
Last day
-66.7%
1
Compared to previous day
Last week
-52.6%
65
Compared to previous week
Last month
-39.5%
445
Compared to previous month
Last year
-24.6%
12,390
Compared to previous year
6
29
Definitions from this project will be syncronized with official @types/ol package.
As of v6.6.0, OpenLayers has officially provided its own TypeScript definitions. Installation of third party package like @hanreev/types-ol or @types/ol may no longer be needed.
This project contains TypeScript definition for OpenLayers v6.x.x
that includes all documented API and protected class members and methods.
Check v5.3.x branch for OpenLayers v5.3.x
definitions.
1# NPM 2npm i -D @hanreev/types-ol 3 4# Yarn 5yarn add -D @hanreev/types-ol
1# NPM 2npm i -D @hanreev/types-ol@dev 3 4# Yarn 5yarn add -D @hanreev/types-ol@dev
Add ol
and ol/*
to compilerOptions.paths
in tsconfig.json
1// file: tsconfig.json 2 3{ 4 "compilerOptions": { 5 ... 6 "baseUrl": "./", 7 "paths": { 8 "ol": ["node_modules/@hanreev/types-ol/ol"], 9 "ol/*": ["node_modules/@hanreev/types-ol/ol/*"] 10 }, 11 ... 12 } 13}
Configuration is located at jsdoc/conf.json
1// file: jsdoc/conf.json 2 3{ 4 "source": { 5 ... 6 "include": [ 7 "openlayers/src/ol" // openlayers source 8 ] 9 }, 10 ... 11 "typescript": { 12 "moduleRoot": "openlayers/src", // openlayers source 13 "definition": { 14 "strictReturnTypes": false // set to true to include undefined and null return. 15 } 16 }, 17 ... 18}
Install all dependencies
1# NPM 2npm i 3 4# Yarn 5yarn install
Run build
1# NPM 2npm run build-format && npm run lint 3 4# Yarn 5yarn build-format && yarn lint
Run test
1# NPM 2npm run lint-test && npm run test 3 4# Yarn 5yarn lint-test && yarn test
Note:
Some definitions were patched manually. If you found any error please create a new issue.
Copyright © 2019 Rifa'i M. Hanif
Licensed under MIT License
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-16
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