Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    css-safepublic

    css-safe

    Make string safe for CSS.

    Install

    via npm:

    $ npm install --save css-safe

    Supports Node, AMD, browser global via UMD.

    Use

    var cssSafe = require('css-safe');
     
    var safe = cssSafe('Red, and blue.');
    // 'red__002c-and-blue__0021'

    Keywords

    none

    install

    npm i css-safe

    Downloadsweekly downloads

    2

    version

    0.1.0

    license

    none

    last publish

    collaborators

    • avatar