Gathering detailed insights and metrics for ngx-window-token
Gathering detailed insights and metrics for ngx-window-token
Gathering detailed insights and metrics for ngx-window-token
Gathering detailed insights and metrics for ngx-window-token
npm install ngx-window-token
Typescript
Module System
Min. Node Version
TypeScript (60%)
JavaScript (24.14%)
HTML (9.33%)
Dockerfile (4.71%)
SCSS (1.82%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
20 Stars
77 Commits
4 Forks
3 Watchers
4 Branches
5 Contributors
Updated on Nov 20, 2023
Latest Version
7.0.0
Package Id
ngx-window-token@7.0.0
Unpacked Size
8.92 kB
Size
3.33 kB
File Count
18
Published on
Apr 10, 2023
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
1
2
This project was generated with Angular CLI version 9.
It is the same way how angular handle document. With this module, you can use WINDOW token just like DOCUMENT token.
BREAKING CHANGE: Support Angular >= 15 only
BREAKING CHANGE: Support Angular >= 13 only
return undefine if window is undefine. Before, it doesn't even inject WindowToken.
removed now-unnecessary NgxWindowTokenModule
, it will be inject into root module
change WindowTokenModule
-> NgxWindowTokenModule
You can get it on npm.
npm install ngx-window-token --save
1. npm i
2. npm run build
If you use SystemJS to load your files, you might have to update your config:
1System.config({ 2 map: { 3 'ngx-window-token': 'node_modules/ngx-window-token' 4 } 5});
In your component
constructor(@Inject(WINDOW) _window) { }
For webpack / Angular CLI, it works as any other libraries. Please check demo folder for more help.
or clone this repo and run ng serve
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/11 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
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
Reason
77 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