DEV Community

Cover image for 10 NPM Packages for Productivity

10 NPM Packages for Productivity

Balraj Singh on October 08, 2024

Productivity is always key, we all know but as developers with tight deadlines and packed schedules, finding the right tools to boost productivity ...
Collapse
 
carcinocron profile image
carcinocron

prettier is bad software, it autoremoves parenthesis in math contexts where readability and documenting programmer's intent are mission critical. The only way to prevent prettier from doing this is to uninstall. Very arrogant and poorly designed.

Collapse
 
reduardo7 profile image
Eduardo Cuomo
// prettier-ignore
const m = (x *  y) + (a / b);
Enter fullscreen mode Exit fullscreen mode

prettier.io/docs/en/ignore.html

Collapse
 
carcinocron profile image
carcinocron

Easier to just uninstall prettier and only use eslint than to write 5000 lines of // prettier-ignore github.com/prettier/prettier/issue...

Collapse
 
eshimischi profile image
eshimischi • Edited

If you can’t properly configure tools like prettier doesn’t mean it is bad, dude. There is a new alternative to all tools like prettier, eslint, stylelint is biome. Check it out

Collapse
 
___sinan_75179114011f9f1b profile image
__ Sinan

not actually. you can manually change the settings just need to add teh configuration as you needed

Collapse
 
asmyshlyaev177 profile image
Alex

There isn't a tool that fit every use case, prettier is good for common cases, if you have something very unusual it's different.

Collapse
 
xphile101361 profile image
Xphile

Instead of using moment, even the moment team calls out to use a library like luxon instead

Collapse
 
eshimischi profile image
eshimischi

Dayjs is way less in terms of size, same functionality

Collapse
 
eshimischi profile image
eshimischi • Edited

Instead of moment-timezon (rather than moment.js in general sumitaec108.medium.com/stop-using-...) is better @dayjs/tz. Instead of prettier/eslint is biome biomejs.dev/. Check it out

Collapse
 
balrajola profile image
Balraj Singh

Would check it out!!

Collapse
 
iscordian profile image
Koushik Roy

Hmm..... Its good. Also see my npm package: npmjs.com/package/xytro.js

Collapse
 
balrajola profile image
Balraj Singh

Looks great!

Collapse
 
iscordian profile image
Koushik Roy

Sir can you please help me to grow my package please sir

Collapse
 
martinbaun profile image
Martin Baun

I use axios, cons: idk, pro: I like it.

Collapse
 
balrajola profile image
Balraj Singh

Heard good things about it!

Collapse
 
maxifjaved profile image
Muhammad Asif Javed

Good but why 10 only? the list should goes on.

I will go with Deno ;) ;) one runtime include all.

Collapse
 
balrajola profile image
Balraj Singh

There will be a Part 2 of this :)

Collapse
 
abjcodes profile image
Abijith Vasanthakumar

Great list!
I created a lightweight scaffolding package so that I don't have to clone/copy-paste commonly used boilerplates all the time. It has 1.1k+ downloads now:
scaffold-master npm

Collapse
 
ndaidong profile image
Dong Nguyen

You can use process.loadEnvFile() instead of dotenv.
You may prefer spacetime while working with datetime and timezone because its smart APIs.

Collapse
 
wxs77577 profile image
Johnny Wu

Alternatives:

  1. nodemon -> bun, just use bun run --hot main.ts
  2. concurrently -> pnpm workspace; pnpm run -r dev
Collapse
 
asmyshlyaev177 profile image
Alex • Edited

Check out wireit package, also those tools like commitizen and @semantic-release.
Also wait-on helper.