embed-plugin-base
A plugin that can be used to create custom plugins.
Installation
npm i -S embed-plugin-base
CDN
https://unpkg.com/embed-plugin-base
Usage
This is just a helper plugin that handles text transformation. You may not always need this.
/** * This function can be used to make any API calls that you want to make * before passing the data to the template.**/ { // Do any async task return value} { const defaultOptions = regex: /your_regex/gi async { // return the template } const pluginOptions = return }
License
MIT @ Ritesh Kumar