extract-css-comments Small module for extracting CSS comments from strings: const extractComments = require('extract-css-comments') extractComments(cssSource) // => Array with the comments installation npm install extract-css-comments --save requirement Node >= 6 tests npm install && npm test license MIT