1.0.6 • Published 10 months ago
@itzhep/tnpm v1.0.6
TNPM
A unified package manager for Node.js - Use npm, yarn, pnpm, bun or deno with a single command
Features
- 🚀 Unified Interface: One command for all package managers
- 🔍 Auto-detection: Automatically detects project's package manager
- 🔄 Cross-compatible: Works with npm, yarn, pnpm, bun and deno
- 🛠 Workspace Support: Full support for monorepo workspaces
- 📦 Script Runner: Run package.json scripts seamlessly
- 🔎 Package Info: Quick access to npm registry package information
Installation
# Using npm
npm install -g tnpm
# Using yarn
yarn global add tnpm
# Using pnpm
pnpm add -g tnpm
# Using bun
bun add -g tnpm# Install dependencies
## Usage
tnpm install
tnpm i
# Add a dependency
tnpm add react
# Add a dev dependency
tnpm add -D typescript
# Remove a dependency
tnpm remove react
# Show package info
tnpm info react
# Run scripts
tnpm run build