Turns org-mode content into AST.
npm install --save orga
const parse = require('orga')
const ast = parse(`* TODO remember the milk :shopping:`)
ast
is an object looks like this:
{ type: 'root',
children:
[ { type: 'headline',
children: [ { type: 'text', children: [], value: 'remember the milk' } ],
level: 1,
keyword: 'TODO',
priority: undefined,
tags: [ 'shopping' ] } ],
meta: {} }