Generic comment parser/serializer for css, and js
Extracts single line
// and multiline
/* */ comments from a string or file.
Has some added smarts for normalising indentation and aesthetic prefixing.
See the test fixture for the currently supported comment styles.
var doxy = require('./lib/doxy');console.log(doxy.parse(string));
var doxy = require'./lib/doxy'
Returns an array of comments contained in the string.
Returns a promise that resolves to the result of
With npm do:
npm install doxy