JSPM

Found 512 results for str stream

is-string-and-not-blank

3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.

  • v0.0.2
  • 63.44
  • Published

colors-cli

Terminal string styling done right

  • v1.0.33
  • 62.32
  • Published

utils-indexof

Returns the first index at which a given element can be found.

  • v1.0.0
  • 57.00
  • Published

@stdlib/utils-index-of

Return the first index at which a given element can be found.

  • v0.2.2
  • 56.32
  • Published

to-str

Converts the given value to a string.

  • v1.0.0
  • 56.01
  • Published

debug-color2

colorize console log, this module can work with require('debug')

  • v1.3.2
  • 55.01
  • Published

end-with

Determines whether a string ends with the characters of another string.

  • v1.0.2
  • 52.48
  • Published

@stdlib/string-base-trim

Trim whitespace characters from the beginning and end of a string.

  • v0.2.2
  • 51.72
  • Published

value2stream

Transform any value to stream. Create a stream from any value - string, array, buffer, number, promise or even Error object.

  • v1.0.0
  • 51.33
  • Published

pad-start

ES spec-compliant String.prototype.padStart shim.

  • v1.0.2
  • 50.63
  • Published

is-ttf

Check if a String/Buffer is TTF

  • v0.2.2
  • 50.60
  • Published

is-otf

Check if a String/Buffer/ArrayBuffer is OTF

  • v0.1.2
  • 49.71
  • Published

human-number

Convert number to a human readable string: `13500` → `13.5K`

  • v2.0.4
  • 49.26
  • Published

tokenize-whitespace

Tokenize a string into words and whitespace tokens

  • v0.0.1
  • 48.84
  • Published

chalk-cli

Terminal string styling done right

  • v6.0.0
  • 47.02
  • Published

str-util

convert full/half width, Chinese/Japanese number, 中日漢字轉換... others util helper

  • v3.0.2
  • 45.26
  • Published

@fakerjs/string

String package provides functionality to generate a fake string value.

  • v2.1.1
  • 44.61
  • Published

pad-end

ES7 spec-compliant String.prototype.padEnd shim.

  • v1.0.2
  • 44.39
  • Published

email-regex-safe

Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.

  • v4.0.0
  • 43.61
  • Published

strman

A Javascript string manipulation library without npm dependences.

  • v2.0.1
  • 43.01
  • Published

ascii-art

Ansi codes, figlet fonts, and ascii art. 100% JS

  • v2.8.5
  • 42.31
  • Published

srt-webvtt

Convert SRT format subtitle to WebVTT on the fly over HTML5 environment

  • v2.0.0
  • 40.87
  • Published

regexp.execall

Array of RegExp.prototype.exec results

  • v1.0.2
  • 39.81
  • Published

ascii-art-font

