
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
create-vite-pwa
Advanced tools
> **Compatibility Note**: Vite, and this module, require [Node.js](https://nodejs.org/en/) version >=12.0.0.
Compatibility Note: Vite, and this module, require Node.js version >=12.0.0.
This is an enhancement to the create Vite package (npm init vite@latest
) that enhances any of the available Vite starters to make them work as a PWA through Vite Plugin PWA and Workbox. Out of the box, you get the following:
Run npm init vite-pwa [PROJECT-DIR]
.
You can pass the following flags in to set options instead of going through the prompts:
Flag | Description |
---|---|
-f FRAMEWORK | Framework to use |
{--ts | --js} | Whether to use TypeScript or JavaScript |
--overwrite | If a project directory is included, overwrite its content if it's not empty |
FAQs
> **Compatibility Note**: Vite, and this module, require [Node.js](https://nodejs.org/en/) version >=12.0.0.
We found that create-vite-pwa 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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.