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
TypeScript (76.02%)
JavaScript (23.98%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
17 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Oct 05, 2021
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%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
43 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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