0.7.0 • Published 5 months ago

metafold v0.7.0

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

Metafold SDK for Node.js

npm

!IMPORTANT Until the package is at major version one (1.x.x) the API should be considered unstable.

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.7.0

5 months ago

0.6.0

8 months ago

0.5.0

10 months ago

0.4.0

11 months ago

0.3.2

1 year ago

0.3.3

1 year ago

0.3.0

1 year ago

0.3.1

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago