gemini-fetch-cjs

2.0.3 • Public • Published

gemini-fetch-cjs

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

Usage

npm i gemini-fetch-cjs
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 gemini-fetch-cjs

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.3
    3
  • 2.0.2
    0
  • 2.0.1
    0

Package Sidebar

Install

npm i gemini-fetch-cjs

Weekly Downloads

3

Version

2.0.3

License

AGPL-3.0

Unpacked Size

38.1 kB

Total Files

6

Last publish

Collaborators

  • edfletcher