gemini-fetch

2.0.0 • Public • Published

gemini-fetch

Load data from the Gemini protocol the way you would fetch from HTTP in JavaScript

Usage

npm i --save gemini-fetch
const fetch = require('gemini-fetch')({
  // Opts from https://github.com/derhuerst/gemini#api
  followRedirects: true,
  useClientCerts: false
})

const response = await fetch('gemini://gemini.circumlunar.space/')

console.log(await response.text())

CLI

npm i -g gemini-fetch

gemini-fetch gemini://gemini.circumlunar.space/

# Or use npx

npx gemini-fetch gemini://gemini.circumlunar.space/

Package Sidebar

Install

npm i gemini-fetch

Weekly Downloads

10

Version

2.0.0

License

AGPL-3.0

Unpacked Size

38.1 kB

Total Files

6

Last publish

Collaborators

  • rangermauve