UNPKG

escape-unicode

Version:
11 lines 397 B
/** * Returns the Unicode escape for the specified Unicode code unit. * * Characters within the Basic Multilingual Plane (BMP) as well as surrogate pairs for characters outside BMP are * supported. * * @param code The Unicode code unit to be escaped. * @return The Unicode escape(s) for `code`. */ export declare const escape: (code: number) => string; //# sourceMappingURL=escape.d.ts.map