pandoc-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

/pandoc-types/

    Package Sidebar

    Install

    npm i pandoc-types

    Weekly Downloads

    45

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    8.23 kB

    Total Files

    5

    Last publish

    Collaborators

    • k0michi