Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var JSONStream = require('JSONStream')
var pipe = require('mississippi').pipe
var through = require('mississippi').through
var fromString = require('from2-string')
var styles = require('style-stream')
var next = require('next-stream')
var doiuse = require('doiuse/stream')
var defaultBrowsers = require('doiuse').default
var prune = require('./prune')
var unique = require('./unique')
var limitstream = require('./limit')
/*
* options must have either `url` or `css`.
*/
module.exports = function cssFeatures (args, res) {
res.setHeader('Content-Type', 'application/json')
res.setHeader('Access-Control-Allow-Origin', '*')
var url = args.url || ''
var css = args.css || ''
var browsers = args.browsers || ''