Gathering detailed insights and metrics for ng2-codemirror-typescript
Gathering detailed insights and metrics for ng2-codemirror-typescript
Gathering detailed insights and metrics for ng2-codemirror-typescript
Gathering detailed insights and metrics for ng2-codemirror-typescript
npm install ng2-codemirror-typescript
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
39,374
Last Day
1
Last Week
14
Last Month
71
Last Year
749
1 Stars
13 Commits
1 Forks
3 Watching
3 Branches
2 Contributors
Latest Version
3.13.1
Package Id
ng2-codemirror-typescript@3.13.1
Unpacked Size
5.84 kB
Size
2.49 kB
File Count
5
NPM Version
8.5.0
Node Version
16.14.2
Cumulative downloads
Total Downloads
Last day
-87.5%
1
Compared to previous day
Last week
-51.7%
14
Compared to previous week
Last month
97.2%
71
Compared to previous month
Last year
-75.4%
749
Compared to previous year
2
Typescript version of https://github.com/chymz/ng2-codemirror
npm install ng2-codemirror-typescript
CodeMirror library is required for this component :
npm install codemirror
CodeMirror need to be accessible by import 'codemirror'
Then you need to include base CSS of codemirror located in codemirror/lib/codemirror.css
Pay attention, if you want to use placeholder you need to import codemirror/addon/display/placeholder.js
Include CodemirrorModule
in your main module :
1import {CodemirrorModule} from 'ng2-codemirror/Codemirror'; 2 3@NgModule({ 4 // ... 5 imports: [ 6 CodemirrorModule 7 ], 8 // ... 9}) 10export class AppModule { }
1import {Component} from 'angular2/core'; 2 3@Component({ 4 selector: 'sample', 5 template: `<codemirror [(ngModel)]="code" [config]="{...}" placeholder="Here is the code placeholder"></codemirror>` 6}) 7export class Sample{ 8 constructor(){ 9 this.code = `// Some code...`; 10 } 11}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/13 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-20
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