The orgmode implementation for Node.js which contains:
- A parser for orgmode based on the monadic LL(infinity) parser combinator library jneen/parsimmon
- A simple search engine for outlines
npm install orgmode --save
const Orgmode = require('orgmode');
const document = new Orgmode('./path/to/your/document.org');
document.overview // this is a getter for your document's OVERVIEW option
document.findByLevel(1) // you will get both level 1 outlines in array
To see the complete API documentation, see API Documentation.
$ npm test
$ npm docs
MIT