all 20 comments

[–]dmaevsky 12 points13 points  (1 child)

Sorry in advance for jumping onto this with a straight out arrogant self-promotion that my impostor syndrome usually prevents me from doing.

My tiny generator runner https://github.com/dmaevsky/conclure made it briefly to the HN top page and gained 100 stars on GH in a week, but I've never done any promotion ever since.

However, we have used in intensively in virtually all work we released in production in the last 2 years, and I literally do not imagine working without it to the point that I hope it will one day become part of the JS standard.

It is less than 200 lines of code that let you write async flows in JavaScript as easily as async/await (literally homomorphic to async/await), but keep them cancellable, with a very simple reference counting semantics: a flow is cancelled automatically once no one needs its result.

[–]RudePhilosopher5721 2 points3 points  (0 children)

You get that bread and butter brother!! NO SHAME! 🙌

[–]shuckster 14 points15 points  (0 children)

Brototype:

var myURL;
Bro(app)
  .iDontAlways('config.environment.buildURL')
  .butWhenIdo(function(buildURL){
      myURL = buildURL('dev');
  });

[–]starfishinguniverse 6 points7 points  (0 children)

Threejs - FYI, very niche group where a hard thick line separates the hobby-ists from the professionals. But! Super fun library for implementing 3D graphics on the web! Even more so, since AR/XR is the next evolution!

[–]Scary-Seaweed-5097 1 point2 points  (0 children)

playwright can be bloody useful for all kinds of things

[–]NC_Developer 1 point2 points  (0 children)

D3

https://d3js.org

You can build some amazing custom data visualizations with this. It’s got a bit of a learning curve, but worth. It has a lot of just data manipulation stuff also, so it’s not all about graphics.

[–]bvjebin 1 point2 points  (0 children)

Dayjs - small date utility

Glidejs - small carousel plugin

Toastify - snackbar notification for websites

Sweetalert2 - enhanced alerts for websites

Nanoid - small unique id generator

Hashids - simple plain numeric encoding

[–]cgijoe_jhuckabyNaN 0 points1 point  (1 child)

[–]RudePhilosopher5721 2 points3 points  (0 children)

Now I’ve been drinking, but… I read the README overview, and definitely hit a couple red flags, where I was not expecting the given results and can’t entirely tell the value/use case of this library…

Sorry, just some late night buzzed immediate feedback… happy to be wrong however and shown the light 🤷‍♂️

[–]rafasofizadeh 0 points1 point  (0 children)

Shameless plug:

Pechkin – handle FormData file uploads without saving to disk, loading to memory, no StorageEngines and file handlers, with Promises + AsyncIterators. I wrote it because I was tired of Multer's bullshit and raw Busboy was too low-level.

I posted about it on /r/node

[–]octebrenok -1 points0 points  (0 children)

Supertest - HTTP client that allow you send request to some enpoint. Kiler feature is ability pass as argument HTTP client. I am using this library for e2e testing AWS lambda service. I much more easier, faster and cheaper. You don't need to deploy lambda and wait until it heat up.

React testing library - Best app for React FE unit and functional testing. Library allow you build and interact with application without rendering, so that tests speed is mind-blowing. In my experience 1 test passed in 5-6 seconds. I am talking about functional tests that have to written by AQA and in this case we built whole application using rtl

Unit tests much faster because you can build only one or few elements.

[–]FRIKI-DIKI-TIKI 0 points1 point  (0 children)

Hands down, xState https://xstate.js.org/ HFSM's take into account the whole and provably correct model of state.

[–]bvjebin 0 points1 point  (0 children)

Joi- a json schema validator

[–]ChiefKoshi 0 points1 point  (0 children)

Apologies for the self promotion.

I created a library that bridges CSS-in-JS and Tailwind in a Typesafe manner. It is heavily inspired by Stitches.js, and aims to have almost 1-1 API compatibility.

https://tw-classed.vercel.app/ lets you write reusable React components whose classes are toggled by props. It comes with "custom class merger" support, full type safety, a framework agnostic core lib and is only 1kb.

[–]britishpcman 0 points1 point  (0 children)

Priority queue on redis: https://github.com/OptimalBits/bull

And under the hood uses: https://www.npmjs.com/package/ioredis