Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nescalante/parse-link-input
https://github.com/nescalante/parse-link-input
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nescalante/parse-link-input
- Owner: nescalante
- License: mit
- Created: 2017-05-24T20:16:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T14:12:36.000Z (over 4 years ago)
- Last Synced: 2024-04-23T23:15:12.511Z (8 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: License
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