npm.io
0.2.0 • Published 10 years ago

doLink

Licence
MIT
Version
0.2.0
Deps
0
Vulns
0
Weekly
0

A simple node package to convert the url-strings (having http://, https:// , www., or ftp:// ) into the html clickable links.

eg : As string like " this is the link to my git profile https://github.com/abhishekg785 ", will be converted simply into

this is the link to my git profile https://github.com/abhishekg785/

Usage

var doLink = require('doLink'); var stringURL = 'this is a link to fb www.fb.com'; var processedURL = doLink(stringURL);

console.log(processedURL); will give => this is a link to fb www.fb.com

Installation

npm install doLink

Keywords