UNPKG

@gscsocial/client

Version:

GSC API Client

38 lines (24 loc) 421 B
<p align="center"> <a href="#how-to-use">How to Use</a> </p> # How to use ## Requirements * Node v9.8.0 ## Running tests ```bash > npm test ``` ## Usage Install the package ```bash > npm install @gscsocial/client ``` Use the HTTP Client ```javascript import {Client} from "@gscsocial/client"; const client = new Client(); let recentBlocks = await client.getBlocks({ sort: '-number', limit: 10, }); ```