Tiny JS
79 items from thoughtspile/awesome-tiny-js ★780
-
fuzzy github.com
Fuzzy search / filter for browser and node
-
alloyfinger github.com
Pan, swipe, tap, doubletap, longpress, and pinch / rotate. My personal favorite. .
-
redom github.com
Hyperapp-style templates with imperative event listeners and updates,
-
navaid github.com
History-based observable router,
-
wade github.com
Also similar, (compare)
-
unistore github.com
Centralized store with actions, + React
-
umbrella github.com
jQuery-style DOM manipulation library,
-
js-search github.com
Feature-rich and customizable: multi-field indices, stop words, custom stemmers and tokenizers.
-
colord github.com
Manipulate colors and convert between spaces, . Extra features come as plugins, 150b to 1.5 kB each.
-
callbag-basics github.com
Rx-style event streams,
-
nanoevents github.com
Nicer unsubscribe API, but no * event,
-
superfine github.com
Hyperapp with state & effect hooks removed,
-
flyd github.com
Rx-styled event streams,
-
fuzzyset github.com
Find misspellings, e.g. missipissi -> Missisipi, Commercial usage costs $42.
-
tinytime github.com
Simple date / time formatter: {h}:{mm} -> 9:33,
-
polychrome github.com
More of the same,
-
tinydate github.com
Date / time formatter, only supports padded numeric output (September -> 09),
-
rosetta github.com
Bare-bones template strings ({{hello}}, {{username}}) and custom functions for everyting else,
-
teaful github.com
Store with useState-like API, , including React / preact connector.
-
uid github.com
More of the same,
-
regexparam github.com
Convert path to regexp in
-
onfire.js github.com
Also has .once method,
-
time-stamp github.com
Get a formatted timestamp.
-
qss github.com
Parse querystrings in . Not sure you need it, URL API support is good.
-
hyperactiv github.com
4 functions to make objects observable and listen to changes,
-
detect-it github.com
Detect present and primary input method (touch / mouse) and supported events,
-
@lukeed/uuid github.com
Real UUIDs,
-
libsearch github.com
Index-free search (slower, but easier to use) with sane ordering
-
eo-locale github.com
Interpolation and dates / numbers, , or with react bindings.
-
gretchen github.com
Chainable API with type-safe errors,
-
@nanostores/router github.com
Routes as a nanostores store (framework-agnostic),
-
matchit github.com
Route parser and matcher in
-
@nanostores/i18n github.com
Detect locale, load dictionaries, format dates / numbers, including nanostores.
-
liquidmetal github.com
Quicksilver algorithm, prioritizes matches at start of word for command abbreviations (e.g. gp -> git push). One string at a time.
-
usignal github.com
A smaller signal implementation,
-
tinygesture github.com
Configurable pan, swipe, tap, doubletap, longpress. .
-
fuzzy-search github.com
With stateful index.
-
hexoid github.com
Hexadecimal IDs,
-
deep-waters github.com
Composable functional validators, .
-
flimsy github.com
Signals from Solid (it almost fit into UI frameworks category itself). Author warning: it's probably buggy.
-
pointer-tracker github.com
Unified interface for mouse, touch and pointer events,
-
fromnow github.com
More of the same,
-
banditypes github.com
The smallest validation library:
-
quick-score github.com
Another quicksilver-based lib, tweaked for long strings. Built-in list filtering and sorting, or 1.2 kB for single-string scoring.
-
fzy.js github.com
Matches one string at a time, tree-shakeable scores and match highlighting. total, or ~150 bytes for hasMatch only.
-
ndx github.com
Similar to js-search, differs in ranking and is less strict for multi-word queries (compare). Supports field weights.
-
stemmer github.com
-
colr github.com
More of the same,
-
porter-stemmer github.com