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

https://github.com/arshadkazmi42/search-a-tags

Search <a> tags of HTML from HTML content
https://github.com/arshadkazmi42/search-a-tags

a hacktoberfest href html hyperlink parse parser-html-hyperlinks regex search tags

Last synced: 6 months ago
JSON representation

Search <a> tags of HTML from HTML content

Awesome Lists containing this project

README

        

# search-a-tags

[![Build](https://github.com/arshadkazmi42/search-a-tags/actions/workflows/nodejs.yml/badge.svg)](https://github.com/arshadkazmi42/search-a-tags/actions/workflows/nodejs.yml)
[![NPM Version](https://img.shields.io/npm/v/search-a-tags.svg)](https://www.npmjs.com/package/search-a-tags)
[![NPM Downloads](https://img.shields.io/npm/dt/search-a-tags.svg)](https://www.npmjs.com/package/search-a-tags)
[![Github Repo Size](https://img.shields.io/github/repo-size/arshadkazmi42/search-a-tags.svg)](https://github.com/arshadkazmi42/search-a-tags)
[![LICENSE](https://img.shields.io/npm/l/search-a-tags.svg)](https://github.com/arshadkazmi42/search-a-tags/blob/master/LICENSE)
[![Contributors](https://img.shields.io/github/contributors/arshadkazmi42/search-a-tags.svg)](https://github.com/arshadkazmi42/search-a-tags/graphs/contributors)
[![Commit](https://img.shields.io/github/last-commit/arshadkazmi42/search-a-tags.svg)](https://github.com/arshadkazmi42/search-a-tags/commits/master)

Search `` tags of HTML from HTML content

## Install

```
npm install search-a-tags
```

## Usage

```javascript
const SearchTags = require('search-a-tags');

const HTML = 'TestClick Here

This is a paragraph

';

const links = SearchTags(HTML);
console.log(links);
// [
// 'https://google.com',
// 'arshadkazmi42'
// ]
```

## Contributing

Interested in contributing to this project?
You can log any issues or suggestion related to this library [here](https://github.com/arshadkazmi42/search-a-tags/issues/new)

Read our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase