Skip to content

lpm-dev/cli

Repository files navigation

LPM — The Package Manager for Modern Software

Fast, secure, all-in-one. Written in Rust.

npm install -g @lpm-registry/cli
Other install methods
brew tap lpm-dev/lpm && brew install lpm        # Homebrew
curl -fsSL https://lpm.dev/install.sh | sh       # Standalone
cargo install --git https://github.com/lpm-dev/rust-client lpm-cli  # Source

About This Package

This npm package is a thin wrapper that downloads the native Rust binary on postinstall. All CLI functionality is provided by the Rust client — see lpm-dev/rust-client for full documentation, benchmarks, and the complete command reference.

If the native binary isn't available for your platform, the JS fallback CLI activates automatically.

Quick Start

lpm login                      # Authenticate
lpm install                    # Install deps (aliases: i)
lpm publish                    # Publish to lpm.dev (aliases: p)
lpm dev                        # Zero-config dev server + HTTPS + tunnel

Commands

See the full command reference at github.com/lpm-dev/rust-client.

API Exports

This package exports utilities for programmatic use:

import {
  generateIntegrity,
  verifyIntegrity,
  runQualityChecks,
  parseLpmPackageReference,
  detectFramework,
} from "@lpm-registry/cli";
Function Description
generateIntegrity(buffer, algorithm?) Generate an SRI integrity hash (default: sha512)
verifyIntegrity(buffer, expected) Verify a buffer against an SRI integrity string
runQualityChecks({ packageJson, readme, ... }) Run all 28 quality checks and return score, tier, and checks
parseLpmPackageReference(ref) Parse @lpm.dev/owner.pkg@version?key=val into components
readLpmConfig(dir) Read and validate lpm.config.json from a directory
detectFramework() Detect the project framework (nextjs, vite, remix, astro)

License

MIT

About

LPM CLI — ships native Rust binary with JS fallback. Install, publish, and manage packages on lpm.dev

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors