InfoQ Homepage News vlt Introduces New JavaScript Package Manager and Serverless Registry
vlt Introduces New JavaScript Package Manager and Serverless Registry
Jan 10, 2025 1 min read
Write for InfoQ
Feed your curiosity. Help 550k+ globalsenior developers
each month stay ahead.Get in touch
The vlt team announced vlt, a new, free, and open-source JavaScript package manager. Started by the creator and several core members of the npm team, vlt takes a fresh approach to JS package management.
Because npm is a mature, 15-year-old project that is heavily relied upon the ecosystem, it is difficult and slow to try new ideas or make improvements without the risk of introducing breaking changes.
vlt is intended as a drop-in replacement for existing package managers but adds a new dependency query selector syntax and additional export formats to make it easier to understand dependency graphs.
For example, to view a dependency graph in mermaid:
~/projects/{your-project}
vlt query "[name=yargs] > *" --view=mermaid
Mermaid example
In 2023, vlt founder Darcy Clarke presented at the OpenJS World conference on the challenges with dependency management. In this session, Darcy Clarke presented a slide that showed how package managers yarn, pnpm, npm, bun, and deno had a significantly different number of dependencies with something as common as running the Create React App project:
Create React App project number of dependencies
The vlt project expects to tackle this and other problems with a clean look at package management.
Coupled with vlt, the team also announced vsr, a fair-source serverless package registry to provide a convenient alternative to hosting packages within an organization. The initial release of vsr focuses on a permission model allowing developers to granularly control access, such as providing read-only access to private packages. The approach is based on the Cloudflare serverless approach.
Managing dependencies remains a challenge in the JavaScript ecosystem. The vlt team is making an ambitious effort to rethink this ecosystem while providing tooling that is compatible with npm where possible.
This content is in the Web Development topic
Related Topics:
-
Related Editorial
-
Related Sponsored Content
-
Popular across InfoQ
-
Cloudflare Enables Remote Hosting for Model Context Protocol (MCP) Servers
-
How Meta is Using a New Metric for Developers: Diff Authoring Time
-
Kafka 4.0: KRaft Simplifies Architecture
-
Beyond Chatbots: Architecting Domain-Specific Generative AI for Operational Decision-Making
-
JavaOne 2025: Function and Memory Access in Pure Java
-
Balancing Coupling in Software Design with Vlad Khononov
-
Related Content
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example