New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@bootstrapp/cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bootstrapp/cli

Bootstrapp CLI tool - minimal loader with plugin system

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

Bootstrapp

A modular, platform-agnostic development tool for building web applications.

Features

  • 🚀 Dev server with hot-reload
  • 📦 Project scaffolding
  • 🔌 Plugin system
  • 🌐 Platform-agnostic (Node.js, Browser, Electron)
  • ⚡ Functional programming style

Installation

npm install -g bootstrapp

Usage

Start Dev Server

bootstrapp
bootstrapp ./my-project

Create New Project

bootstrapp new basic my-app
bootstrapp new react my-react-app
bootstrapp new electron my-electron-app

Generate Code

bootstrapp generate component Button
bootstrapp generate page Dashboard
bootstrapp generate api users

Electron Commands

bootstrapp electron ./my-electron-app
bootstrapp electron:build

Programmatic Usage

import * as adapter from '@bootstrapp/cli/adapter';
import { discoverCliPackages, loadPackageTasks } from '@bootstrapp/cli/utils/package-discovery';
import { registerHandler, handleRequest } from '@bootstrapp/cli/handlers';

// Discover CLI packages in a project
const packages = await discoverCliPackages(adapter, '/path/to/project');

// Load and register tasks from packages
await loadPackageTasks(packages, adapter, (task) => {
  console.log('Registered task:', task.name);
});

// Register a custom HTTP handler
registerHandler({
  name: 'my-handler',
  match: (pathname, method) => pathname === '/api/custom',
  handle: async (req, res, context) => {
    res.writeHead(200, { 'Content-Type': 'application/json' });
    res.end(JSON.stringify({ success: true }));
    return true;
  },
});

Architecture

  • adapter.js: Platform-specific filesystem and process utilities
  • handlers/: HTTP request handler registry for dev server
  • core/: Task index and package installer utilities
  • utils/: Package discovery and server utilities
  • tasks/: Built-in CLI tasks

License

AGPL-3.0

Keywords

cli

FAQs

Package last updated on 24 Jan 2026

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