JSPM

Found 187 results for char

is-decimal

Check if a character is decimal

  • v2.0.1
  • 101.38
  • Published

is-alphabetical

Check if a character is alphabetical

  • v2.0.1
  • 99.08
  • Published

is-hexadecimal

Check if a character is hexadecimal

  • v2.0.1
  • 97.90
  • Published

ccount

Count how often a character (or substring) is used in a string

  • v2.0.1
  • 97.18
  • Published

trim-repeated

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

  • v2.0.0
  • 95.30
  • Published

is-word-character

Check if a character is a word character

  • v2.0.1
  • 84.53
  • Published

unescape

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

  • v1.0.1
  • 80.67
  • Published

runes2

Unicode-aware JS string splitting, typescript version

  • v1.1.4
  • 74.51
  • Published

char-spinner

Put a little spinner on process.stderr, as unobtrusively as possible.

  • v1.0.1
  • 73.65
  • Published

disparity

Colorized string diff ideal for text/code that spans through multiple lines

  • v3.2.0
  • 73.50
  • Published

crlf-normalize

Detect and Normalize the newline characters

  • v1.0.20
  • 72.79
  • Published

normalize-newline

Normalize the newline characters in a string to `\n`

  • v4.1.0
  • 70.02
  • Published

count-lines

Count the lines in a string, works with windows carriage returns or unix style newlines.

  • v0.1.2
  • 64.52
  • Published

code-point

Get a UTF-16-encoded code point number of a character

  • v1.1.0
  • 57.74
  • Published

random-char

Return a random character.

  • v1.0.4
  • 57.38
  • Published

code-points

Get the code points of each character in the string

  • v2.0.0-1
  • 54.22
  • Published

splitting

Micro-library to split a DOM element's words & chars into elements populated with CSS vars.

  • v1.1.0
  • 53.33
  • Published

char-info

Unicode character information library.

  • v0.3.5
  • 53.10
  • Published

char-to-string

Convert a character or character code to string

  • v2.0.0
  • 51.82
  • Published

ends-with-string

Check if a string or buffer ends with a given string

  • v2.0.0
  • 51.78
  • Published

cjk-conv

convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )

  • v1.2.150
  • 51.45
  • Published

uni-string

Unicode String object

  • v2.0.7
  • 51.00
  • Published

str-util

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

  • v3.0.2
  • 48.76
  • Published

regexp-cjk

Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn

  • v3.3.117
  • 48.45
  • Published

secure-pin

A cryptographically secure pin code generator with string support

  • v1.0.14
  • 48.27
  • Published

terminal-char-width

Get the char width/height proportions in different terminal emulators.

  • v1.0.11
  • 45.70
  • Published

is-4byte-code-point

Check if a given number is a code point of UTF-8 4-byte character

  • v1.0.0
  • 44.92
  • Published

is-4byte-char

Check if a given value is a character that costs 4 bytes in UTF-8

  • v1.0.0
  • 44.27
  • Published

line-count

Count the lines in a string.

  • v0.1.0
  • 43.87
  • Published

get-4byte-chars

Get all 4-byte characters form a string

  • v0.1.0
  • 43.48
  • Published

@lazy-cjk/slugify

Unicode to Latin transliteration + slugify module

  • v1.0.102
  • 42.38
  • Published

valid-path

Checks if provided string looks like a valid path

  • v2.1.0
  • 42.17
  • Published

strind

Partition strings based on character indices

  • v0.3.1
  • 41.25
  • Published

key-name

Dict of keycodes for keynames

  • v1.1.3
  • 40.23
  • Published

utf16-char-codes

Get location of code point in a string or get code points from string

  • v2.1.0
  • 39.62
  • Published

@skyra/char

A character utility library with ASCII, Latin-1, and UTF-8 support based on .NET's Char.

  • v1.0.3
  • 36.59
  • Published

windows-1250-codes

Convert characters to windows-1250 codes and back.

  • v1.0.2
  • 36.48
  • Published

lowercase-first-keys

Lowercase the first letter of the keys in an object

  • v1.0.1
  • 36.36
  • Published

regexp-cjk-plugin-extra

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

  • v1.0.45
  • 28.29
  • Published

rand-gen

Generates a random set of characters.

  • v1.0.3
  • 28.09
  • Published

anora

Figure out if a word needs "an" or "a" in front of it.

  • v1.1.0
  • 28.09
  • Published

string-from-charcodes

An alternative to String.fromCharCode that doesn't throw with many arguments, while still remaining fast.

  • v2.0.1
  • 26.14
  • Published

charcode

Get the charcode of a character.

  • v1.0.0
  • 25.80
  • Published

keysight

A translator for javascript keyboard events to and from understandable english.

  • v0.2.0
  • 21.97
  • Published

lib-capitalize

