mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
12 lines
253 B
TypeScript
12 lines
253 B
TypeScript
import jsStringEscape from 'js-string-escape';
|
|
|
|
export class StringUtils {
|
|
/**
|
|
* @param {string} string
|
|
* @returns {string}
|
|
*/
|
|
public static escapeJsString (string: string): string {
|
|
return jsStringEscape(string);
|
|
}
|
|
}
|