Node.js Package Manager with Enhanced Security and Performance

A performance-focused package manager for Node.js and Bun. I’ve spent the last few weeks building JPM (Joint Package Manager), a lightweight package manager written in pure JavaScript using only Node.js core modules. The goal was to build a tool that feels faster and more secure for modern development. Here is how it handles the installation process: Parallel Execution: Uses a custom worker-pool to handle fetching and extraction concurrently. Platform-Aware: It filters optionalDependencies during resolution, so it only downloads the binaries compatible with your specific OS and CPU architecture. Security Defaults: Includes built-in Zip Slip protection, mandatory sha512 integrity checks, and a scanner for malicious patterns in package scripts. Monorepos (Hive): Handles workspaces with an intelligent hoisting system to keep node_modules efficient. JPM is fully compatible with the standard package.json ecosystem and works seamlessly across both Node.js and Bun runtimes. ------------------------------------------------------------------------------ npm i -g jpm-pkg ------------------------------------------------------------------------------ If you’re interested in the technical implementation or want to try it out, the source code and docs are available here: GitHub: https://lnkd.in/duqwcrb9 NPM: https://lnkd.in/dqzwiJPy #nodejs #javascript #webdevelopment #opensource #package-manager #softwareengineering

  • graphical user interface, text, application, email

To view or add a comment, sign in

Explore content categories