inputformat-to-jstransformer
Load the first available JSTransformer from the provided inputFormat
.
Installation
npm install inputformat-to-jstransformer
API
(inputFormat)
Returns the first package available to process the given inputFormat
; false
if no package is available.
var jstransformer = var inputFormatToTransformer = var md = // => remarkable, markdown, markdown-it, marko, or supermarked body// => '<h1>Hello World!</h1>'
.dictionary
The dictionary.json
array is also available:
var inputFormats = dictionaryif inputFormats'tiff'console
Update
To update dictionary.json
, run:
npm run build
License
MIT