limon-prev-next

Plugin for limon pluggable lexer that adds
prev
andnext
methods.
Install
npm i limon-prev-next --save
Usage
For more use-cases see the tests
const limonPrevNext =
limonPrevNext
Plugin that adds .prev
and .next
methods, that are available in next plugins only.
returns
{Function}: Which you should pass to limon's.use
method.
Example
var limon = var prevNext = limon
Related
- limon: The pluggable JavaScript lexer on per character basis. | homepage
- postjson: Transforming JSON with plugins. | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.