0.0.1-experimental.3 • Published 9 months ago

@awesome-algorand/nfd-fetch v0.0.1-experimental.3

Weekly downloads
-
License
Unlicense
Repository
-
Last release
9 months ago

@awesome-algorand/nfd-fetch

Experimental package for fetching data from NF Domains api.

Building the client

Generate the TypeScript client using HeyApi

npm run generate

Build the library using

npm run build

Usage

Install the library

npm install @awesome-algorand/nfd-fetch  @hey-api/client-fetch --save
import {nfdBrowse, type NfdRecordCollection} from "@awesome-algorand/nfd-fetch";

await nfdBrowse({limit: 10, offset: 0, sort: "asc", order: "id"}).then((data: NfdRecordCollection) => {
    console.log(data);
}, {baseUrl: "https://api.nf.domains"});