2.0.0 • Published 10 years ago

doxy v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

doxy

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.

build status

example

var doxy = require('./lib/doxy');
console.log(doxy.parse(string));

methods

var doxy = require('./lib/doxy')

doxy.parse(string);

Returns an array of comments contained in the string.

doxy.fromFile(pathToFile);

Returns a promise that resolves to the result of doxy.parse(fileContents).

install

With npm do:

npm install doxy

license

MIT

2.0.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.0.5

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago