0.0.2 • Published 3 months ago

pandoc-types v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

0.0.2

3 months ago

0.0.1

11 months ago