Skip to content

Instantly share code, notes, and snippets.

@tony2nite
Created June 3, 2015 11:05
Show Gist options
  • Save tony2nite/7747d4021ce4e7cd19b3 to your computer and use it in GitHub Desktop.
Save tony2nite/7747d4021ce4e7cd19b3 to your computer and use it in GitHub Desktop.
Simple CLI wrapper to console.log browserslist results to terminal
// run it like: node browserslist-cli.js '> 2% in GB'
var browserslist = require('browserslist');
console.log(process.argv[2]);
var b = browserslist(process.argv[2]);
console.log(b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment