1.0.3 • Published 2 years ago

web-to-text v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

web-to-text

Node package to scrape content from a web url and convert it into text. Great for language models like ChatGPT.

Alt text

Installation

npm install web-to-text

Usage

const getText = require('web-to-text')

const getTextFromURL = async url => {
  const result = await getText(url)
  console.log(result)
}

getTextFromURL('https://example.com');

// EXAMPLE DOMAIN
// This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
// More information... [https://www.iana.org/domains/example]
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago