pandoc-types
v0.0.2
Published
TypeScript definitions for Pandoc AST
Downloads
205
Readme
pandoc-ts-types
This package provides TypeScript definitions for Pandoc AST.
The definition currently complies with pandoc-types 1.23.
Installation
$ npm install --save-dev pandoc-types
$ yarn add -D pandoc-types
Usage
import { PandocJSON } from 'pandoc-types';
const content = await fs.readFile('ast.json', 'utf-8');
const json = JSON.parse(content) as PandocJSON;
License
MIT