Fast, secure, all-in-one. Written in Rust.
npm install -g @lpm-registry/cliOther 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 # SourceThis 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.
lpm login # Authenticate
lpm install # Install deps (aliases: i)
lpm publish # Publish to lpm.dev (aliases: p)
lpm dev # Zero-config dev server + HTTPS + tunnelSee the full command reference at github.com/lpm-dev/rust-client.
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) |
MIT