GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pkgpeeker/README.md at main · paccodes/pkgpeeker

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
39 lines (25 loc) · 1.53 KB
/

README.md

Copy path

File metadata and controls

39 lines (25 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

PkgPeeker

What?

The application spins up an instance of web container to npm install (in the browser) the packages provided by the user. Upon successful installation, it runs npm list --all --json and then parses the resulting dependency tree. Finally, by accessing the virtual file system provided by web containers, it runs, for each package in the dependency tree, some analysis on the installation folder (inside node_modules folder).

Why?

Leveraging the possibilities offered by web containers, it becomes possible to explore npm packages and their dependencies through the analysis of the content of the node_modules folder, without installing anything on the computer, as everything happens in the browser. The data is always up-to-date as only the latest version of the packages gets installed (unless a specific version is provided).

PkgPeeker 01 PkgPeeker 02

Installation

npm install

Usage

  • Start development server: npm run dev
  • Run tests in watch mode: npm run test
  • Run linter: npm run lint
  • Create production build: npm run build
  • Serve production build: npm run preview

Built with

React and WebContainers

License

This project is licensed under the MIT License - see the LICENSE file for details.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.