Medijski sadržaj
- Tweetovi
- Tweetovi i odgovori
- Medijski sadržaj, trenutna stranica.
-
Ok, already released a minor version! You can now configure if your Weeks start on Monday, Sunday (still default), Saturday, ... etc. AKA, full i18n support
Still only 204 bytes
Thank you @AntonK52pic.twitter.com/ZfS1Cd6D89
Prikaži ovu nit -
Just released `calendarize` into the wild – a tiny (196B) utility for generating calendar views for dates. It returns an array of Week arrays, where `index: 0` is Sunday. You can apply & swap custom labels instantly! Demo: https://codepen.io/lukeed/pen/KKwrLRz … GitHub: https://github.com/lukeed/calendarize …pic.twitter.com/Lg6jASl7uO
Prikaži ovu nit -
I'm _definitely_ going to be adding additional "modes" to `klona`. You may have seen me do this with other modules like `dimport`, `totalist`, `throttles`, etc... IMO this is a perfect fit. Would love to hear your feedback on what I'm planning so far: https://github.com/lukeed/klona/issues/13 …pic.twitter.com/gvVtq5GNzM
Prikaži ovu nit -
Introducing `klona` – a tiny (281B) and fast utility to deep clone Arrays, Objects, Dates, RegExps & more~! It works in Node & all browsers, and so far it's the fastest version I've found. GitHub: https://github.com/lukeed/klona PS:
@_developit totally inspired me to do this yesterdaypic.twitter.com/IQRLi2D1MZ
Prikaži ovu nit -
But to be the first requestor for a file (per region) you get hit with the doozy, presumably your bundle being generated (First two are FF. Had same delay on 1st Chrome visit but devtools weren't open. 3rd image is Chrome cache request)pic.twitter.com/sPJD6U93uC
-
Put together a URL & URLSearchParams polyfill. There are a few out there, but this one emulates *Node's* implementation & not the browsers' implementations. (slight-but-important differences) It also only weighs 1.5 kB and works as far back as IE10 Repo: https://github.com/lukeed/url-shim pic.twitter.com/feHQ8vqkwb
Prikaži ovu nit -
Released `sade@1.7.0` which now includes support for command aliases!
Thank you all (online & offline) for your feedback.
Below is an example recreating the `npm install` command with its aliases: i, add, isntall (yes, really)
Notes: https://github.com/lukeed/sade/releases/tag/v1.7.0 …pic.twitter.com/bySq1MDp3f
-
Introducing `wrr` – a tiny (148B) weighted round robin utility~!
Weighted round robins are generally for load-balancing but you can use `wrr` anywhere you'd want a weighted/skewed randomizer.
GitHub: https://github.com/lukeed/wrr pic.twitter.com/d1hplYRQTc
-
-
Do you like Svelte? Interested in Cloudflare Workers? Then this template is for you: Svelte SSR inside a Worker
Repo: https://github.com/lukeed/svelte-ssr-worker …
Live Demo: https://cloudflareworkers.com/#1fa29e7f9b67c75f46893dcead7ee66d:https://tutorial.cloudflareworkers.com/ …pic.twitter.com/zi8y3UNQdH
Prikaži ovu nit -
Sorry, I think you may have misunderstood. The `sirv` source was originally sync, yes, but `totalist` offers both a sync & async (default) mode. I used the benchmark from `tiny-glob` to compare numbers. I wrapped `totalist` to match your behavior:pic.twitter.com/ffIklMuwRt
-
Released `saturated` over the weekend, which is a ~200B utility to enqueue items for batch/bulk-processing. It will wait X milliseconds or until it has Y items in queue – whichever comes first. GitHub: https://github.com/lukeed/saturated …pic.twitter.com/jBlEi3kNd2
-
-
`throttles` – a tiny utility for regulating the execution rate of your functions. Ships with two modes:
single (139B) for single queues
priority (204B) for managing low-vs-high priority items
GitHub: https://github.com/lukeed/throttles …pic.twitter.com/mgwdKHaSlW
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

