@vinicius73/steem-js-api

node v8.17.0
version: 3.0.1
endpointsharetweet
const express = require("@runkit/runkit/express-endpoint/1.0.0"); const app = express(exports); const fetch = require('node-fetch') const { HttpAdapter, ApiClient } = require("@vinicius73/steem-js-api") const adapter = new HttpAdapter({ fetch }) const client = new ApiClient({ adapter }) app.get("/", (req, res) => { client.tags.getTrendingTags({ limit: 10 }) .then(data => res.send(data)) })
Loading…

no comments

    sign in to comment