vutran / twas
🕰 Tiny (280B) relative time string function (eg: "3 seconds ago")
☆249Updated 2 years ago
Alternatives and similar repositories for twas:
Users that are interested in twas are comparing it to the libraries listed below
- 📄 Copy text from browser to clipboard...natively! < 1kB☆148Updated last week
- Lightweight templating in 150 bytes☆225Updated 3 years ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Updated last year
- A tiny (195B to 224B) utility to recursively list all (total) files in a directory☆152Updated 2 years ago
- A tiny (215B) and fast utility to expand a flattened object☆202Updated last year
- A tiny (148B) weighted round robin utility☆166Updated 5 years ago
- A tiny (203B) utility to enqueue items for batch processing and/or satisfying rate limits.☆114Updated 5 years ago
- Split an iterable into evenly sized chunks☆154Updated last year
- A tiny (215B) and fast Least Recently Used (LRU) cache☆321Updated 5 years ago
- Cycle through the items of an array☆240Updated 4 years ago
- A tiny (153B) utility to compare semver strings.☆125Updated 9 months ago
- The smallest possible slug utility for Node.js and Browser☆63Updated 2 years ago
- A least-recently-used cache in 35 lines of code~!☆177Updated 4 years ago
- Customizable social media preview image☆56Updated 3 years ago
- DOM event delegation, in <1KB☆192Updated 5 months ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 5 months ago
- A tiny (139B to 204B) utility to regulate the execution rate of your functions☆198Updated last year
- Microservice that forwards you to error messages☆99Updated 11 months ago
- Make sure every file in your repo is exactly where it should be☆169Updated 4 years ago
- Fast and functional router☆96Updated 2 years ago
- Cast unknown values to typed values☆99Updated 6 years ago
- A tiny (339B) utility for human-readable time differences between now and past or future dates.☆190Updated 5 years ago
- The Ridiculous Application of Reduce☆63Updated 3 years ago
- Tap into a promise chain without affecting its value or state☆132Updated 4 years ago
- A sorted queue, based on an array-backed binary heap☆107Updated 11 months ago
- A tiny (190B) and extremely fast utility to generate random IDs of fixed length☆198Updated 6 months ago
- A router that works in Node.js, browser and Deno.☆65Updated 3 years ago
- A snappy and lightweight (259B) utility to encrypt and decrypt values with salt.☆95Updated 6 years ago
- A tiny (~90B) isomorphic wrapper for `crypto.randomBytes` in Node.js and browsers.☆68Updated 2 years ago