Live data from Hacker News

Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

github.com

41–50 of 88 posts

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#41

Biggest pain point: wtf is lodash? I don’t care if it’s in your readme, but maybe tell us in your HN hype post

lodash is extremely common knowledge in the js/web world. you’re asking a chemist to explain atoms before sharing their big discovery

No I’m asking a commercial that pops up in what I’m watching and says “ask your doctor if ciallis is right for you.” and gives no context but someone washing their tesla.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#42

Biggest pain point: wtf is lodash? I don’t care if it’s in your readme, but maybe tell us in your HN hype post

Anyone who doesn't know what lodash is wouldn't be interested in this. It's expected knowledge for the target audience

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#43
post #21

What I’d like is a utility library like this, but instead of it being an actual library, be it some utility that generates a single file with exports of the few functions I need. Even just something that would make copy pasting them easier. As in, I want actual zero dependencies, not even the library itself. The reason: I never want these to randomly update.

Why not copy & paste the code you need into a vendor/ subdir?

If the vendored code needs to be updated because of a change in your build tools or whatever then you’ll likely be making similar changes to other parts of your project.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#44

Earlier quoted context omitted.

lodash is extremely common knowledge in the js/web world. you’re asking a chemist to explain atoms before sharing their big discovery

No I’m asking a commercial that pops up in what I’m watching and says “ask your doctor if ciallis is right for you.” and gives no context but someone washing their tesla.

I don’t know. Maybe if it’s getting a lot of traction it’s beholden on you to look up what it is.

I don’t understand everything on the HN frontpage either.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#45
post #23
post #21

What I’d like is a utility library like this, but instead of it being an actual library, be it some utility that generates a single file with exports of the few functions I need. Even just something that would make copy pasting them easier. As in, I want actual zero dependencies, not even the library itself. The reason: I never want these to randomly update.

Couldn't you just pin a specific version dependency? My brain says there's some way to also pin to a hash, but that would require googling and I'm on mobile.

This is why running your own mirror is what most large companies do. Guarantee no take-backs.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#46

Earlier quoted context omitted.

lodash is extremely common knowledge in the js/web world. you’re asking a chemist to explain atoms before sharing their big discovery

No I’m asking a commercial that pops up in what I’m watching and says “ask your doctor if ciallis is right for you.” and gives no context but someone washing their tesla.

I dunno about anyone else, but someone washing their Tesla fits my mental model of impotence perfectly.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#47

Earlier quoted context omitted.

lodash is extremely common knowledge in the js/web world. you’re asking a chemist to explain atoms before sharing their big discovery

No I’m asking a commercial that pops up in what I’m watching and says “ask your doctor if ciallis is right for you.” and gives no context but someone washing their tesla.

Do the example functions (isObject, isNumber, differenceDeep, randomUUID, debounce), along with the name (“SuperUtilsPlus”), and sentences saying “utility library” and “JavaScript” really not give enough context to get an idea of what this library is for?

And so if Lodash is what they’re trying to replace, is that not enough info to infer what Lodash might be?

The pharma ad comparison seems more than a little hyperbolic to me.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#48
post #21

What I’d like is a utility library like this, but instead of it being an actual library, be it some utility that generates a single file with exports of the few functions I need. Even just something that would make copy pasting them easier. As in, I want actual zero dependencies, not even the library itself. The reason: I never want these to randomly update.

Nobody wants anything _ever_ to ”randomly update”. Why this is the default setting on so many development setups boggles my mind.

I really havent figured out why professional systems insist running on the bleeding edge - it’s your feet are bleeding here I believe. 10 year … 15 year old code is generally excellent if you know it through and thorough.

Re: Show HN: SuperUtilsPlus – A Modern Alternative to Lodash

#50
The published version appears to be CommonJS only:

    $ node index.mjs
    import { isString } from 'super-utils-plus'
             ^^^^^^^^
    SyntaxError: Named export 'isString' not found. The requested module 'super-utils-plus' is 
    a CommonJS module, which may not support all module.exports as named exports.
You might also need to update some of your type checks to handle wrapper objects like new String() - Object.prototype.toString.call(...) is your friend.
Post reply on HN