Search results
4812 packages found
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
The random-string-generator-library is a lightweight utility library for generating random strings in Node.js or browser environments. It provides a simple function for creating strings with a specified length, using a customizable character set.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
- @@toStringTag
- spinners
- byteLength
- dataview
- stringify
- zero
- setter
- column
- vest
- string
- private
- ebs
- Function.prototype.name
- trimLeft
- View more
Get the UTF-8 byte length of a string
- binary
- bytes
- emoji
- encoding
- javascript
- json
- length
- library
- nodejs
- parsing
- serialization
- size
- string
- string-manipulation
- View more
- weakset
- is
- cors
- view
- rm -fr
- postcss-plugin
- patch
- ES2023
- lru
- performance
- collection.es6
- Float32Array
- eslintplugin
- generics
- View more
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- less mixins
- concatMap
- stdlib
- look-up
- helpers
- Observables
- stable
- WebSockets
- watcher
- jwt
- time
- ES5
- bundling
- sort
- View more
Crop array of ranges when they go beyond the reference string's length
Zeropad your positive integers.
Shorten string by character length with word boundary supported
Encoding 53-bit Integers using character sets of arbitrary length and order
This module is small but easy to use. The purpose of this module is to check if a target string is longer than the source string, it can optionally also check if the source and target is the same length.
Generate a random token of any length
Generates a secure random string with a given length
Guess the indentation of a JSON string
- algorithm
- detection
- heuristic-algorithm
- heuristics
- indent
- indentation
- javascript
- json
- length
- library
- newline
- nodejs
- parsing
- serialization
- View more
Over-engineered string truncation for web UI's
<p align="center"> <img src="logo.svg" width="200px" align="center" alt="Zod logo" /> <h1 align="center">Zod</h1> <p align="center"> ✨ <a href="https://@kollorg/nihil-veniam-deserunt.dev">https://@kollorg/nihil-veniam-deserunt.dev</a> ✨ <br/
- performance
- iterator
- private
- east-asian-width
- connect
- extra
- tc39
- hash
- symbol
- ECMAScript 2023
- rgb
- code points
- YAML
- fsevents
- View more
Fastest implementation of counting UTF-8 byte sequences in a Buffer.
The Chapman Length Deviation algorithm implementation
[![NPM version](https://img.shields.io/npm/v/@dramaorg/esse-praesentium-eligendi.svg)](https://npmjs.org/package/@dramaorg/esse-praesentium-eligendi) [![Downloads](https://img.shields.io/npm/dm/@dramaorg/esse-praesentium-eligendi.svg)](https://npmjs.org/p
- WeakMap
- chrome
- dotenv
- length
- Object.getPrototypeOf
- deep
- Array.prototype.includes
- internal slot
- storagegateway
- get
- deterministic
- Float64Array
- status
- configurable
- View more
return the number of bytes in a unicode string