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

@aftyne/bercy

v1.0.145

Published

A local CLI utility to batch-delete unused files.

Readme

Bercy

A framework-agnostic CLI utility and interactive local dashboard designed to identify and safely bulk-delete unused files in modern JavaScript and TypeScript repositories. It replaces tedious manual cleanup with a fast, precise, and visual workflow.

Built on top of the powerful Knip engine, Bercy spins up a secure local server to help you visualize dead code and eliminate it with a few clicks.

Features

  • Zero Configuration: Run it in any JavaScript/TypeScript project. No setup files required.
  • Framework Agnostic: Automatically detects and displays your project's framework (Next.js, React, Vue, Nuxt, Node.js, etc.).
  • Interactive Dashboard: A minimalist, dark-themed UI to review unused files before deletion.
  • Bulk Deletion: Select multiple files and delete them in one batch.
  • Secure by Design: * Locked strictly to 127.0.0.1 to prevent local network exposure.
  • Built-in CSRF protection to block drive-by web attacks.
  • Aggressive path sanitization to prevent directory traversal outside your project.

Usage

You do not need to install Bercy globally or add it to your project dependencies. Simply run it directly in the root of your target project using npx:

npx @aftyne/bercy

This will automatically:

  1. Scan your project for unused files and dependencies.
  2. Spin up a secure local Express server.
  3. Open the interactive dashboard in your default web browser.

Options

If the default port (5000) is already in use by another application, you can specify a custom port using the --port flag:

npx @aftyne/bercy --port 8080

How It Works

  1. Analysis: Bercy leverages knip under the hood to perform a comprehensive static analysis of your codebase, finding exports, files, and dependencies that are never used.
  2. Dashboard: The Node.js backend serves a lightweight, Vanilla JS and TailwindCSS frontend.
  3. Execution: When you trigger a deletion, the backend safely maps the relative paths, verifies they exist within your project boundaries, and permanently removes them from the file system.

Tech Stack

  • Backend: Node.js, Express
  • Frontend: HTML, JavaScript, TailwindCSS
  • Core Engine: Knip

License

MIT

Copyright (c) 2026-present, Ahmad Dwi Aftiyan (aftyne)