JSPM

Found 9482 results for string formatting

fmt-subs

Helps with complex printf-style formatting

  • v1.1.1
  • 112.37
  • Published

string-format-ts

A Typescript formatting library inspired by c# string.format("My {0} string", "Hello World")

    • v1.0.4
    • 111.93
    • Published

    lfmt

    Dead simple string formatting

    • v0.2.1
    • 108.64
    • Published

    @acusti/textual

    Utilities for transforming and formatting text (i.e. strings)

    • v0.10.0
    • 104.82
    • Published

    string-format-full

    Python string formatting mini-language, transcoded from Jython.

    • v1.1.1
    • 100.73
    • Published

    strat

    Functional-ish JavaScript string formatting, with inspirations from Python.

    • v2.0.0
    • 99.99
    • Published

    magic-string

    Modify strings, generate sourcemaps

    • v0.30.18
    • 94.46
    • Published

    pyformat

    Simple Python-style string formatting for JS

    • v1.0.0-0
    • 89.08
    • Published

    mask-any-number

    Apply flexible numeric masks to any string. Perfect for phone numbers, documents, and custom input formatting.

    • v2.2.0
    • 86.96
    • Published

    string-formatter-js

    A collection of useful string formatting utilities

      • v1.0.0
      • 86.48
      • Published

      ansi-styles

      ANSI escape codes for styling strings in the terminal

      • v6.2.1
      • 85.83
      • Published

      strip-ansi

      Strip ANSI escape codes from a string

      • v7.1.0
      • 85.11
      • Published

      chalk

      Terminal string styling done right

      • v5.6.0
      • 85.04
      • Published

      ansi-regex

      Regular expression for matching ANSI escape codes

      • v6.2.0
      • 83.95
      • Published

      format4js

      Java's String.format() compatible string formatting library for JavaScript.

      • v0.1.1
      • 83.77
      • Published

      wrap-ansi

      Wordwrap a string with ANSI escape codes

      • v9.0.0
      • 82.92
      • Published

      topkat-utils

      A comprehensive collection of TypeScript/JavaScript utility functions for common programming tasks. Includes validation, object manipulation, date handling, string formatting, and more. Zero dependencies, fully typed, and optimized for performance.

      • v1.3.24
      • 80.55
      • Published

      ansi-escapes

      ANSI escape codes for manipulating the terminal

      • v7.0.0
      • 78.86
      • Published

      slice-ansi

      Slice a string with ANSI escape codes

      • v7.1.0
      • 77.86
      • Published

      ansi-colors

      Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).

      • v4.1.3
      • 75.42
      • Published

      format.js

      String Formatting for JavaScript

      • v0.0.0
      • 74.42
      • Published

      diffable-html

      Opinionated HTML formatter focused towards making HTML diffs readable.

      • v6.0.1
      • 73.71
      • Published

      yoctocolors-cjs

      CommonJS version - The smallest and fastest command-line coloring package on the internet

      • v2.1.3
      • 70.89
      • Published

      @pivanov/utils

      A collection of personal utilities to live a happier life

      • v0.0.2
      • 70.88
      • Published

      ezformat

      Easy string formatting script

      • v1.4.1
      • 69.23
      • Published

      string-modifier-utils

      A lightweight and powerful utility library for advanced string manipulation, case conversion, and formatting.

      • v1.0.0
      • 68.84
      • Published

      pupa

      Simple micro templating

      • v3.1.0
      • 68.43
      • Published

      yoctocolors

      The smallest and fastest command-line coloring package on the internet

      • v2.1.2
      • 66.78
      • Published

      chalk-template

      Terminal string styling with tagged template literals

      • v1.1.0
      • 66.76
      • Published

      string-width

      Get the visual width of a string - the number of columns required to display it

      • v8.0.0
      • 66.24
      • Published

      kind-of

      Get the native type of a value.

      • v6.0.3
      • 64.54
      • Published

      ansi-gray

      The color gray, in ansi.

      • v0.1.1
      • 64.38
      • Published

      is-fullwidth-code-point

      Check if the character represented by a given Unicode code point is fullwidth

      • v5.0.0
      • 64.26
      • Published

      string_decoder

      The string_decoder module from Node core

      • v1.3.0
      • 64.18
      • Published

      eol

      Newline character converter

      • v0.10.0
      • 64.08
      • Published

      strip-bom

      Strip UTF-8 byte order mark (BOM) from a string

      • v5.0.0
      • 63.62
      • Published

      parse-json

      Parse JSON with more helpful errors

      • v8.3.0
      • 63.41
      • Published

      camelcase

      Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

      • v8.0.0
      • 63.37
      • Published

      jsesc

      Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

      • v3.1.0
      • 63.21
      • Published

      get-stream

      Get a stream as a string, Buffer, ArrayBuffer or array

      • v9.0.1
      • 63.12
      • Published

      gradient-string

      Beautiful color gradients in terminal output

      • v3.0.0
      • 62.55
      • Published

      is-extglob

      Returns true if a string has an extglob.

      • v2.1.1
      • 61.92
      • Published

      strip-final-newline

      Strip the final newline character from a string or Uint8Array

      • v4.0.0
      • 61.91
      • Published

      is-glob

      Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

      • v4.0.3
      • 61.86
      • Published

      fast-levenshtein

      Efficient implementation of Levenshtein algorithm with locale-specific collator support.

      • v3.0.0
      • 61.55
      • Published

      prelude-ls

      prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

      • v1.2.1
      • 61.44
      • Published

      indent-string

      Indent each line in a string

      • v5.0.0
      • 61.44
      • Published

      es-to-primitive

      ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

      • v1.3.0
      • 61.33
      • Published

      natural-compare

      Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

      • v1.4.0
      • 61.29
      • Published

      anymatch

      Matches strings against configurable strings, globs, regular expressions, and/or functions

      • v3.1.3
      • 61.24
      • Published

      ansi-red

      The color red, in ansi.

      • v0.1.1
      • 61.15
      • Published

      ansi-cyan

      The color cyan, in ansi.

      • v0.1.1
      • 61.12
      • Published

      @ryniaubenpm/ipsum-aperiam-ullam

      `JsSimpleDateFormat` is for formatting and parsing date-time and duration. It formats a `Date` object to be a string as the defined pattern. It can also parse a string to be a `Date` object based on the defined pattern. It supports the pattern which is

      • v1.0.0
      • 61.00
      • Published

      strnum

      Parse String to Number based on configuration

      • v2.1.1
      • 60.46
      • Published

      is-string

      Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

      • v1.1.1
      • 60.46
      • Published

      decamelize

      Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

      • v6.0.1
      • 60.40
      • Published

      leven

      Measure the difference between two strings using the Levenshtein distance algorithm

      • v4.0.0
      • 60.04
      • Published

      he

      A robust HTML entities encoder/decoder with full Unicode support.

      • v1.2.0
      • 60.03
      • Published

      querystringify

      Querystringify - Small, simple but powerful query string parser.

      • v2.2.0
      • 59.95
      • Published

      string-length

      Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

      • v6.0.0
      • 59.94
      • Published

      redent

      Strip redundant indentation and indent the string

      • v4.0.0
      • 59.28
      • Published

      strip-indent

      Strip leading whitespace from each line in a string

      • v4.0.0
      • 59.24
      • Published

      cli-truncate

      Truncate a string to a specific width in the terminal

      • v4.0.0
      • 59.18
      • Published

      cssesc

      A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.

      • v3.0.0
      • 59.18
      • Published

      url-parse

      Small footprint URL parser that works seamlessly across Node.js and browser environments

      • v1.5.10
      • 58.93
      • Published

      min-indent

      Get the shortest leading whitespace from lines in a string

      • v1.0.1
      • 58.61
      • Published

      own-keys

      Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible

      • v1.0.1
      • 58.59
      • Published

      unique-string

      Generate a unique random string

      • v3.0.0
      • 58.54
      • Published

      has-value

      Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

      • v2.0.2
      • 58.44
      • Published

      string.prototype.repeat

      A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.

      • v1.0.0
      • 58.38
      • Published

      css.escape

      A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.

      • v1.5.1
      • 58.36
      • Published

      has-values

      Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

      • v2.0.1
      • 58.18
      • Published

      detect-indent

      Detect the indentation of code

      • v7.0.1
      • 58.12
      • Published

      repeat-string

      Repeat the given string n times. Fastest implementation for repeating a string.

      • v1.6.1
      • 58.04
      • Published

      get-east-asian-width

      Determine the East Asian Width of a Unicode character

      • v1.3.1
      • 57.83
      • Published

      trim-newlines

      Trim newlines from the start and/or end of a string

      • v5.0.0
      • 57.77
      • Published

      widest-line

      Get the visual width of the widest line in a string - the number of columns required to display it

      • v5.0.0
      • 57.71
      • Published

      has-ansi

      Check if a string has ANSI escape codes

      • v6.0.0
      • 57.62
      • Published

      mdast-util-to-string

      mdast utility to get the plain text content of a node

      • v4.0.0
      • 57.54
      • Published

      pg-connection-string

      Functions for dealing with a PostgresSQL connection string

      • v2.9.1
      • 57.50
      • Published

      common-tags

      a few common utility template tags for ES2015

      • v1.8.2
      • 57.28
      • Published

      string.prototype.includes

      A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.

      • v2.0.1
      • 57.26
      • Published

      fastest-levenshtein

      Fastest Levenshtein distance implementation in JS.

      • v1.0.16
      • 57.26
      • Published

      wildcard

      Wildcard matching tools

      • v2.0.1
      • 57.16
      • Published

      lz-string

      LZ-based compression algorithm

      • v1.5.0
      • 57.08
      • Published

      camelcase-keys

      Convert object keys to camel case

      • v9.1.3
      • 57.08
      • Published

      query-string

      Parse and stringify URL query strings

      • v9.2.2
      • 56.96
      • Published

      is-hexadecimal

      Check if a character is hexadecimal

      • v2.0.1
      • 56.87
      • Published

      is-decimal

      Check if a character is decimal

      • v2.0.1
      • 56.84
      • Published

      ripemd160

      Compute ripemd160 of bytes or strings.

      • v2.0.2
      • 56.65
      • Published

      gzip-size

      Get the gzipped size of a string or buffer

      • v7.0.0
      • 56.55
      • Published

      split-string

      Easy way to split a string on a given character unless it's quoted or escaped.

      • v6.1.0
      • 56.24
      • Published

      pascalcase

      Convert a string to pascal case (upper camelcase).

      • v2.0.0
      • 56.08
      • Published

      is-alphabetical

      Check if a character is alphabetical

      • v2.0.1
      • 56.06
      • Published

      decamelize-keys

      Convert object keys from camel case

      • v2.0.1
      • 56.04
      • Published

      strip-color

      Strip ANSI color codes from a string. No dependencies.

      • v0.1.0
      • 55.88
      • Published

      pretty-ms

      Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

      • v9.2.0
      • 55.79
      • Published

      dahelpers

      Library of miscellaneous formatting and helper functions

      • v0.3.6
      • 55.79
      • Published

      regex-parser

      A module that parses a string as regular expression and returns the parsed value.

      • v2.3.1
      • 55.38
      • Published

      repeat-element

      Create an array by repeating the given value n times.

      • v1.1.4
      • 55.32
      • Published

      natural-compare-lite

      Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

      • v1.4.0
      • 55.20
      • Published

      typical

      Isomorphic, functional type-checking for Javascript

      • v7.3.0
      • 55.05
      • Published

      hasha

      Hashing made simple. Get the hash of a buffer/string/stream/file.

      • v6.0.0
      • 55.03
      • Published

      ansi-green

      The color green, in ansi.

      • v0.1.1
      • 55.01
      • Published

      split-on-first

      Split a string on the first occurance of a given separator

      • v4.0.0
      • 54.93
      • Published

      ansi-grey

      The color grey, in ansi.

      • v0.1.1
      • 54.82
      • Published

      ansi-dim

      The color dim, in ansi.

      • v0.1.1
      • 54.77
      • Published

      os-locale

      Get the system locale

      • v6.0.2
      • 54.72
      • Published

      success-symbol

      Cross-platform success symbol.

      • v0.1.0
      • 54.56
      • Published

      ansi-yellow

      The color yellow, in ansi.

      • v0.1.1
      • 54.52
      • Published

      ansi-bgmagenta

      The color bgmagenta, in ansi.

      • v0.1.1
      • 54.32
      • Published

      ansi-blue

      The color blue, in ansi.

      • v0.1.1
      • 54.32
      • Published

      ansi-bgcyan

      The color bgcyan, in ansi.

      • v0.1.1
      • 54.32
      • Published

      error-symbol

      Cross-platform error symbol.

      • v0.1.0
      • 54.32
      • Published

      index-to-position

      Convert a string index to its line and column position

      • v1.1.0
      • 54.30
      • Published

      ansi-bgred

      The color bgred, in ansi.

      • v0.1.1
      • 54.27
      • Published

      ansi-bgwhite

      The color bgwhite, in ansi.

      • v0.1.1
      • 54.26
      • Published

      ansi-inverse

      The color inverse, in ansi.

      • v0.1.1
      • 54.26
      • Published

      warning-symbol

      Cross-platform warning symbol.

      • v0.1.0
      • 54.25
      • Published

      filenamify

      Convert a string to a valid safe filename

      • v6.0.0
      • 54.19
      • Published

      ansi-bold

      The color bold, in ansi.

      • v0.1.1
      • 54.15
      • Published

      string-natural-compare

      Compare alphanumeric strings the same way a human would, using a natural order algorithm

      • v3.0.1
      • 54.14
      • Published

      ansi-bgblue

      The color bgblue, in ansi.

      • v0.1.1
      • 54.12
      • Published

      ansi-italic

      The color italic, in ansi.

      • v0.1.1
      • 54.12
      • Published

      ansi-bgyellow

      The color bgyellow, in ansi.

      • v0.1.1
      • 54.12
      • Published

      unquote

      Remove wrapping quotes from a string.

      • v1.1.1
      • 54.05
      • Published

      ansi-underline

      The color underline, in ansi.

      • v0.1.1
      • 54.03
      • Published

      ansi-bggreen

      The color bggreen, in ansi.

      • v0.1.1
      • 54.02
      • Published

      ansi-hidden

      The color hidden, in ansi.

      • v0.1.1
      • 54.02
      • Published

      js-levenshtein

      The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.

      • v1.1.6
      • 53.96
      • Published

      ilib-istring

      Formattable string with the same API as an intrinsic string

      • v1.1.1
      • 53.87
      • Published

      lcid

      Mapping between standard locale identifiers and Windows locale identifiers (LCID)

      • v5.0.0
      • 53.81
      • Published

      ansi-magenta

      The color magenta, in ansi.

      • v0.1.1
      • 53.74
      • Published

      ansi-reset

      The color reset, in ansi.

      • v0.1.1
      • 53.67
      • Published

      ansi-black

      The color black, in ansi.

      • v0.1.1
      • 53.67
      • Published

      ansi-white

      The color white, in ansi.

      • v0.1.1
      • 53.67
      • Published

      ansi-bgblack

      The color bgblack, in ansi.

      • v0.1.1
      • 53.67
      • Published

      info-symbol

      Cross-platform info symbol.

      • v0.1.0
      • 53.64
      • Published

      fault

      Functional errors with formatted output

      • v2.0.1
      • 53.48
      • Published

      uint8array-extras

      Useful utilities for working with Uint8Array (and Buffer)

      • v1.5.0
      • 53.26
      • Published

      tfunk

      Multi-colour console output from chalk with added awesome

      • v4.0.0
      • 53.19
      • Published

      repeating

      Repeat a string - fast

      • v4.0.0
      • 53.03
      • Published

      trim-repeated

      Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz

      • v2.0.0
      • 52.86
      • Published

      is-primitive

      Returns `true` if the value is a primitive.

      • v3.0.1
      • 52.85
      • Published

      into-stream

      Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

      • v8.0.1
      • 52.67
      • Published

      ansicolors

      Functions that surround a string with ansicolor codes so it prints in color.

      • v0.3.2
      • 52.61
      • Published

      matcher

      Simple wildcard matching

      • v5.0.0
      • 52.38
      • Published

      strip-outer

      Strip a substring from the start/end of a string

      • v2.0.0
      • 52.30
      • Published

      normat

      generic javascript number/string formatting (bytes, milliseconds, ...)

      • v1.2.3
      • 52.12
      • Published

      titleize

      Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`

      • v4.0.0
      • 51.80
      • Published

      is-url-superb

      Check if a string is a URL

      • v6.1.0
      • 51.52
      • Published

      object-treeify

      Stringify Object as tree structure

      • v5.0.1
      • 51.48
      • Published

      js-string-escape

      Escape strings for use as JavaScript string literals

      • v1.0.1
      • 51.44
      • Published

      hast-util-to-string

      hast utility to get the plain-text value of a node

      • v3.0.1
      • 51.32
      • Published

      outdent

      Remove leading indentation from ES6 template literals.

      • v0.8.0
      • 51.32
      • Published

      iterate-value

      Iterate any iterable JS value. Works robustly in all environments, all versions.

      • v1.0.2
      • 51.31
      • Published

      natural-orderby

      Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.

      • v5.0.0
      • 51.29
      • Published

      dom-serialize

      Serializes any DOM node into a String

      • v2.2.1
      • 51.27
      • Published

      strip-bom-string

      Strip a byte order mark (BOM) from a string.

      • v1.0.0
      • 51.27
      • Published

      plur

      Pluralize a word

      • v5.1.0
      • 51.25
      • Published

      locate-character

      Get the line and column number of a specific character in a string

      • v3.0.0
      • 51.09
      • Published

      javascript-stringify

      Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`

      • v2.1.0
      • 51.07
      • Published

      colors-cli

      Terminal string styling done right

      • v1.0.33
      • 51.05
      • Published

      string-template

      A simple string template function based on named or indexed arguments

      • v1.0.0
      • 51.03
      • Published

      string-mask

      A string formatter and validator based on masks

      • v0.3.0
      • 51.02
      • Published

      is-invalid-path

      Returns true if a windows file path has invalid characters.

      • v1.0.2
      • 50.99
      • Published

      stringtemplate4ts

      A TypeScript port of the Java StringTemplate 4 library

      • v2.0.1
      • 50.90
      • Published

      lingojs

      A javascript library for formatting and manipulating text (strings).

      • v2.0.7
      • 50.89
      • Published

      string-hash

      fast string hashing function

      • v1.1.3
      • 50.67
      • Published

      character-parser

      Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.

      • v4.0.0
      • 50.35
      • Published

      underscore.string

      String manipulation extensions for Underscore.js javascript library.

      • v3.3.6
      • 50.35
      • Published

      murmurhash-js

      Native JS murmur hash implementation

      • v1.0.0
      • 50.34
      • Published

      hast-util-to-text

      hast utility to get the plain-text value of a node according to the `innerText` algorithm

      • v4.0.2
      • 50.11
      • Published

      is-svg

      Check if a string is SVG

      • v6.1.0
      • 50.09
      • Published

      is-word-character

      Check if a character is a word character

      • v2.0.1
      • 49.99
      • Published

      execall

      Find multiple RegExp matches in a string

      • v3.0.0
      • 49.95
      • Published

      elegant-spinner

      Elegant spinner for interactive CLI apps

      • v3.0.0
      • 49.86
      • Published

      html-comment-regex

      Regular expression for matching HTML comments

      • v1.1.2
      • 49.85
      • Published

      printj

      Pure-JS printf

      • v1.3.1
      • 49.26
      • Published

      string.fromcodepoint

      A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.

      • v1.0.3
      • 49.13
      • Published

      pad-right

      Right pad a string with zeros or a specified string. Fastest implementation.

      • v0.2.2
      • 48.95
      • Published

      to-no-case

      Remove any existing casing from a string.

      • v1.0.2
      • 48.94
      • Published

      is-valid-path

      Returns true if a file path does not contain any invalid characters.

      • v0.1.1
      • 48.89
      • Published

      sprintf-kit

      sprintf parser and basic formatter

      • v2.0.2
      • 48.88
      • Published

      @jsonjoy.com/buffers

      Various helper utilities for working with buffers and binary data

      • v1.0.0
      • 48.84
      • Published

      is-ip

      Check if a string is an IP address

      • v5.0.1
      • 48.46
      • Published

      is-whitespace

      Returns true if the value passed is all whitespace.

      • v0.3.0
      • 48.42
      • Published

      case

      Extensible string utility for converting, identifying and flipping string case

      • v1.6.3
      • 48.41
      • Published

      diacritics

      remove diacritics from strings

      • v1.3.0
      • 48.24
      • Published

      tweetnacl-util

      String encoding utilitlies extracted from TweetNaCl.js

      • v0.15.1
      • 48.21
      • Published

      to-space-case

      Convert a string to space case.

      • v1.0.0
      • 48.12
      • Published

      nlcst-to-string

      nlcst utility to transform a tree to a string

      • v4.0.0
      • 48.11
      • Published

      has-glob

      Returns `true` if an array has a glob pattern.

      • v1.0.0
      • 48.04
      • Published

      unescape

      Convert HTML entities to HTML characters, e.g. `>` converts to `>`.

      • v1.0.1
      • 47.70
      • Published

      @hapi/formula

      Math and string formula parser.

      • v3.0.2
      • 47.50
      • Published

      serialised-error

      Serialises error object to normal object

      • v1.1.3
      • 47.25
      • Published

      string.prototype.codepointat

      A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.

      • v1.0.1
      • 47.19
      • Published

      format-util

      Lightweight format utility for the browser, based on util.format().

      • v1.0.5
      • 46.93
      • Published

      is-alphanumeric

      Check if a string only contains alphanumeric characters

      • v1.0.0
      • 46.83
      • Published

      temp-write

      Write data to a random temporary file

      • v6.0.0
      • 46.70
      • Published

      levenary

      [![npm-version](https://img.shields.io/npm/v/levenary.svg)](https://www.npmjs.com/package/levenary) [![github-actions](https://github.com/tanhauhau/levenary/workflows/CI/badge.svg)](https://github.com/tanhauhau/levenary/actions)

      • v1.1.1
      • 46.70
      • Published

      line-column

      Convert efficiently index to/from line-column in a string

      • v1.0.2
      • 46.60
      • Published

      to-camel-case

      Convert a string to camel case.

      • v1.0.0
      • 46.48
      • Published

      chai-string

      strings comparison matchers for chai

      • v1.6.0
      • 46.27
      • Published

      stringz

      Zero-dependency unicode-aware string tools

      • v2.1.0
      • 46.12
      • Published

      trim-off-newlines

      Similar to String#trim() but removes only newlines

      • v1.0.3
      • 46.08
      • Published

      maxmin

      Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)

      • v4.1.0
      • 45.97
      • Published

      is-html

      Check if a string is HTML

      • v3.1.0
      • 45.83
      • Published

      string.bullet

      Appends a bullet before string (to mimick lists in ASCII)

      • v1.0.12
      • 45.71
      • Published

      xycolors

      A tiny and fast package for adding colors to your terminal output.

      • v0.1.2
      • 45.61
      • Published

      react-from-dom

      Convert HTML/XML source code or DOM nodes to React elements

      • v0.7.5
      • 45.56
      • Published

      is-odd

      Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.

      • v3.0.1
      • 45.52
      • Published

      parse-unit

      parses number and unit, '20px' into [20, 'px']

      • v1.0.1
      • 45.41
      • Published

      @hexagon/base64

      Base64 and base64url to string or arraybuffer, and back. Node, Deno or browser.

      • v2.0.4
      • 45.34
      • Published

      fast-stream-to-buffer

      Consume a stream of data into a binary Buffer as efficiently as possible

      • v1.0.0
      • 45.31
      • Published

      next-line

      Iterator over lines in a string

      • v1.1.0
      • 45.25
      • Published