The vuedoc/parser is now able to parse a JS file component. This enhancement closes the #21
const parser = require('@vuedoc/parser')
const options = {
filename: 'components/checkbox.js'
}
parser.parse(options).then((component) => {
console.log(component)
})