awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
nubjs avatar

nubjs/nub

0
View on GitHub↗
4,435 stars·70 forks·Rust·MIT·5 viewsnubjs.com↗

Nub

nub is a single native toolkit for Node.js projects that bundles a package manager, a package script runner, a TypeScript executor, a Node.js version manager, and a watch-mode restarter in one binary. It ships as a compiled executable, so installs, script runs, and command lookups avoid the JavaScript startup cost of tools written in Node itself.

As a package manager, it offers a pnpm-compatible command line and reads existing npm, yarn, and pnpm lockfiles and configuration, following whichever tool the project already uses. Packages are stored once in a shared global store and hardlinked into each project, which makes repeat installs a quick relink; projects that depend on frameworks known to break with a shared store fall back to normal per-project installs. Installs can also block postinstall scripts, check for known-malicious versions, refuse provenance downgrades, and enforce a minimum release age. Shims for npm, yarn, pnpm, and Node detect the version a project pins, install it on demand, and run commands with it.

On the execution side, nub runs TypeScript and JSX files directly with in-process transpilation and caching, supporting extensionless imports, path aliases, and common data-format loaders. It can polyfill newer platform APIs and unflag experimental ones on older Node versions, and it restarts a running file when anything in its resolved import graph or related config files changes, so no watch globs are needed. One command resolves a name to a file, a package script, or an installed binary, and package scripts run with lifecycle hooks and workspace filtering.

nub also provides a drop-in replacement for the standard Node setup step in GitHub Actions. It provisions the pinned Node and package manager, caches the package store keyed on the lockfile, installs from the lockfile, and registers problem matchers for TypeScript and ESLint errors. Prebuilt binaries are published per operating system, CPU architecture, and libc variant, covering macOS, Linux (including musl), and Windows on x64 and arm64, with installation on Windows available through winget and Dockerfiles provided for container use.

