parshap / truncate-utf8-bytesLinks
Truncate string to length in bytes
☆15Updated 2 years ago
Alternatives and similar repositories for truncate-utf8-bytes
Users that are interested in truncate-utf8-bytes are comparing it to the libraries listed below
Sorting:
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆62Updated last month
- Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible☆85Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆38Updated 10 months ago
- When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This…☆22Updated 5 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Check if a string is a valid filename☆62Updated 3 years ago
- Check if a file path is a binary file☆44Updated last year
- Get the number of days in a month☆27Updated 3 years ago
- Change alpha of a color string☆23Updated 4 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Make a function mimic another one☆94Updated 7 months ago
- An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.☆31Updated 5 months ago
- List of video file extensions☆58Updated last year
- A collection of Regenerate sets for Unicode various properties.☆19Updated 8 months ago
- Read all the installed packages in a folder, and return a tree structure with all the data.☆52Updated 3 years ago
- Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')☆89Updated 6 months ago
- Create `esm` enabled packages.☆51Updated 6 years ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Create an array without duplicates☆71Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Check if a process is running☆58Updated 3 years ago