JSPM

up-to-4095

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q56326F
  • License MIT

Up to 4095 css limit in IE9 & below.

Package Exports

  • up-to-4095

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (up-to-4095) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

up-to-4095

npm version travis dependencies devDependencies License

Up to 4095 css limit in IE9 and below.

Install

$ npm i --save up-to-4095

or

$ npm i -g up-to-4095

Usage

var upto4095 = require('up-to-4095');

upto4095(require('fs').readFileSync('./css/app.css', 'utf8'), function (err, num) {
  if (err) {
    throw err;
  }

  console.log(num);
});

CLI

$ upto4095 ./css/app.css

License

MIT