UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

13 lines (8 loc) 300 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const escape$1 = require('../../string/escape.js'); const toString = require('../util/toString.js'); function escape(string) { return escape$1.escape(toString.toString(string)); } exports.escape = escape;