Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aj-screen-recoder
Advanced tools
This library was generated with Angular CLI version 9.1.12.
step1: npm i aj-screen-recoder
step2: Include module called AjScreenRecoderModule
in your project main module called app.module.ts
step3:
import { AjScreenRecoderModule } from 'aj-screen-recoder';
@NgModule({
imports: [
...
AjScreenRecoderModule
],
Include this any one of your component and get the instance of this component using as below
<aj-screen-recoder #screenRecorder></aj-screen-recoder>
@ViewChild(AjScreenRecoderComponent) startRecordElm: AjScreenRecoderComponent;
/** Call this method for start record your screen*/
this.startRecordElm.startRecorder();
/** Call this method for stop recording the screen*/
this.startRecordElm.stopRecording();
/** After stop call this method for download the video file*/
this.startRecordElm.download();
/** After stop call this method to get the video blob file*/
this.startRecordElm.getBlob();
/** After stop recodering this method to get the video data stream url to play recorded video*/
this.startRecordElm.getVideoStreamURL();
/**To pause the screen recording*/
this.startRecordElm.pauseVideo();
Run ng generate component component-name --project aj-screen-recoder
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project aj-screen-recoder
.
Note: Don't forget to add
--project aj-screen-recoder
or else it will be added to the default project in yourangular.json
file.
Run ng build aj-screen-recoder
to build the project. The build artifacts will be stored in the dist/
directory.
After building your library with ng build aj-screen-recoder
, go to the dist folder cd dist/aj-screen-recoder
and run npm publish
.
Run ng test aj-screen-recoder
to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
FAQs
Angular library to record screen sharing.
We found that aj-screen-recoder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.