Gathering detailed insights and metrics for ef-infinite-canvas
Gathering detailed insights and metrics for ef-infinite-canvas
Gathering detailed insights and metrics for ef-infinite-canvas
Gathering detailed insights and metrics for ef-infinite-canvas
npm install ef-infinite-canvas
Typescript
Module System
Node Version
NPM Version
77.4
Supply Chain
87.6
Quality
79.8
Maintenance
100
Vulnerability
100
License
Updated on 29 Nov 2024
TypeScript (95.21%)
JavaScript (4.02%)
Vue (0.56%)
HTML (0.14%)
CSS (0.05%)
Dockerfile (0.02%)
Cumulative downloads
Total Downloads
Last day
87.9%
Compared to previous day
Last week
161.5%
Compared to previous week
Last month
-25.5%
Compared to previous month
Last year
-39.4%
Compared to previous year
InfiniteCanvas
wraps an HTML5 <canvas>
element and allows the user to zoom, pan and rotate the contents of the canvas. Content can be drawn on the canvas using the CanvasRenderingContext2D
that is returned by InfiniteCanvas
's getContext
method.
1var canvasElement = document.getElementById("canvas"); 2var infiniteCanvas = new InfiniteCanvas(canvasElement); 3var context = infiniteCanvas.getContext("2d");
InfiniteCanvas
has no dependencies that are not devDependencies
.
Include InfiniteCanvas
in your web page:
1<script src="https://cdn.jsdelivr.net/npm/ef-infinite-canvas@0.6.7/dist/infinite-canvas.umd.cjs"></script>
or install it using npm:
npm install ef-infinite-canvas
npm run build
Testing InfiniteCanvas
happens on two levels. One level is the jest
tests that are run using
npm run test
The other level of testing happens by (first running npm run build
and then) running
npm run test-e2e
which will start a server that serves pages in which InfiniteCanvas
is used, and which will then run jest
tests that use Puppeteer to manipulate those pages and jest-image-snapshot
to compare screenshots.
First run npm run dev-app:build
once. Then npm run dev
will run an app that displays all manner of use cases for InfiniteCanvas, served by Vite.
Even though not much has happened in this repository lately, I have not forgotten about it. Quite to the contrary, there are a lot more features I'm planning to add in the not-too-distant future.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
9 existing vulnerabilities detected
Details
Reason
Found 0/23 approved changesets -- 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
security policy file not detected
Details
Reason
project is not fuzzed
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
Score
Last Scanned on 2024-12-02
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