0.0.8 • Published 2 years ago

ipfsio v0.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

ipfsio

a simple library to write to nft.storage

const { I } = require('ipfsio')
const i = new I(<nft.storage key>)
await i.url("https://imgur.com/sdfsdf")        // Import file from HTTP URL
await i.object({                               // Write object
  name: "gm",
  description: "hello world"
})
await i.buffer(Buffer.from("fdadsfadsfasdf"))  // Write buffer
await i.file(filePath)                         // Write file at path
await i.folder(folderPath)                     // Write folder at path
0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago