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.
ngx-pwa-icons
Advanced tools
Automatic icon generator for Angular 6+ with PWA.
Create an icon in the root folder of your Angular project and use ngx-pwa-icons
to automatically resize and replace the original PWA icons.
Installation via npm
:
$ npm install -g ngx-pwa-icons
$ sudo npm install -g ngx-pwa-icons
This will install ngx-pwa-icons
globally so that it may be run from the command line.
Add PWA capabilities to an existing Angular 6+ app.
$ ng add @angular/pwa
Create an icon.png
file in the root folder of your Angular project.
Then run:
$ ngx-pwa-icons
For good results, your icon.png
file should be:
-h
or --help
Show help
-v
or --version
Show package version number
-d
or --dry-run
Run through without making any changes
-i
or --icon
Original icon to convert (defaults to "./icon.png")
-o
or --output
Output folder (defaults to "./src/assets/icons")
-s
or --size
Resize icons to px (defaults to "512, 384, 192, 152, 144, 128, 96, 72")
-n
or --name
Icon name.
Replaces wildcard character * with icons size (defaults to "icon-*x*.png")
Eg: ngx-pwa-icons -s "100,200,300" -n "icon_*_*.png"
generates icon_100_100.png, icon_200_200.png and icon_300_300.png,
FAQs
Generate Custom Angular6+ PWA icons
The npm package ngx-pwa-icons receives a total of 88 weekly downloads. As such, ngx-pwa-icons popularity was classified as not popular.
We found that ngx-pwa-icons 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.