Preparing for system design interviews?  Try bugzed.com →

babel-plugin-date-fns

JSON →
library 2.0.0 ·javascript
verified Jun 17, 2026

A Babel plugin that transforms cherry-picked imports from date-fns (e.g., import { format } from 'date-fns') into direct per-function imports (e.g., import format from 'date-fns/format'), reducing bundle size. Current stable version is 2.0.0, which supports date-fns v2 only; v1.x exists for date-fns v1. Release cadence is low, with major versions tied to date-fns major releases. Compared to manual per-function imports, this plugin automates the transformation with zero config. It is heavily inspired by babel-plugin-lodash and babel-plugin-recharts.

total hits 14
actors 4 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
ByteDance
3
Script
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇳 China