New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@angular/pwa

Package Overview
Dependencies
Maintainers
2
Versions
916
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/pwa

PWA schematics for Angular

v14-lts
Source
npmnpm
Version
14.2.13
Version published
Weekly downloads
137K
-5.03%
Maintainers
2
Weekly downloads
 
Created
Source

@angular/pwa

This is a schematic for adding Progress Web App support to an Angular app. Run the schematic with the Angular CLI:

ng add @angular/pwa

This makes a few changes to your project:

  • Adds @angular/service-worker as a dependency.
  • Enables service worker builds in the Angular CLI.
  • Imports and registers the service worker in the app module.
  • Adds a web app manifest.
  • Updates the index.html file to link to the manifest and set theme colors.
  • Adds required icons for the manifest.
  • Creates a config file ngsw-config.json, specifying caching behaviors and other settings.

See Getting started with service workers for more information.

Keywords

angular

FAQs

Package last updated on 05 Oct 2023

Did you know?

Socket

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.

Install

Related posts