pastebin-archive-scrape

1.2.0 • Public • Published

pastebin-archive-scrape

Scrapes the pastebin archive page https://pastebin.com/archive

Usage

const pasteScrape = require('pastebin-archive-scrape');

pasteScrape.getPastebinArchives()
  .then(pastebins => {
    console.log(pastebins[0]);
  })

Documentation

getPastebinArchives(): Promise<Pastebin>

object: Pastebin

Example:

{
  "name": "mypastebin",
  "created": "2 days ago",
  "lang": "CSS",
  "id": "RyCdRdYJ"
}

Readme

Keywords

none

Package Sidebar

Install

npm i pastebin-archive-scrape

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

1.63 kB

Total Files

3

Last publish

Collaborators

  • non-hacker