TypeScript type definitions for wooorm/remark plugins.
Table of Contents
Install
npm i @paperist/types-remark
NOTE |
You should NOT install mdast
, unist
packages. It is not exists on npm.
Usage
First, you should set @paperist/types-remark
to types
in tsconfig.json
.
{
"compilerOptions": {
"types": ["node", "@paperist/types-remark"]
}
}
Supported packages
- remark-parse
import * as RemarkParse from 'remark-parse'
- MDAST (no npm package)
import { MDAST } from 'mdast'
- Unist (no npm package)
import { UNIST } from 'unist'
Contribute
PRs accepted.
License
MIT (c) 3846masa