Gathering detailed insights and metrics for geometry-interfaces
Gathering detailed insights and metrics for geometry-interfaces
Gathering detailed insights and metrics for geometry-interfaces
Gathering detailed insights and metrics for geometry-interfaces
The W3C Geometry Interfaces implemented in JavaScript and polyfilled.
npm install geometry-interfaces
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
20 Stars
72 Commits
4 Forks
5 Watching
2 Branches
4 Contributors
Updated on 04 Mar 2023
Minified
Minified + Gzipped
JavaScript (89.43%)
Shell (10.57%)
Cumulative downloads
Total Downloads
Last day
-0.7%
22,725
Compared to previous day
Last week
4.4%
120,448
Compared to previous week
Last month
8.2%
506,996
Compared to previous month
Last year
-3.6%
5,651,855
Compared to previous year
The W3C Geometry Interfaces implemented in JavaScript and polyfilled.
If you're using a module system, just import the library after installing it from NPM:
1import 'geometry-interfaces' // ES2015 Modules 2// or 3require('geometry-interfaces') // CommonJS 4// or 5define(['geometry-interfaces'], () => {}) // AMD
You can also clone this repo, then you'll see a global.js
file in the root of
the project that you can copy over to your project and load with a <script>
tag, for example:
1<script src='global.js'></script>
(You can rename the file of course.)
The global.js
file is usually the one shipped with the last tagged version.
Execute npm run build-global
to update the file using the latest content in
the repo.
If you don't want to polyfill everything and you're using a module system (f.e. Rollup, Webpack, Browserify, etc), import whatever you need directly:
1import DOMMatrix from 'geometry-interfaces/DOMMatrix'
Disclaimer: I'm implementing these interfaces/APIs on an as-needed basis, so this project may not currently include all of the interfaces or APIs.
Consider bringing the web forward by making a pull request to add missing interfaces, APIs, or performance improvements (especially on the matrix calculations). :]
The word "dommetry" is a play on the words "geometry" and "DOMMatrix" put together. :D
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 3/25 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
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
license file not detected
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
Score
Last Scanned on 2024-11-18
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