Features

  • Native pnpm-Compatible Installs - Installs a project's packages with a native engine and pnpm-compatible command line, avoiding the Node startup cost of JavaScript package managers.
  • Node.js Version Managers - Bundles a package manager, script runner, TypeScript executor, Node.js version manager, and watch-mode restarter into one fast native binary.
  • Existing Lockfile Installs - Installs packages from whichever lockfile the project already has, using the cached store, then runs commands on the resolved Node version.
  • Node.js Dependency Managers - Installs, locks, and updates project packages quickly from existing npm, yarn, or pnpm lockfiles with reproducible installs and malware protection.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
  • pnpm Dependency Managers - Installs, adds, removes, updates, and dedupes dependencies with a native engine and pnpm-compatible flags, avoiding Node startup cost per command.
  • Package Script Execution - Dispatches package scripts through a native binary with lifecycle hooks and workspace filtering, avoiding the JavaScript startup cost of other runners.
  • Native Package Script Dispatchers - Dispatches package.json scripts and installed binaries from a native binary with lifecycle hooks and workspace filtering, skipping Node.js startup overhead.
  • Direct TypeScript Execution - Executes TypeScript and JSX files directly with in-process transpilation and caching, extensionless imports, path aliases, and data-format loaders.
  • TypeScript Execution - Executes TypeScript directly by transpiling in-process with a cache so repeated runs skip redundant work.
  • Node.js CI Environment Setups - Provisions the pinned Node and package manager on a CI runner as a drop-in replacement for the standard setup action with the same inputs and outputs.
  • Global Package Stores - Keeps package contents once in a shared global store and hardlinks them into each project, so repeat installs are a quick relink.
  • Prebuilt Binary Distribution - Distributes prebuilt native binaries as separate packages for macOS, Linux including musl, and Windows on x64 and arm64.
  • Package Manager Shim Generators - Puts shims for npm, yarn, pnpm, and Node first on the path that detect the pinned version, install it on demand, and run it.
  • Runtime Version Pinnings - Reads the project's Node version pin from several config files, downloads that runtime if needed, and puts it first on the path.
  • Frozen Lockfile Installs - Installs each package at the exact locked version, URL, and integrity hash without registry resolution, failing if lockfile and manifest disagree.
  • Hardlinked Package Stores - Hardlinks package contents from a shared global store into each project's dependency folder so repeat installs are a quick relink instead of a copy.
  • Import Graph File Watchers - Restarts a running file when anything in its resolved import graph or related config files changes, removing the need for hand-written watch globs.
  • Security-Hardened Installers - Hardens installs by blocking postinstall scripts, checking for malicious versions, and enforcing release-age and provenance rules by default.
  • Runtime Provisioning - Reads the version a project expects from its configuration, installs that runtime automatically when missing, and runs the file with it.
  • Package Manager Detection - Detects the package manager a project already uses and follows its lockfiles, configuration files, and environment variables.
  • Command Name Resolvers - Resolves one command name to a file, package script, or installed binary, trying the most specific match first before running it.
  • CI CLI Installers - Acts as a single-line drop-in replacement for the clean-install step in CI while setup, test, and run steps keep working unchanged.
  • Version Pinning - Registers shims for npm, yarn, and pnpm that detect the version a project pins, install it on demand, and run commands with it.
  • CI Pipeline Integrations - Speeds up CI runs by caching the package store keyed on the lockfile, replacing slow install steps, and annotating type and lint errors inline.
  • Environment Caching in CI - Saves the package store between CI runs keyed on the lockfile hash with optional prefixes, so repeat installs finish quickly without a separate cache step.
  • Dependency Store Caching - Saves and restores the install store and toolchains between runs, keyed on the lockfile with fallback keys so changed lockfiles start warm.
  • File-Change-Triggered Restarts - Restarts a running file when anything in its resolved import graph or related config files changes, with no watch globs needed.
  • TypeScript Transpilers - Strips TypeScript types and downlevels syntax in-process with output caching so repeated runs of the same files skip the work.
  • Modern API Backporting - Unflags experimental features, polyfills newer web and language APIs, and downlevels newer syntax so modern code runs on older Node versions.
  • Node Version Management - Installs, lists, removes, and pins runtime versions in a local cache and automatically installs the required version when missing.
  • API Polyfills - Polyfills newer platform features such as Temporal dates, half-precision floats, and URL pattern matching across supported Node versions.
  • Supply Chain Install Protections - Protect installs by blocking postinstall scripts, checking for known-malicious versions, refusing provenance downgrades, and enforcing a minimum release age by default.
  • Star history

    Star history chart for nubjs/nubStar history chart for nubjs/nub

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does nubjs/nub do?

    nub is a single native toolkit for Node.js projects that bundles a package manager, a package script runner, a TypeScript executor, a Node.js version manager, and a watch-mode restarter in one binary. It ships as a compiled executable, so installs, script runs, and command lookups avoid the JavaScript startup cost of tools written in Node itself.

    What are the main features of nubjs/nub?

    The main features of nubjs/nub are: Native pnpm-Compatible Installs, Node.js Version Managers, Existing Lockfile Installs, Node.js Dependency Managers, pnpm Dependency Managers, Package Script Execution, Native Package Script Dispatchers, Direct TypeScript Execution.

    Which projects share features with nubjs/nub?

    Projects with overlapping indexed features include: moonrepo/moon — Moon is a monorepo build system and task runner designed to orchestrate complex projects with multiple packages. It… actions/setup-node — setup-node is a GitHub Action that downloads, installs, and configures a specified Node.js runtime in continuous… typestrong/ts-node — ts-node is a TypeScript execution engine and just-in-time transpiler for Node.js. It enables the direct execution of… eirslett/frontend-maven-plugin — This project is a Maven plugin that integrates Node.js and npm build processes into the Java build lifecycle. It acts… privatenumber/tsx — This project is a runtime utility designed to execute TypeScript files directly, removing the need for manual build… andywer/threads.js — threads.js is a JavaScript worker thread library and asynchronous task orchestrator designed to offload CPU-intensive…

    Projects sharing features with Nub

    These projects share indexed features with Nub. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • moonrepo/moonmoonrepo avatar

      moonrepo/moon

      4,178View on GitHub↗

      Moon is a monorepo build system and task runner designed to orchestrate complex projects with multiple packages. It functions as a dependency graph orchestrator that executes build targets in topological order and utilizes input hashing to cache results and skip redundant work. The project features a polyglot toolchain manager that automates the installation and versioning of language runtimes and CLI tools to ensure environment consistency. It also includes a plugin framework based on WebAssembly, allowing developers to extend build logic and toolchain behavior using any supported language.

      Rustbuild-systembuild-toolbun
      View on GitHub↗4,178
    • actions/setup-nodeactions avatar

      actions/setup-node

      5,016View on GitHub↗

      setup-node is a GitHub Action that downloads, installs, and configures a specified Node.js runtime in continuous integration workflows. It resolves version specifiers from semantic version ranges or aliases like "lts/*" against a remote manifest, selects the correct binary for the runner’s operating system and architecture, and can reuse previously installed versions from GitHub’s hosted tool cache. The action accelerates repeat workflow runs by caching global package dependencies using a lock file as the cache key, restoring them automatically on subsequent runs. It manages version resolutio

      TypeScript
      View on GitHub↗5,016
    • typestrong/ts-nodeTypeStrong avatar

      TypeStrong/ts-node

      13,136View on GitHub↗

      ts-node is a TypeScript execution engine and just-in-time transpiler for Node.js. It enables the direct execution of TypeScript files by converting them to JavaScript on the fly, removing the requirement for a manual pre-compilation build step. It also provides a TypeScript read-eval-print loop for evaluating expressions and testing code snippets in real time. The project integrates with the Node.js module system as a loader hook to resolve and load files using native import syntax. It features a pluggable compiler interface that allows the use of external transpilers to accelerate execution

      TypeScripthacktoberfestnodejsrepl
      View on GitHub↗13,136
    • eirslett/frontend-maven-plugineirslett avatar

      eirslett/frontend-maven-plugin

      4,379View on GitHub↗

      This project is a Maven plugin that integrates Node.js and npm build processes into the Java build lifecycle. It acts as a build orchestrator and environment manager, allowing the execution of npm scripts and frontend task runners during a Java project's build process. The plugin manages the downloading and extraction of specific Node.js and npm binaries into local project directories. This ensures consistent, cross-platform build environments by resolving binaries based on the host operating system and CPU architecture without modifying the global system state. It provides orchestration for

      Java
      View on GitHub↗4,379
    Compare all 30 related projects→