``` _ _ _ (_)(_) | | __ _ ___ ___ _ _ ______ __ _ _ __ | |_ / _` |/ __| / __|| || ||______| / _` || '__|| __| | (_| |\__ \| (__ | || | | (_| || | | |_ \_

  • v1.0.2
  • 39.80
  • Published

ascii-art-utf

Write terminal strings in UTF typefaces

  • v0.0.1
  • 39.30
  • Published

git-decode

decode/encode git style utf8

  • v1.0.21
  • 38.28
  • Published

@visulima/fmt

Util.format-like string formatting utility.

  • v1.1.15
  • 38.21
  • Published

@stdlib/string-repeat

Repeat a string a specified number of times and return the concatenated result.

  • v0.2.2
  • 37.25
  • Published

promise2stream

Transform ES2015 Promise to Stream - specifically, Transform Stream using [through2][]. Works in object mode by default, but you can pass options directly to the [through2][] package.

  • v1.0.1
  • 36.41
  • Published

@stdlib/string-trim

Trim whitespace characters from the beginning and end of a string.

  • v0.2.2
  • 36.11
  • Published

@stdlib/string-base-repeat

Repeat a string a specified number of times and return the concatenated result.

  • v0.2.2
  • 35.35
  • Published

strman.touppercase

The [strman](https://github.com/dleitee/strman) method `touppercase` exported as a [Node.js](https://nodejs.org/) module.

  • v2.0.0
  • 33.92
  • Published

strman.tostudlycaps

The [strman](https://github.com/dleitee/strman) method `tostudlycaps` exported as a [Node.js](https://nodejs.org/) module.

  • v2.0.0
  • 33.68
  • Published

mongoose-slug-plugin

Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)

  • v2.1.0
  • 33.43
  • Published

utils-repeat-string

Repeat a string a specified number of times and return the concatenated result.

  • v1.0.3
  • 33.34
  • Published

react-str

React data fetching hooks using stale-till-revalidate policy.

    • v0.0.5
    • 33.21
    • Published

    has-bom-string

    Returns true if string has a byte order mark (BOM)

    • v1.0.0
    • 32.69
    • Published

    execall2

    Find multiple RegExp matches in a string

    • v2.0.26
    • 29.76
    • Published

    str-replace-all

    Replaces all occurences of a string in another string.

    • v0.3.0
    • 29.04
    • Published

    regexp-cjk-plugin-extra

    a regexp-cjk plugin demo for regexp-cjk ( 自動配對 五十音的清/濁音 , 半形/全形 , deburr )

    • v1.0.45
    • 27.88
    • Published

    needle-string

    Count case-sensitive occurrences of a string in a string (like needles in a haystack)

    • v1.0.0
    • 27.57
    • Published

    strman.removespaces

    The [strman](https://github.com/dleitee/strman) method `removespaces` exported as a [Node.js](https://nodejs.org/) module.

    • v2.0.0
    • 27.11
    • Published

    strman.replace

    The [strman](https://github.com/dleitee/strman) method `replace` exported as a [Node.js](https://nodejs.org/) module.

    • v2.0.0
    • 26.87
    • Published

    ansi-colors-es6

    ES6+ module to easily add ANSI colors to your browser console and node terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).

    • v5.0.0
    • 26.51
    • Published

    suni

    Arr, Hash, Is, Obj, Random, Str, Wrandom.

    • v1.1.0
    • 24.93
    • Published

    @stdlib/assert-is-ascii

    Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.

    • v0.2.2
    • 24.91
    • Published

    dots

    Truncate string

    • v0.1.0
    • 24.58
    • Published

    detect-svg

    Detect a string or buffer is SVG or not

    • v0.9.1
    • 23.82
    • Published

    stringable-laravel

    Javascript Version's of Laravel's Illuminate\Support\Str

    • v1.4.6
    • 23.35
    • Published

    start-with

    Determines whether a string begins with the characters of another string.

    • v1.0.2
    • 22.61
    • Published

    url-regex-unsafe

    Regular expression matching for URL's. Maintained, and browser-friendly version of url-regex. This package is vulnerable to CVE-2020-7661. Works in Node v10.12.0+ and browsers.

    • v3.0.2
    • 22.01
    • Published

    hexyjs

    Hexadecimal utilities

    • v2.1.4
    • 21.70
    • Published

    javascript-console-styling

    A package made specifically for providing you with all the javascript console colours and styles you'll ever need as simple functions!

    • v1.1.3
    • 21.42
    • Published

    chalk-v2

    Terminal string styling done right

      • v1.0.2
      • 20.87
      • Published

      convert-to-object

      Convert string to object and fix syntax errors.

      • v0.0.4
      • 20.40
      • Published

      vibrance

      Cli colors for deno, built on chalk

      • v0.1.35
      • 20.01
      • Published

      arr

      JavaScript utilities for arrays.

      • v0.1.5
      • 19.80
      • Published

      strman.lefttrim

      The [strman](https://github.com/dleitee/strman) method `lefttrim` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 19.67
      • Published

      strman.righttrim

      The [strman](https://github.com/dleitee/strman) method `righttrim` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 19.30
      • Published

      replace-all

      Replace everything inside a String.prototype

      • v1.0.0
      • 19.21
      • Published

      strman.tolowercase

      The [strman](https://github.com/dleitee/strman) method `tolowercase` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 19.19
      • Published

      omg-console

      A better console.log for terminal

      • v1.2.2
      • 19.05
      • Published

      strman.trim

      The [strman](https://github.com/dleitee/strman) method `trim` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 19.04
      • Published

      strman.transliterate

      The [strman](https://github.com/dleitee/strman) method `transliterate` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 18.98
      • Published

      strman.slugify

      The [strman](https://github.com/dleitee/strman) method `slugify` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 18.92
      • Published

      strman.ascii

      The [strman](https://github.com/dleitee/strman) method `ascii` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 18.85
      • Published

      string-playground

      String utility functions for clean and consistent text handling in JavaScript.

      • v1.4.1
      • 18.74
      • Published

      scriptus

      Scriptus is an useful tool to work with strings

      • v2.3.7
      • 18.48
      • Published

      nearest-string

      Find the nearest string with a given string

      • v1.0.6
      • 17.58
      • Published

      str

      ⚙️ String manipulation library

      • v0.7.1
      • 17.56
      • Published

      parcol

      Parcol is a utility for parsing all ANSI colors methods in a string.

      • v0.2.1
      • 17.32
      • Published

      ansi-colors-browserify

      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.2
      • 16.79
      • Published

      @stdlib/string-repeat-cli

      Repeat a string a specified number of times and return the concatenated result.

      • v0.2.2
      • 16.70
      • Published

      string-to-query-params

      Parses a URI-like query string and returns an object composed of parameter/value pairs.

      • v0.1.6
      • 16.53
      • Published

      z-str

      A lib to easily manipulate strings

      • v1.0.17
      • 16.43
      • Published

      str-match

      String matcher that output the input string replacing the match.

      • v2.1.7
      • 16.43
      • Published

      letta-value

      Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe

      • v1.0.0
      • 16.34
      • Published

      strman.substr

      The [strman](https://github.com/dleitee/strman) method `substr` exported as a [Node.js](https://nodejs.org/) module.

      • v2.0.0
      • 16.09
      • Published

      random-strr

      Return a random string.

      • v1.0.0
      • 15.86
      • Published

      chalk-optimiser

      This module is based on the npm chalk module and it´s 80% faster than the original by using multiple different techniques like compressing, minify and rewriting a lot of interal source code from the original module with newer methods.

      • v1.8.6
      • 15.82
      • Published

      string-edit

      Easy-to-Use String Edit and String Tools.

        • v1.2.14
        • 15.60
        • Published

        break-string

        Break string into lines according to visual width

        • v1.0.0
        • 15.59
        • Published

        console.browser

        Node.js doesn't show colors when it comes to logging/debugging. This package solves this problem and improves actual logging by adding a bunch of the other colors.

          • v10.3.7
          • 15.47
          • Published

          strman.case

          The [strman](https://github.com/dleitee/strman) method `case` exported as a [Node.js](https://nodejs.org/) module.

          • v2.0.0
          • 15.21
          • Published

          any-pattern

          Print anything on terminal

          • v1.0.15
          • 14.93
          • Published

          strman.indexof

          The [strman](https://github.com/dleitee/strman) method `indexof` exported as a [Node.js](https://nodejs.org/) module.

          • v2.0.0
          • 14.85
          • Published

          strman.endswith

          The [strman](https://github.com/dleitee/strman) method `endswith` exported as a [Node.js](https://nodejs.org/) module.

          • v2.0.0
          • 14.55
          • Published

          css-to-mat4

          converts a css matrix string into a mat4 array

          • v2.0.2
          • 14.39
          • Published

          slice-lines

          Extract a subset of lines from a string efficiently

          • v1.0.3
          • 14.32
          • Published

          strman.removeright

          The [strman](https://github.com/dleitee/strman) method `removeright` exported as a [Node.js](https://nodejs.org/) module.

          • v2.0.0
          • 14.32
          • Published

          string-indent

          Easy way to get the indent of a string, whether file content or simple string.

            • v0.1.2
            • 14.22
            • Published

            strman.isuppercase

            The [strman](https://github.com/dleitee/strman) method `isuppercase` exported as a [Node.js](https://nodejs.org/) module.

            • v2.0.0
            • 14.07
            • Published

            mat4-css-parse

            converts a css matrix string into a mat4 array

            • v1.0.3
            • 14.07
            • Published

            nufo

            Generate NFOs from markdown

            • v0.1.0
            • 14.07
            • Published

            strman.surround

            The [strman](https://github.com/dleitee/strman) method `surround` exported as a [Node.js](https://nodejs.org/) module.

            • v2.0.0
            • 14.07
            • Published

            strman.decdecode

            The [strman](https://github.com/dleitee/strman) method `decdecode` exported as a [Node.js](https://nodejs.org/) module.

            • v2.0.0
            • 13.90
            • Published

            strman.tocamelcase

            The [strman](https://github.com/dleitee/strman) method `tocamelcase` exported as a [Node.js](https://nodejs.org/) module.

            • v2.0.0
            • 13.83
            • Published

            @333-lenny-333/npm

            This is just a collection of assorted functions, classes, and premade variables.

              • v3.0.0
              • 13.83
              • Published

              @socialskycorp/pretty-ms

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

              • v3.1.0
              • 13.82
              • Published

              str-to-color

              Convert string to color

                • v0.0.13
                • 13.66
                • Published

                mich-to-html

                Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.

                • v0.1.6
                • 13.51
                • Published

                better-randstr

                Fully-customizable random string generator

                • v2.0.0
                • 13.33
                • Published

                uniqueids

                Generate unique ID

                • v1.1.1
                • 13.26
                • Published

                strman.lastindexof

                The [strman](https://github.com/dleitee/strman) method `lastindexof` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 13.26
                • Published

                strman.htmldecode

                The [strman](https://github.com/dleitee/strman) method `htmldecode` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 13.26
                • Published

                strman.removeleft

                The [strman](https://github.com/dleitee/strman) method `removeleft` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 13.21
                • Published

                strman.htmlencode

                The [strman](https://github.com/dleitee/strman) method `htmlencode` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 13.12
                • Published

                string-es5

                A string utility library.

                • v1.0.2
                • 12.98
                • Published

                change-indent

                Change the indentation in a string.

                • v0.1.0
                • 12.92
                • Published

                strman.decode

                The [strman](https://github.com/dleitee/strman) method `decode` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.91
                • Published

                strman.entitiesdecode

                The [strman](https://github.com/dleitee/strman) method `entitiesdecode` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.84
                • Published

                nth-indexof

                Find the nth position of a pattern in a string

                • v1.0.0
                • 12.83
                • Published

                strman.prepend

                The [strman](https://github.com/dleitee/strman) method `prepend` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.82
                • Published

                strman.inequal

                The [strman](https://github.com/dleitee/strman) method `inequal` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.69
                • Published

                strman.append

                The [strman](https://github.com/dleitee/strman) method `append` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.69
                • Published

                strman.todecamelize

                The [strman](https://github.com/dleitee/strman) method `todecamelize` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.69
                • Published

                format2

                Advanced string formatting for the CLI

                • v1.0.5
                • 12.67
                • Published

                @vicary/url-regex-safe

                Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.

                • v2.0.2
                • 12.67
                • Published

                vicky

                A Vicky npm package.

                • v1.0.7
                • 12.67
                • Published

                @achipiga/decamelize

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

                • v4.1.0
                • 12.61
                • Published

                strman.chars

                The [strman](https://github.com/dleitee/strman) method `chars` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.48
                • Published

                strman.first

                The [strman](https://github.com/dleitee/strman) method `first` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.46
                • Published

                strman.numericalbase

                The [strman](https://github.com/dleitee/strman) method `numericalbase` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.46
                • Published

                strman.repeat

                The [strman](https://github.com/dleitee/strman) method `repeat` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.46
                • Published

                strman.last

                The [strman](https://github.com/dleitee/strman) method `last` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.46
                • Published

                strman.decencode

                The [strman](https://github.com/dleitee/strman) method `decencode` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.44
                • Published

                strman.containsany

                The [strman](https://github.com/dleitee/strman) method `containsany` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.38
                • Published

                strman.islowercase

                The [strman](https://github.com/dleitee/strman) method `islowercase` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.38
                • Published

                iris-ascii-art

                Ansi codes, figlet fonts, and ascii art. 100% JS

                • v1.4.5
                • 12.34
                • Published

                strman.format

                The [strman](https://github.com/dleitee/strman) method `format` exported as a [Node.js](https://nodejs.org/) module.

                • v2.0.0
                • 12.24
                • Published

                error-format

                Allows you to customize the toString method of passed `err`. Also adds useful properties like `line`, `filename` and `column` to the `err` object.

                • v1.0.1
                • 12.24
                • Published