Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
sys-repo/sysWorks with
•JSR Score100%•This package works with Deno, Browsers

License
•MIT
Downloads1/wk
•Published2 weeks ago (0.0.330)
Tools for working with strings of text.
Text Helpers
Tools for working with strings of text.
Filter
A small, composable text-filtering primitive for fast, human-friendly search — designed to normalize loose queries once, score matches deterministically, and stay predictable under iteration.
import { Filter } from '@sys/text/filter'; const results = Filter.apply( 'fbr', [ { text: 'Foo.Bar.Render', value: 'render' }, { text: 'Foo.Bar.Router', value: 'router' }, { text: 'Foo.Baz.Result', value: 'result' }, ], { mode: 'fuzzy', // loose, in-order character matching for quick recall-style search limit: 10, }, ); // → forgiving, ranked matches suited to jump-to-anything navigation
Built and signed on
GitHub Actions
Add Package
deno add jsr:@sys/text
Import symbol
import * as text from "@sys/text";
Import directly with a jsr specifier
import * as text from "jsr:@sys/text";