2139 packages found

    Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

    published 1.0.14 3 months ago
    M
    Q
    P

    Escape RegExp special characters

    published 5.0.0 2 years ago
    M
    Q
    P

    fast and safe way to escape and unescape &<>'" chars

    published 3.0.3 2 years ago
    M
    Q
    P

    ANSI escape codes for styling strings in the terminal

    published 6.2.1 a month ago
    M
    Q
    P

    Strip ANSI escape codes from a string

    published 7.0.1 a year ago
    M
    Q
    P

    Sanitize a string for use as a filename

    published 1.6.3 3 years ago
    M
    Q
    P

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

    published 3.0.2 2 years ago
    M
    Q
    P

    Regular expression for matching ANSI escape codes

    published 6.0.1 a year ago
    M
    Q
    P

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

    published 5.1.2 9 months ago
    M
    Q
    P

    Escape string for use in HTML

    published 1.0.3 7 years ago
    M
    Q
    P

    ANSI escape codes for manipulating the terminal

    published 6.0.0 2 months ago
    M
    Q
    P

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

    published 5.0.1 a year ago
    M
    Q
    P

    Slice a string with ANSI escape codes

    published 5.0.0 2 years ago
    M
    Q
    P

    Secure XSS Filters - Just sufficient output filtering to prevent XSS!

    published 1.2.7 6 years ago
    M
    Q
    P

    A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.

    published 1.1.100 10 months ago
    M
    Q
    P

    Simple SQL escape and format for MySQL

    published 2.3.3 9 months ago
    M
    Q
    P

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

    published 3.0.0 4 years ago
    M
    Q
    P

    Check if a string has ANSI escape codes

    published 5.0.1 a year ago
    M
    Q
    P

    Escape strings for use as JavaScript string literals

    published 1.0.1 7 years ago
    M
    Q
    P

    ANSI escape codes for some terminal swag

    published 1.0.5 3 years ago
    M
    Q
    P