npm-library-setup
✓Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM). Use when setting up npm packages, configuring ESM, TypeScript packages, or React component libraries.
Installation
SKILL.md
This skill provides comprehensive guidance on setting up an npm library with package.json, with a preference for ES Modules (ESM).
Note: Use the oldest currently-maintained LTS version (check Node.js Release Schedule).
Important: Always use .js extension in imports, even in TypeScript files.
Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM). Use when setting up npm packages, configuring ESM, TypeScript packages, or React component libraries. Source: huozhi/npm-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/huozhi/npm-skills --skill npm-library-setup- Source
- huozhi/npm-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is npm-library-setup?
Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM). Use when setting up npm packages, configuring ESM, TypeScript packages, or React component libraries. Source: huozhi/npm-skills.
How do I install npm-library-setup?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huozhi/npm-skills --skill npm-library-setup Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/huozhi/npm-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01