0.2.1 • Published 2 months ago

metafold v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Metafold SDK for Node.js

npm

Installation

# npm
npm install metafold

# yarn
yarn add metafold

Usage

The SDK is compatible with both EMCAScript Modules (ESM) and CommonJS (legacy).

ECMAScript Modules

import MetafoldClient from "metafold"

CommonJS

const MetafoldClient = require("metafold")

Example

const accessToken = "..."
const projectID = "123"

const metafold = new MetafoldClient(accessToken, projectID)

assets = await metafold.assets.list()
console.log(assets[0].name)

asset = await metafold.assets.get("123")
console.log(asset.name)

Read the documentation for more info or play around with one of the examples.

0.2.1

2 months ago

0.2.0

2 months ago

0.1.1

2 months ago

0.1.0

2 months ago