Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nescalante/parse-link-input


https://github.com/nescalante/parse-link-input

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

        

# parse-link-input [![Greenkeeper badge](https://badges.greenkeeper.io/nescalante/parse-link-input.svg)](https://greenkeeper.io/)

Parses a link input from a markdown source and separates it in href and title

## Install

```shell
npm install parse-link-input
```

## Usage

```js
const parseLinkInput = require('parse-link-input');
parseLinkInput('foo "bar"'); // { href: 'http://foo', title: 'bar' }
```

## License

MIT