A utility package for JavaScript applications.
A regex to match any full character, considering weird character ranges.
Tokenizes a string that represents a regular expression.
Pad strings to a given length
A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)
Put a little spinner on process.stderr, as unobtrusively as possible.
Type definition package for textlint
A factory for kernel functions
Efficiently modify strings containing ANSI escape codes
Unpacks the content found within a text, delimited by an opening char and a closing char, e.g., 'Can extract (only the content found here within these parentheses)'
The gaussian (radial basis function) kernel
The polynomial kernel
Sigmoid (hyperbolic tangent) kernel
The official TypeScript library for the Kernel API
Compute the cosine of a double-precision floating-point number on [-π/4, π/4].
Compute the sine of a double-precision floating-point number on [-π/4, π/4].
textlint kernel is core logic by pure JavaScript.
Measure text using a character width table
Regular expressions for matching against the XML Character Classes
Get the char width/height proportions in different terminal emulators.
Incomplete beta function and its first derivative.
A JavaScript library that breaks strings into their individual user-perceived characters. It supports emojis!
Inverse incomplete beta function.
Return a random character.