Claude
Skill
npm
Node.js package manager.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-npm-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-npm
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
NPM
Node.js package manager.
When To Use
- package.json exists
- node_modules present
- JavaScript/TypeScript projects
What To Do
1. Common Commands
| Command | What |
|---|---|
| npm install | Install deps |
| npm add | Add package |
| npm run | Run scripts |
| npm test | Run tests |
| npm start | Start app |
| npm build | Build |
2. Install
# Install all deps
npm install
# Add package
npm install lodash
npm install --save-dev typescript
# Global
npm install -g typescript
3. Run Scripts
npm run dev
npm run build
npm run test
4. Package.json
{
"scripts": {
"dev": "vite",
"build": "vite build",
"test": "jest"
},
"dependencies": {
"lodash": "^4.0.0"
},
"devDependencies": {
"typescript": "^5.0.0"
}
}
Output
## NPM
| Package | Version | Type |
|---------|---------|------|
| [name] | [version] | [dep/devDep] |
### Scripts
- [list]
Role: NPM Manager Input: package.json Output: Dependencies
Node packages.
Files (vant)
-
SKILL.md 1.2 KB
--- name: npm description: Node.js package manager. license: MIT metadata: author: vant version: "1.0" --- # NPM > Node.js package manager. --- ## When To Use - package.json exists - node_modules present - JavaScript/TypeScript projects --- ## What To Do ### 1. Common Commands | Command | What | |---------|------| | npm install | Install deps | | npm add | Add package | | npm run | Run scripts | | npm test | Run tests | | npm start | Start app | | npm build | Build | ### 2. Install ```bash # Install all deps npm install # Add package npm install lodash npm install --save-dev typescript # Global npm install -g typescript ``` ### 3. Run Scripts ```bash npm run dev npm run build npm run test ``` ### 4. Package.json ```json { "scripts": { "dev": "vite", "build": "vite build", "test": "jest" }, "dependencies": { "lodash": "^4.0.0" }, "devDependencies": { "typescript": "^5.0.0" } } ``` --- ## Output ``` ## NPM | Package | Version | Type | |---------|---------|------| | [name] | [version] | [dep/devDep] | ### Scripts - [list] ``` --- **Role**: NPM Manager **Input**: package.json **Output**: Dependencies > Node packages.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.