Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boiler-dev/boiler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boiler-dev/boiler

Local package manager

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

boiler

🥘 Local package manager

Why

Boiler is a faster, less formal alternative to remote package managers.

  • Local — Only depends on the local filesystem.
  • Hackable — Modify package files anywhere they're installed.
  • Repairable — Easily copy changes back to the package source.
  • Informal — No versioning except your own optional version control.

Boiler aims to keep code reusable and updatable ("move fast and break things") while removing risks associated with rigid code separation ("version and package everything").

Install

npm install @boiler-dev/boiler

CLI

  • boiler create — Create a package (a named group of file or directory sources).
  • boiler install — Install package files using an identical directory structure as the source.
  • boiler push — Push local package changes back to the source.
  • boiler list — List available and installed packages.

Create package

npx boiler create [package-name] [path...]

⚠️ Paths must be within the current project's root directory.

Install packages

npx boiler install [package-name...]

Push packages

npx boiler push [package-name...]

List packages

npx boiler list

Configuration

CLI commands look for project configuration in the current working directory, and then its parent directories.

If a project configuration is found, that directory is considered the project root path. Otherwise, the current working directory becomes the home to a new project configuration file.

Additionally, the CLI uses a configuration file in the home directory.

Locations

DirectoryFilenameContents
Project (.)boiler.jsonPackage file paths (by package name)
Home (~).boiler.jsonProject directory paths (by package name)

Format

{
  "packages": {
    "package-name": {
      // Project
      "installedPaths": [] // Installed package file paths (relative)
      "sourcePaths": []  // Source package file paths (relative)

      // Home
      "projectPaths": [] // Project directory paths (absolute)
    }
  }
}

Register existing projects

Running boiler within any project (even without arguments) will register that project in the home configuration and make its packages available for installation.

Safety

Boiler only modifies a file if it is (1) tracked in git and (2) has no uncommitted changes.

If both conditions are not met, you are prompted to confirm or deny any changes.

FAQs

Package last updated on 19 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc