Skip to content

TypeScript type definitions for wooorm/remark plugins.

License

Notifications You must be signed in to change notification settings

Paperist/types-remark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@paperist/types-remark

LICENSE standard-readme compliant

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

3846masa MIT (c) 3846masa

About

TypeScript type definitions for wooorm/remark plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published