nft.storage
Version:
A client library for the https://nft.storage/ service. It provides a convenient interface for working with the HTTP API from a web browser or Node.js
12 lines (10 loc) • 444 B
JavaScript
import { MemoryBlockStore } from 'ipfs-car/blockstore/memory'
export const fetch = globalThis.fetch
export const FormData = globalThis.FormData
export const Headers = globalThis.Headers
export const Request = globalThis.Request
export const Response = globalThis.Response
export const Blob = globalThis.Blob
export const File = globalThis.File
export const ReadableStream = globalThis.ReadableStream
export const Blockstore = MemoryBlockStore