@paperist/types-remark
v0.1.3
Published
TypeScript type definitions for wooorm/remark plugins.
Downloads
3,828
Readme
@paperist/types-remark
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
- unist-util-visit
import * as Visit from 'unist-util-visit';
- 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