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.5
Supply Chain
87.6
Quality
79.8
Maintenance
100
Vulnerability
100
License
TypeScript (95.26%)
JavaScript (3.98%)
Vue (0.56%)
HTML (0.14%)
CSS (0.05%)
Dockerfile (0.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
117 Stars
308 Commits
11 Forks
6 Watching
3 Branches
1 Contributors
Latest Version
0.6.7
Package Id
ef-infinite-canvas@0.6.7
Unpacked Size
373.54 kB
Size
71.43 kB
File Count
18
NPM Version
9.2.0
Node Version
18.12.1
Publised On
05 Oct 2024
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
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
30 commit(s) and 0 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
4 existing vulnerabilities detected
Details
Reason
Found 0/27 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-23
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