NPM packages
Curated npm packages by category. For publishing packages, see npm Trusted Publishing.
Charts
Section titled “Charts”- ApexCharts — interactive SVG charts with animations; framework-agnostic with React/Vue/Angular wrappers
- Chart.js — simple canvas-based charting; lightweight and easy to get started
- D3.js — low-level data visualization library based on SVG and DOM manipulation; highly customizable
- Highcharts — feature-rich interactive charts; commercial license required for non-open-source use
- Recharts — composable charting library built on React and D3
Authentication
Section titled “Authentication”- Auth.js — framework-agnostic authentication for web apps; supports OAuth, email, and credentials providers
- Nodemailer — send emails from Node.js via SMTP or transport plugins
- Resend — email API for developers with React Email template support
- Postmark — fast and reliable transactional email delivery
- Mailgun — email sending, receiving, and tracking via API
- SendGrid — high-volume transactional and marketing email API
- Swiper — touch-enabled slider/carousel; works standalone or with React/Vue/Angular
- dnd-kit — modern drag-and-drop toolkit with accessibility support; framework-agnostic core
Dates & time
Section titled “Dates & time”- date-fns — modular date utility library; tree-shakeable, no prototype pollution
- Luxon — modern date/time library with full timezone and locale support via Intl API
- Day.js — 2 kB Moment.js-compatible API; good for projects needing a lightweight drop-in
- ky — tiny HTTP client built on the Fetch API; cleaner API than raw fetch with retry support
- axios — promise-based HTTP client for browser and Node.js; automatic JSON parsing and request/response interceptors
Search
Section titled “Search”- Pagefind — client-side full-text search for static sites; indexes at build time
- FlexSearch — fast, memory-flexible full-text search with zero dependencies
- Fuse.js — lightweight fuzzy search for arrays of objects
Files & PDF
Section titled “Files & PDF”- jsPDF — generate PDF files client-side in JavaScript
- PDF.js — Mozilla’s PDF renderer for the browser
- PDFKit — PDF generation library for Node.js with text, image, and vector support
Templating
Section titled “Templating”- MDX — Markdown with JSX; lets you embed React components in Markdown documents
- Nunjucks — rich Jinja2-inspired templating language for Node.js
UI utilities
Section titled “UI utilities”- nprogress — slim progress bar for page load and async operations
Services
Section titled “Services”- NPM Trends — compare npm package download counts over time