npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

turb-todo-list-app

v1.0.4

Published

Once you’ve finished working on the project, follow these steps to turn it into a standalone Progressive Web App:

Downloads

1

Readme

📦 Build & Install as a PWA

Once you’ve finished working on the project, follow these steps to turn it into a standalone Progressive Web App:

1. Build the Production Bundle

# Install dependencies (if you haven’t already)
pnpm install

# Build your app
pnpm run build
This outputs a fully static bundle into dist/.

2. Serve the dist/ Folder Locally
You need a local HTTP server so the PWA manifest and service worker can register properly. You can use Vite’s built-in preview or any static server:

bash
Copy
Edit
# Option A: Vite preview (no extra install)
pnpm run preview
# → serves at http://localhost:4173 by default

# Option B: http-server (install if needed)
pnpm add -D http-server
npx http-server dist
# → serves at http://localhost:8080 by default
Open the served URL in your browser (e.g. http://localhost:4173).

3. Fresh Start (Optional but Recommended)
If you’ve previously installed/registered the PWA during development, clear the old service worker and cache so you get the latest icons & code:

Open DevTools (F12) → Application → Service Workers → Unregister

In Application → Clear storage → click Clear site data

4. Install the App to Your Machine
Chrome / Edge on Desktop
Visit your app URL (e.g. http://localhost:4173).

Look for the Install icon in the address bar (a “+” or computer-phone icon), or open the browser menu → Install My Todo List.

Or, if you wish to have your own icon in the desktop since chrome stores it's own chrome hosted window image, 
you can use Microsoft Edge to install PWA and configure your preferred icon.

If you already have Edge:

 http://localhost:4173 in Edge.

Click the “... → Apps → Install this site as an app.”

Go to Start Menu, find your “My Todo List” entry, right-click → Pin to Taskbar.

Now you should see your proper icon on the taskbar.

Your PWA will launch in its own window and appear in your OS’s Start menu / Applications.



But if you prefer to use Chrome, refer to this task below ->

Tip (Chrome): Chrome’s taskbar pin will still show the Chrome icon. If you want your custom icon there, you can create a manual Windows shortcut (see below).

5. (Optional) Create a Native-Style Shortcut with Your Icon
If you want a true desktop shortcut (so your icon appears in the taskbar):

Create a .lnk shortcut on your Desktop:

Target:

arduino
Copy
Edit
"C:\Program Files\Google\Chrome\Application\chrome.exe" --app=http://localhost:4173
Right-click the shortcut → Properties → Change Icon → point to one of your /public/icons/icon-512.png (Windows will convert it).

Pin that shortcut to your taskbar.

6. Usage & Updates
Offline: After first load + install, the app works offline—no terminal needed.

Updates: Whenever you rebuild (pnpm run build), the service worker will fetch the new assets on next launch/reload.

Enjoy your very own installable, offline-first Todo List PWA! 🚀



Added project Tree for a brief understanding of project structure

Todo-list-app
├─ eslint.config.js
├─ index.html
├─ package.json
├─ pnpm-lock.yaml
├─ pnpm-workspace.yaml
├─ public
│  ├─ icons
│  │  ├─ checklist.png
│  │  ├─ checktasks.png
│  │  └─ to-do-list.png
│  └─ vite.svg
├─ README.md
├─ src
│  ├─ App.jsx
│  ├─ assets
│  │  └─ react.svg
│  ├─ components
│  │  ├─ CustomForm.jsx
│  │  ├─ EditForm.jsx
│  │  ├─ TaskItem.jsx
│  │  ├─ TaskItem.module.css
│  │  ├─ TaskList.jsx
│  │  └─ TaskList.module.css
│  ├─ hooks
│  │  └─ useLocalStorage.jsx
│  ├─ index.css
│  └─ main.jsx
└─ vite.config.js