Utility function to capitalize words in strings, ignoring common prepositions and conjunctions, ideal for titles and proper nouns.

    • v1.0.0
    • 20.54
    • Published

    carnival-toolbox

    a collection of all kind of scripts, codes and tools with universal appliance - this toolkit should fits great to your disguises, outfits and attires

    • v1.8.5
    • 19.89
    • Published

    randrix

    A programable, random matrix panel.

    • v1.0.2
    • 18.63
    • Published

    ascii-hex

    Get the hexadecimal value of an ASCII character

    • v1.0.1
    • 17.13
    • Published

    char-code-names

    Common used char codes and their common used names as json object

    • v1.0.2
    • 16.87
    • Published

    mbstring

    Librairie offrant des méthodes permettant de gérer des chaines e caractères (string)

    • v0.3.1
    • 16.69
    • Published

    functionsplusplus

    Adds all kind of functions and useful stuff.

      • v2.10.13
      • 16.08
      • Published

      2utf8

      Tranform string text to UTF-8

      • v3.0.0
      • 15.12
      • Published

      segmenter

      Work with grapheme, words, and sentences with small, simple, and fast API using Intl.Segmenter

      • v2.0.1
      • 15.04
      • Published

      wrap-chars

      Individually wrap inline characters/words in a chosen element, with an optional class.

      • v2.2.5
      • 14.80
      • Published

      epub-iconv

      簡易型 epub 簡繁轉換

      • v1.0.22
      • 14.69
      • Published

      nck

      like ack

      • v0.0.12
      • 13.61
      • Published

      randext

      A programable, random letter animation effect to display text messages.

      • v1.0.0
      • 13.36
      • Published

      string-break

      Break string into lines according to visual width.

      • v1.2.0
      • 13.11
      • Published

      useful-ut

      Some random useful functions and classes

        • v1.0.2
        • 12.86
        • Published

        jspack.ts

        Library to pack/unpack binary data

        • v1.0.9
        • 12.85
        • Published

        is-forwardslash

        Checks given value is forwardslash - support char code number, hex, unicode or string value to be given.

        • v1.0.0
        • 12.59
        • Published

        code-batch

        Module for converting characters to code points, binary, hex. It fixes the javascript charCodeAt to use in loops. Can convert emojis.

          • v1.0.0
          • 12.02
          • Published

          ascii-decimal

          Get the decimal value of an ASCII character

          • v1.0.0
          • 12.01
          • Published

          is-backslash

          Checks given value is backslash - support char code number, hex, unicode or string value to be given.

          • v1.0.0
          • 11.74
          • Published

          terminal-escape-char

          Get [Escape Character](https://en.wikipedia.org/wiki/Escape_character)

          • v0.0.4
          • 11.50
          • Published

          cjk-conv-cli

          cli version for cjk-conv ( cn2tw_min, tw2cn_min, cn2tw, tw2cn )

          • v1.0.83
          • 11.15
          • Published

          char-subsets

          Lists of characters of common subsets (like Google Fonts API uses them)

          • v0.3.1
          • 10.43
          • Published

          chars.js

          A single-ascii-character utility

          • v0.3.0
          • 10.35
          • Published

          limon

          The pluggable JavaScript lexer. Limon = Lemon.

          • v0.3.5
          • 9.99
          • Published

          break-string

          Break string into lines according to visual width

          • v1.0.0
          • 9.85
          • Published

          charmander

          Breathes a fiery string of chars

          • v0.0.2
          • 9.51
          • Published

          utf32char

          4-byte-width (UTF-32) characters and unsigned integers for working with strings

          • v1.4.1
          • 9.30
          • Published

          toolsplus

          Adds all kind of functions and useful stuff.

            • v3.12.16
            • 9.30
            • Published

            char-dust

            convert image to ascii

            • v0.1.0
            • 8.59
            • Published

            char-thumbnail

            This is character thumbnail, which is used to create a thumbnail for initial words.

            • v2.0.1
            • 8.59
            • Published

            character-iterator

            iterate through text characters in the DOM tree

            • v0.1.2
            • 8.56
            • Published

            char-bag

            encode and decode text to numeric char pairs and back

              • v1.0.11
              • 8.38
              • Published

              progress-barzz

              A simple textual progress bar for javascript

              • v2.0.0
              • 8.38
              • Published

              char-codes

              Char codes utility belt - char code, char name and the char (character)

              • v1.0.1
              • 8.19
              • Published

              chardiff

              Character-level text diffs respecting line boundaries

              • v0.1.2
              • 8.07
              • Published

              console-symbols

              Colored symbols for various log levels. Example: ✔︎ Success

              • v1.0.0
              • 8.07
              • Published

              str-reduce

              Reduce concurrent characters in string

              • v1.0.0
              • 7.40
              • Published

              utf2char

              convert utf to letter

              • v1.0.1
              • 7.24
              • Published

              hjs-core

              Hubrisjs core classes

              • v1.0.3
              • 7.18
              • Published

              unescape-entity

              Convert HTML entities to HTML characters, e.g. `>` converts to `>`. Renamed original library to unescapeEntity because we had some conflicts with other libraries in our code.

              • v1.0.2
              • 7.18
              • Published

              terminal-char-table

              a simple javascript (node.js) library for drawing ascii tables in the terminal and console.

              • v2.0.2
              • 7.18
              • Published

              ts-char-to-byte

              Convert calls to a charToByte function to a number at compile time

              • v1.0.0
              • 6.79
              • Published

              string-plus

              string字符串增强类

              • v1.4.3
              • 6.54
              • Published

              ccode

              程序员命令行工具集

              • v0.0.2
              • 6.54
              • Published

              in-between

              Test whether a number, english alphabet character or Date is between two others.

              • v5.2.0
              • 6.49
              • Published

              swap-char

              Swaps two chars in a string by indexes

              • v1.0.1
              • 6.49
              • Published

              cleanchar

              Clean special characters

              • v1.0.0
              • 6.35
              • Published

              fusc

              Obfuscate text inside HTML elements with other characters

              • v0.0.12
              • 6.28
              • Published

              c-rain

              code rain background (代码雨背景)

              • v1.0.3
              • 6.12
              • Published

              string-identifer

              idenify the type of your variable , and what it contain , using regax

              • v1.0.1
              • 6.12
              • Published

              js-methods

              JS-methods for JavaScript bundles a lot of extensions to the language's core classes to simplify development for the browser or for Node.js. This extensions doesn't depend on any other code or overwrite existing methods.

              • v0.9.2
              • 5.46
              • Published

              special-escape

              Escape special characters in a string

                • v0.1.1
                • 5.29
                • Published

                terminal-text-width

                Get the number of columns occupied by specified text in terminal.

                • v0.1.0
                • 5.25
                • Published

                strikethrough-js

                Manipulate strikethrough characters in Javascript

                • v3.0.3
                • 5.25
                • Published

                ascii-category

                [![npm](https://img.shields.io/npm/v/ascii-category.svg)](https://www.npmjs.com/package/ascii-category) [![GitHub](https://img.shields.io/github/license/awerlang/ascii-category.svg)](https://opensource.org/licenses/MIT) [![Travis (.org)](https://img.shi

                • v1.0.1
                • 5.11
                • Published

                is-repeated

                Check if a string has consecutive characters

                • v1.0.0
                • 4.10
                • Published

                char-unescape

                Removes a given escape sequence from before characters in a string. Correctly handles double-escapes by only unescaping them once.

                • v1.0.0
                • 3.97
                • Published

                regex-charcode-htmlentities

                Inspired by diacritics-regex and htmlentities, create a regex with the term indicated by changing each character for a regex expression with variaves of charCode and Html Entities

                • v0.0.4
                • 3.86
                • Published

                char-escape

                Finds all instances of given characters in a string and inserts an escape sequence before each one.

                • v1.0.0
                • 3.86
                • Published

                random-nodejs

                A simple and flexible npm library that creates various type of Random Numbers.

                • v1.0.9
                • 2.50
                • Published

                strang

                A lightweight library for type conversion.

                • v0.1.52
                • 2.41
                • Published

                rotate-char

                An utility library for rotating UTF8 characters

                • v1.0.0
                • 2.36
                • Published

                is-any-letter

                A small module to detect letters by checking if it has a lowercase and uppercase version.

                • v1.1.3
                • 2.34
                • Published

                read-by-char

                Reads a file character by character

                • v0.1.1
                • 2.34
                • Published

                js-array-tools

                Some easy function for strings and array

                • v1.0.5
                • 2.34
                • Published

                ref-mywchar

                utf-8 wide char implementation

                  • v1.0.0
                  • 2.32
                  • Published

                  char-thumb

                  This is character thumbnail. It is used to create a thumbnail for initial words.

                  • v1.0.3
                  • 2.32
                  • Published

                  keycode-cli

                  Find keycode from key on the command-line

                  • v0.0.2
                  • 2.32
                  • Published

                  map-char

                  The mapChar() function iterates over each character of the string and executes the provided callback function for each one.

                  • v1.0.5
                  • 2.32
                  • Published

                  star-wars-char

                  Web components that will fetch a star wars char specified by an ID

                  • v1.0.0
                  • 2.32
                  • Published

                  bscnvert

                  Bscnvert base conversions

                  • v1.0.0
                  • 2.26
                  • Published

                  @jswork/get-last-char

                  A JavaScript function that retrieves the position of the last character in an output text string.

                    • v1.0.2
                    • 0.00
                    • Published

                    @violetice/string-to-ascii

                    本项目的唯一功能是将字符串转换为 ASCII 编码,以此帮助 epub 小说绕过内容检测。

                    • v1.0.0
                    • 0.00
                    • Published

                    @sporeball/hss.js

                    library for Haskell-style strings in JavaScript - so bad it'll make you hiss

                    • v0.1.1
                    • 0.00
                    • Published

                    dex-splitting

                    Micro-library to split a DOM element's words & chars into elements populated with CSS vars. (FORK/nextjs version)

                    • v1.0.1
                    • 0.00
                    • Published

                    is-ascii-control-char

                    Check if a given value is one of the ASCII control characters

                    • v2.0.0-0
                    • 0.00
                    • Published

                    what-str

                    Is it upper or lower case? and more.

                    • v1.0.0
                    • 0.00
                    • Published