# remark-fix-relative-uris

> remark plugin to resolve relative URIs

Latest version **0.1.0** (published 2021-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install remark-fix-relative-uris
pnpm add remark-fix-relative-uris
yarn add remark-fix-relative-uris
bun add remark-fix-relative-uris
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-04-02 |
| First published | 2021-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Takuya Matsuyama |
| Maintainers | craftzdog |
| Keywords | remark, micromark, mdast, ast |

## Links

- npm: https://www.npmjs.com/package/remark-fix-relative-uris
- Repository: https://github.com/inkdropapp/remark-fix-relative-uris
- Homepage: https://github.com/inkdropapp/remark-fix-relative-uris#readme
- Issues: https://github.com/inkdropapp/remark-fix-relative-uris/issues
- npm.io page: https://npm.io/package/remark-fix-relative-uris

## Dependencies (1)

- [mdast-util-fix-relative-uris](https://npm.io/package/mdast-util-fix-relative-uris.md) ^0.1.1

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2021-04-02

## README

# remark-fix-relative-uris

[**remark**][remark] plugin to resolve relative URIs.

## Install

[npm][]:

```sh
npm install remark-fix-relative-uris
```

## Use

```js
var remark = require('remark')
var fixRelativeUris = require('remark-fix-relative-uris')

remark()
  .use(fixRelativeUris, {baseURI: 'https://www.craftz.dog/'})
  .processSync('[About](/about)\n')
  .toString()
// => "[About](https://www.craftz.dog/about)\n"
```

## API

### `remark().use(fixRelativeUris, args)`

Resolve relative URIs.

- `args.baseURI` — The base URI to append

## Related

- [`mdast-util-fix-relative-uris`][mdast-util-fix-relative-uris]
  — [**mdast**][mdast] utility that is in the core of this plugin

## Contribute

See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
to get started.
See [`support.md`][support] for ways to get help.

This project has a [code of conduct][coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.

## License

[MIT][license] © [Takuya Matsuyama][author]

[npm]: https://docs.npmjs.com/cli/install
[health]: https://github.com/remarkjs/.github
[contributing]: https://github.com/remarkjs/.github/blob/HEAD/contributing.md
[support]: https://github.com/remarkjs/.github/blob/HEAD/support.md
[coc]: https://github.com/remarkjs/.github/blob/HEAD/code-of-conduct.md
[license]: LICENSE
[author]: https://www.craftz.dog/
[remark]: https://github.com/remarkjs/remark
[mdast]: https://github.com/syntax-tree/mdast
[mdast-util-fix-relative-uris]: https://github.com/inkdropapp/mdast-util-fix-relative-uris
[hast]: https://github.com/syntax-tree/hast

---
_Source: https://npm.io/package/remark-fix-relative-uris · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
