DEV Community

Cover image for πŸš€ Introducing blaze-install: A Faster, Modern Alternative to npm for Node.js
Quiet Code
Quiet Code

Posted on • Edited on

πŸš€ Introducing blaze-install: A Faster, Modern Alternative to npm for Node.js

πŸš€ Introducing blaze-install: A Faster, Modern Alternative to npm for Node.js

Are you tired of waiting for npm install to finish? Frustrated by bloated lockfiles and cryptic errors? I was tooβ€”so I built blaze-install, a new package manager for Node.js that's all about speed, clarity, and a better developer experience.


Why blaze-install?

  • Blazing Fast: Parallel downloads, extraction, and a global cache make installs 2–10x faster than npm in real-world projects.
  • Clean Lockfile: No more stale or unused dependenciesβ€”your lockfile is always pruned and up to date.
  • Beautiful CLI: Progress bars, color, and clear, actionable error messages.
  • Modern Features: Native monorepo/workspace support, automatic lockfile pruning, and a robust plugin system.
  • Extensible: Add your own plugins to hook into every major lifecycle event (install, uninstall, update, audit, clean, and more).

Key Features

  • πŸš€ Speed: Parallelized everything, with a global cache for deduplication.
  • πŸ—οΈ Workspaces: Native, fast monorepo support.
  • πŸ”’ Audit: Built-in security checks using the npm audit API.
  • 🧩 Plugins: Extend blaze-install with custom hooks for every command.
  • οΏ½οΏ½ Lockfile Pruning: No more bloatβ€”lockfile is always clean.
  • πŸ’₯ Robust Error Handling: Clear, actionable feedback.
  • οΏ½οΏ½ Beautiful Output: Progress bars and color for a modern DX.

Latest Release Highlights (v1.5.0)

  • Plugin System: Easily extend blaze-install with before/after hooks for all major commands. Example plugins included!
  • Offline Mode: Install from local cache only with --offline flag
  • Prefetch Command: Cache all dependencies for offline use with blaze prefetch
  • Self-Healing: blaze doctor --fix auto-repairs common issues
  • Enhanced Peer Dependencies: Clear warnings and auto-install prompts
  • Visual Dependency Graphs: blaze graph outputs Mermaid.js diagrams
  • Interactive Upgrades: Guided updates for outdated dependencies
  • Even Faster: Parallelized network requests and metadata caching

Quick Start

npm install -g blaze-install
Enter fullscreen mode Exit fullscreen mode

Then, in your project:

blaze install                # Install all dependencies
blaze install <package>      # Add a package
blaze uninstall <package>    # Remove a package
blaze update <package>       # Update a package
blaze audit                  # Security audit
blaze clean                  # Remove node_modules and cache
blaze doctor --fix          # Auto-repair common issues
blaze prefetch              # Cache dependencies for offline use
blaze graph                 # Visualize dependency tree
Enter fullscreen mode Exit fullscreen mode

Plugins: Make blaze-install Your Own

Want to automate, customize, or extend your workflow? Just drop a JS file in the plugins/ directory:

// plugins/examplePlugin.js
module.exports = {
  onCommand({ command, args, context }) {
    console.log(`[plugin] Command executed: ${command}`);
  },
  beforeInstall() { /* ... */ },
  afterInstall() { /* ... */ },
  beforeUninstall() { /* ... */ },
  afterUninstall() { /* ... */ },
  beforeUpdate() { /* ... */ },
  afterUpdate() { /* ... */ },
  beforeAudit() { /* ... */ },
  afterAudit() { /* ... */ },
  beforeClean() { /* ... */ },
  afterClean() { /* ... */ },
};
Enter fullscreen mode Exit fullscreen mode

Why Not Just Use npm?

npm is great, but it's built for every possible use caseβ€”including a lot of legacy baggage. blaze-install is focused on the modern 90%:

  • Faster installs
  • Cleaner lockfiles
  • Better developer experience
  • Extensibility for power users

blaze-install vs npm: Feature Comparison

Feature blaze-install npm install
Speed πŸš€ Blazing fast: parallel downloads, global cache, deduplication Slower, sequential, no global cache
Lockfile Always pruned, only what you need Can become bloated, stale deps remain
UX Beautiful CLI, progress bars, colored output Basic CLI, minimal feedback
Workspaces Native support, fast monorepo installs Supported, but slower and more complex
Peer/Optional Deps Clear warnings, robust handling Sometimes cryptic or missing warnings
Audit Built-in, fast, npm audit API Built-in
Lifecycle Scripts Full support (preinstall, install, postinstall) Supported
Global Store Yes, dedupes across projects No
Error Handling Clear, actionable, modern Sometimes cryptic
Modern Focus No legacy cruft, focused on 90% use case Lots of legacy baggage
Extensibility Plugin system with lifecycle hooks No plugin system
Automatic Pruning Yes, after uninstall/update No
Interactive Mode Yes, guided menu No
Graph Visualization Yes, Mermaid.js output No
Doctor/Repair Yes, built-in No
Offline Mode Yes, with prefetch Limited
Self-Healing Yes, auto-repair common issues No

Summary:

  • blaze-install is faster, cleaner, and more extensible for modern Node.js projects.
  • npm is still the default for legacy/edge-case support and ecosystem size.

Try It Out!

I'd love your feedback, bug reports, and feature requests!

Let's build a better Node.js workflow together.


#node #npm #javascript #webdev #showdev

Top comments (2)

Collapse
 
quietcode profile image
Quiet Code

πŸš€ Release v1.10.10: Enhanced Plugin System & Performance Improvements

We're excited to announce the latest release of blaze-install! This version brings significant improvements to the plugin system, better performance, and enhanced developer experience.

What's New in v1.10.10

πŸ”Œ Enhanced Plugin System

  • Improved plugin hooks for all major commands
  • Better error handling in plugin execution
  • More flexible plugin configuration options

⚑ Performance Improvements

  • Faster dependency resolution
  • Optimized lockfile operations
  • Reduced memory usage during large installs

πŸ› οΈ Developer Experience

  • Better error messages and debugging info
  • Improved CLI output formatting
  • Enhanced workspace support

πŸ”§ Bug Fixes

  • Fixed peer dependency resolution issues
  • Resolved workspace dependency conflicts
  • Improved offline mode reliability

Quick Update

npm update -g blaze-install
Enter fullscreen mode Exit fullscreen mode

What's Next?

We're working on even more exciting features for the next release. Stay tuned for:

  • Advanced caching strategies
  • More plugin hooks and customization options
  • Enhanced monorepo tooling

Try it out: github.com/Nom-nom-hub/blaze-cli

#nodejs #javascript #npm #package-manager #blaze-install

Collapse
 
quietcode profile image
Quiet Code

Release v1.4.0: _

  • New Features, Plugin Hooks, Performance Improvements

Highlights:

  • blaze graph: Visual dependency graph generation using Mermaid.js.
  • blaze upgrade: Interactive upgrades for outdated dependencies.
  • Monorepo/workspaces support: --workspaces flag for running scripts across all workspaces.
  • blaze doctor: Diagnoses and offers to fix issues like corrupted lockfiles and cache problems, with interactive prompts.
  • Plugin system: Before/after hooks for all major commands (install, uninstall, update, audit, clean).
  • Performance: Parallel downloads for package metadata and metadata caching for faster repeated installs.