Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paperist/types-remark
TypeScript type definitions for wooorm/remark plugins.
https://github.com/paperist/types-remark
Last synced: about 1 month ago
JSON representation
TypeScript type definitions for wooorm/remark plugins.
- Host: GitHub
- URL: https://github.com/paperist/types-remark
- Owner: Paperist
- License: mit
- Created: 2017-08-07T09:48:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T17:19:59.000Z (over 7 years ago)
- Last Synced: 2024-12-14T11:51:11.883Z (about 1 month ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @paperist/types-remark
[![LICENSE][license-badge]][license]
[![standard-readme compliant][standard-readme-badge]][standard-readme][license]: https://3846masa.mit-license.org
[standard-readme]: https://github.com/RichardLitt/standard-readme[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAIGNIUk0AAHomAACAhAAA%2BgAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAVUExURSBTICJcIiNgIiZoJTuhNyt3Kf///%2BCqxSgAAAAGdFJOUwpclbn%2B4Fj6/H8AAAABYktHRAZhZrh9AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AkEEjEV7MDQQwAAAGBJREFUCNc1TUEKgDAMi07vE/Q%2BRD8g%2B4BbvAvi/79iMjDQJm1CC6BbDzRsZI3incIpYeYFhCaYnLiyPYnYkwWZFWoFHrSuttCmmbwXh0eJQYVON4JthZTxCzzAmyb8%2BAAKXBRyN6RyZQAAAABJRU5ErkJggg==
[standard-readme-badge]: https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square> TypeScript type definitions for [wooorm/remark] plugins.
[wooorm/remark]: https://github.com/wooorm/remark
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Supported Packages](#supported-packages)
- [Contribute](#contribute)
- [License](#license)## Install
```bash
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`.
```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';`[unist-util-visit]: https://github.com/syntax-tree/unist-util-visit
[remark-parse]: https://github.com/wooorm/remark/tree/master/packages/remark-parse
[MDAST]: https://github.com/syntax-tree/mdast
[Unist]: https://github.com/syntax-tree/unist## Contribute
PRs accepted.
## License
![3846masa] MIT (c) 3846masa
[3846masa]: https://www.gravatar.com/avatar/cfeae69aae4f4fc102960f01d35d2d86?s=50