Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

css.escape

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Issues
File Explorer

Advanced tools

css.escape

A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.

    1.5.1latest

Version published
Maintainers
1
Weekly downloads
5,720,823
decreased by-19.78%

Weekly downloads

Readme

Source

CSS.escape polyfill Build status Code coverage status

A robust polyfill for the CSS.escape utility method as defined in CSSOM.

For a more powerful alternative, consider using cssesc, which automatically takes care of excessive whitespace, and has many options to customize the output.

Installation

In a browser:

<script src="css.escape.js"></script>

Via npm:

npm install css.escape

Then, in Node.js:

require('css.escape'); // On Windows and on Mac systems with default settings, case doesn’t matter, // which allows you to do this instead: require('CSS.escape');

Author

twitter/mathias
Mathias Bynens

License

This polyfill is available under the MIT license.

Keywords

FAQs

What is css.escape?

A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.

Is css.escape popular?

The npm package css.escape receives a total of 4,800,987 weekly downloads. As such, css.escape popularity was classified as popular.

Is css.escape well maintained?

We found that css.escape demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 23 Aug 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc