jsesc
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
- Category
- npm packages
npm install jsesc Official docs outline
mths.beExtra Credit builds an outline of jsesc's docs the first time your work uses it. Until then, start at the official documentation.
More in npm packages
All 9,484-
@babel/helpers Collection of helper functions used by Babel transforms.
-
lightningcss A CSS parser, transformer, and minifier written in Rust
-
csstype Strict TypeScript and Flow types for style based on MDN data
-
update-browserslist-db CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
-
object-assign ES2015 `Object.assign()` ponyfill
-
side-channel Store information about any JS value in a side channel. Uses WeakMap if available.
-
object-inspect string representations of objects in node and the browser
-
camelcase Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
-
math-intrinsics ES Math-related intrinsics and helpers, robustly cached.
-
form-data A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
-
@babel/helper-plugin-utils General utilities for plugins to use
-
execa Process execution for humans