Socket
Socket
Sign inDemoInstall

relevant-text

Package Overview
Dependencies
103
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    relevant-text

NodeJS Package to extract relevant text from html pages.


Version published
Weekly downloads
7
increased by75%
Maintainers
1
Install size
16.0 MB
Created
Weekly downloads
 

Readme

Source

relevant-text

NodeJS Package to extract relevant text from html pages.

How to use

Into example folder you can see the example01.js script with a example.

Basically:

npm install relevant-text
var rt = require('relevant-text');

var text = rt.fromURI('https://www.npmjs.com',
	function (error,data) {
		if (error) {
			throw error;
		}
		console.log(data);
	});

The result is the relevant text extracted from page.

Keywords

FAQs

Last updated on 13 Jul 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc