Skip to main content

NPM Packages

Suggestions for NPM packages that can be used in projects.

πŸ•“Β Date FNS​

Modern JavaScript date utility library, supports typescript and uses native modules. It is a great alternative to Moment.js as it is smaller and more performant.

HeaderDescription
Repositorygithub.com/date-fns/date-fns (⭐️ 32.2k)
Preferred overMoment.js
LicenceMIT

πŸ’Ž Collect.js​

A JavaScript library that provides a fluent, convenient wrapper for working with arrays and objects.

HeaderDescription
Repositorygithub.com/ecrmnn/collect.js (⭐️ 6.3k)
Preferred overUnderscore.js, Lodash
LicenceMIT

🐻 Zustand​

A tiny (400B) state management library with a React hook API. Don't require a context provider, and can be used with any React version.

HeaderDescription
Repositorygithub.com/pmndrs/zustand (⭐️ 28.7k)
Preferred overRedux, MobX, Recoil, React Context
LicenceMIT

πŸƒ React Spring​

Spring-physics based animation library for React.

HeaderDescription
Repositorygithub.com/pmndrs/react-spring (⭐️ 28.7k)
Preferred overReact Transition Group, React Motion, React Move
LicenceMIT

πŸ‘† React Use Gesture​

Set of gestures that let you bind mouse and touch events to any node to set up complex gestures like dragging and pinching with a few lines of code.

HeaderDescription
Repositorygithub.com/pmndrs/use-gesture (⭐️ 7.5k)
Preferred overHammer.js
LicenceMIT

🎨 Mantine​

React UI library with a focus on developer experience and accessibility.

HeaderDescription
Repositorygithub.com/mantinedev/mantine (⭐️ 18.3k)
Preferred overMaterial UI, Chakra UI, React Bootstrap
LicenceMIT

βš›οΈ SVGR​

Transform SVGs into React components.

HeaderDescription
Repositorygithub.com/gregberge/svgr (⭐️ 9.5k)
Preferred OverN/A
LicenceMIT