@nightgrey/ansi
    Preparing search index...

    Variable unescapeConst

    unescape: (src: string) => string = thing.unescape

    Replaces \uxxxx UTF-16 escapes, full \Uxxxxxxxx UTF-32 codepoint escapes and other well-known backslash escape sequences with the characters they represent.

    Type declaration

    Any unknown named escape sequences (e.g. \1) will remain as is.

    import { unescape } from "@thi.ng/strings";

    console.log(
    unescape("\\ud83d\\ude0e \\U0001f60e")
    );
    // '😎 😎'