3 Best NPM Utility Libraries

preview_player
Показать описание


🌎 Find Me Here:

#Shorts
Рекомендации по теме
Комментарии
Автор

Just FYI, you can now generate different UUIDs with the native Crypto library. For most cases, you won't need the additional uuid package.

tzvimashiach
Автор

*not 100% guaranteed to be unique, just close to it

esotericpig
Автор

I've been telling my coworkers that datefns is the best library I've used by far. It's got a ton of methods yet it's so easy to understand and use. First time using it, I built a custom month calender for a gym booking software. It saved my ass. It's solid. I love it.

augedoo
Автор

Great video; I like the condensed format for this kind of information.

kevingardner
Автор

uuid is not guaranteed to be unique, since there's only so many possible combinations, and the chance of a collision increases unintuitively with each subsequent creation (see "birthday paradox"). the only way something would be guaranteed to be unique would be if there was a database (or other method of storage) that contained all previous creations, or something that just increments with infinite precision, but with incrementation you fall into the issues mentioned in Tom Scott's video "Will YouTube Ever Run Out of IDs?"

samuelgunter
Автор

Simple and easy, thank you man,
BTW, I hit the like button before I watched the video *_^

muhammad
Автор

Should be anyone's top 3! Especially uuid for anyone mapping react components.

dazjacktar
Автор

Is uid/secure safe?? I don't like huge unique id generated by UUID

rifatno
Автор

So i currently use crypto because of the new random bytes function, but if theres no crypto i would rather use nanoid because its faster and much simpler to implement in your code. so actually i began with uuid too

helgaludwig
Автор

Could u please teach us how to make such imports to js files from node modules? I know Webpack can bundle modules, but I'm having a hard time figuring out how tf it works...

okopyl
Автор

Can you do tutorial on settings up React SSR with React, babel, webpack, express

FrozenLMAO
Автор

can't believe is-odd didn't make it

BlackBullsTrades
Автор

This video was death note of all these libraries because now they are not needed

diablodemo
Автор

there is better alternative for uuid and it's called nanoId

eivydasvickus
Автор

I believe vanilla Node already has a uuid utility, so you don't need that lib.

damiangilz
Автор

But .env works by default I think in react project

akshaygadekar
Автор

Where’s a good place to find tutors online?

JRHartung
Автор

in 2023:

uuid is in nodejs by default
dotenv is in nodejs v20 by default

stormyz_
Автор

Would you recommend date-fns over moment?

GonzaloMassa
Автор

I’m pretty sure it should be pronounced dot env, not dot E N V. Env is short for environment since it populates environment variables.

jackdavenport