Tells, is given character a part of astral character, specifically, a high and low surrogate
A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)
Truncate a string to a specific width in the terminal
Middleware to destroy caching
A JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis!
Unicode-aware substring
Find the position of grapheme cluster breaks in a string
Common utility methods used by Tensor.
Test if a position in a string marks the start of a UTF-16 surrogate pair.
Get utf8 byte length of string
UTF-safe string operations
Unicode-aware JS string splitting, typescript version
Detects surrogate pairs in sentences.
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Topological indexing for simplicial complexes
Tiny TypeScript-native tensor library with autograd, compiling to WebGPU. Train small models in the browser without hand-writing kernels, or run a pretrained one frozen for transfer learning.
Common TEST utility methods used by Tensor.
a javascript porting of C's wcwidth()
Fastify plugin to disable client-side caching
Unicode-aware JS string splitting
A trainable Hidden Markov Model with Gaussian emissions using TensorFlow.js
0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage
CLI for Tuned Tensor — fine-tune and evaluate LLMs from the command line
Your one-stop-shop for your NFT needs.