Gathering detailed insights and metrics for @tawaship/canvas-recorder
Gathering detailed insights and metrics for @tawaship/canvas-recorder
Gathering detailed insights and metrics for @tawaship/canvas-recorder
Gathering detailed insights and metrics for @tawaship/canvas-recorder
npm install @tawaship/canvas-recorder
Typescript
Module System
Node Version
NPM Version
73.2
Supply Chain
92
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (76.02%)
JavaScript (23.98%)
Total Downloads
2,246
Last Day
1
Last Week
1
Last Month
3
Last Year
275
1 Stars
17 Commits
2 Watching
1 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.1.1
Package Id
@tawaship/canvas-recorder@1.1.1
Unpacked Size
143.86 kB
Size
17.03 kB
File Count
15
NPM Version
6.14.0
Node Version
13.9.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-70%
3
Compared to previous month
Last year
-21.7%
275
Compared to previous year
Save the canvas on the web page as a video.
1git clone https://github.com/tawaship/CanvasRecorder.git
1<script src="/path/to/dist/CanvasRecorder.min.js"></script>
1npm install --save @tawaship/canvas-recorder
1import { CanvasRecorder } from '@tawaship/canvas-recorder'; 2const { CanvasRecorder } = require('@tawaship/canvas-recorder');
1const canvas = document.getElementsByTagName("canvas")[0]; // Canvas you want to record. 2CanvasRecorder.createAsync(canvas) 3 .then(recorder => { 4 recorder.start(); 5 setTimeout(()=> { 6 recorder.finishAsync() 7 .then(movie => { 8 movie.download(); 9 }); 10 }, 2000); 11 });
note:
When including the audio being played on the screen in the video, due to technical restrictions, we are executing navigator.mediaDevices.getDisplayMedia()
to share the screen.
Only the audio is extracted without capturing the screen, and the screen sharing is canceled as soon as the recording ends.
Be very careful when using it, or do not run it if you are unreliable.
1const canvas = document.getElementsByTagName("canvas")[0]; // Canvas you want to record. 2CanvasRecorder.createWithAudioAsync(canvas) 3 .then(recorder => { 4 recorder.start(); 5 setTimeout(()=> { 6 recorder.finishAsync() 7 .then(movie => { 8 movie.download(); 9 }); 10 }, 2000); 11 });
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/17 approved changesets -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Reason
40 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