Skip to content

Commit

Permalink
* this will need to be a namespaced package on NPM
Browse files Browse the repository at this point in the history
* switched build badge to github actions
* added NPM badges
  • Loading branch information
iamcal committed May 7, 2021
1 parent e056edf commit 039ba08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# autolink-js - JS link formatting library

[![Build Status](https://travis-ci.org/iamcal/autolink-js.svg)](https://travis-ci.org/iamcal/autolink-js)
<span class="badge-npmversion"><a href="https://npmjs.org/package/@iamcal/autolink-js" title="View this project on NPM"><img src="https://img.shields.io/npm/v/@iamcal/autolink-js.svg" alt="NPM version" /></a></span>
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/@iamcal/autolink-js" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/@iamcal/autolink-js.svg" alt="NPM downloads" /></a></span>
[![Build Status](https://github.com/iamcal/autolink-js/actions/workflows/build.yml/badge.svg)](https://github.com/iamcal/autolink-js/actions)
[![Coverage Status](https://coveralls.io/repos/iamcal/autolink-js/badge.svg)](https://coveralls.io/r/iamcal/autolink-js)

This library helps to detect URLs (and email addresses) in text, and turn them into links.
Expand All @@ -9,7 +11,7 @@ It is based on the original PHP version here: https://github.com/iamcal/lib_auto

## Installation

Either clone the git repo, or `npm install autolink-js`
Either clone the git repo, or `npm install @iamcal/autolink-js`


## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "autolink-js",
"name": "@iamcal/autolink-js",
"version": "0.1.0",
"description": "JS link formatting library",
"main": "lib/autolink.js",
Expand Down

0 comments on commit 039ba08

Please sign in to comment.