npm install check-if-css-is-disabled
Module is distributed as a browserify module. After installing with npm, you can find the browserify bundle in
Alternatively, you can load it from source by pulling
node_modules/check-if-css-is-disabled/cssIsDisabled.js into your application, or by packing/bundling it yourself.
Once loaded into your application, usage is as follows:
var cssIsDisabled =if cssIsDisabled// do something if CSS is disabled