Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 345 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 345 Bytes

gwetch

gwetch - fetch, but for Gopher.

Usage

const {gwetch} = require('gwetch');

gwetch('gopher://gopher.floodgap.com').then((res) => {
    res.items().then((items) => {
        items.forEach((i) => {
            console.log(i);
        })
    })
})

Options

  • timeout - connection timeout, in ms. Default is 5000.