# commonmark-linkify

> Convert URLs to clickable links in commonmark

Latest version **1.2.0** (published 2019-07-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install commonmark-linkify
pnpm add commonmark-linkify
yarn add commonmark-linkify
bun add commonmark-linkify
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2019-07-30 |
| First published | 2019-07-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Wilfred Hughes |
| Maintainers | wilfredh |
| Keywords | commonmark, urls |

## Links

- npm: https://www.npmjs.com/package/commonmark-linkify
- Repository: https://github.com/Wilfred/commonmark-linkify
- Homepage: https://github.com/Wilfred/commonmark-linkify#readme
- Issues: https://github.com/Wilfred/commonmark-linkify/issues
- npm.io page: https://npm.io/package/commonmark-linkify

## Dependencies (1)

- [commonmark](https://npm.io/package/commonmark.md) ^0.29.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2019-07-30
- 1.1.0 — 2019-07-29
- 1.0.0 — 2019-07-29

## README

# Linkify for commonmark.js [![CircleCI](https://circleci.com/gh/Wilfred/commonmark-linkify.svg?style=svg)](https://circleci.com/gh/Wilfred/commonmark-linkify)

This package offers an AST transformer for converting bare URLs to
links in commonmark.

## Usage

```javascript
var commonmark = require("commonmark");
var linkifyTransform = require("commonmark-linkify");

var src = "foo http://example.com bar";

var reader = new commonmark.Parser();
var writer = new commonmark.HtmlRenderer();

var parsed = reader.parse(src);
var transformed = linkifyTransform(parsed);

var htmlSrc = writer.render(transformed);
```

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