Last active
November 8, 2016 09:36
-
-
Save jtfell/a572a16256d2d0b031b2fc193f0e396d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var analyse = require('../src/index.js'); | |
var css = fs.readFileSync('./test/basic.css', 'utf8'); | |
analyse(css); | |
// Prints: | |
// { ratio: 1.4999140493583407, fit: 0.9999999752384222 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment