npm weekly #238: new CLI update, npm open RFC meeting, and projects to check out! π
New CLI update: 6.14.2
Details re: the release can be found here.
You can update to the latest version of the CLI in the usual way:
$ npm install -g npm@latest
Just say no to FOMO
- Open RFC meetings: Join us on Wednesday, March 18 at 11am PT/2pm ET. Add your topics to be considered for discussion (agenda and meeting details will be shared here soon).
- Oakland Full Stack Developer March Madness Meetup: Wednesday, March 18, 6β8pm at the Flight Deck. Get more details and RSVP here.
- REFACTOR 2020: Serverless: join several of npmβs wombats on May 22 in Toronto for the REFACTOR 2020 event to discuss building serverless applications.
- OpenJS World: June 23β24 in Austin. Learn more and register to attend!
Projects to check out
Thanks to Ryan J. Yost, we have a whole list of interesting projects to share with you this week!
π¦ Looking for background animations to add to your page? Check out
Particles.js for React by Simone Bembi. Get it via:
npm install react-particles-js
π©βπ€ Emotion: check out this library designed for writing CSS styles with JavaScript. It provides powerful and predictable style composition in addition to features such as source maps, labels, and testing utilities. Both string and object styles are supported.
βRedux Toolkit: An opinionated, batteries-included toolset for efficient Redux development. Ryan notes, βit reduces tons of nasty boilerplate.β Get it via:
npm install @reduxjs/toolkit
π React Testing Library is a very light-weight solution for testing React components from Kent C. Dodds and co. Its guiding principle is, βthe more your tests resemble the way your software is used, the more confidence they can give you.β Access it via:
npm install --save-dev @testing-library/react
π§° date-fns provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js. Itβs like lodash for dates, and has 180+ functions for all occasions. To install it, run:
npm install date-fns --save
π depcheck: Check your npm module for unused dependencies. Run the check locally, in a git hook or in a CI/CD pipeline. Access it via:
npm install -g depcheck
π Husky: Git hooks made easy. Husky can prevent bad git commit
, git push
and more. To install it, run:
npm install husky --save-dev
Ryan also published a blog post, β7 projects starred by top JavaScript developers that you should check out,β highlighting projects that were starred by multiple top JavaScript developers in the past 6 months. Enjoy!
Private packages, collaboration & more
Meet npm Pro and npm Teams, our solutions that empower developers to utilize private packages and collaborate, either working with contributors on Open Source projects (Pro), or working as a team on mission-critical applications (Teams). You can learn more about our suite of solutions here.