Steem Mini
Tiny Steem library - batteries not included
Getting Started
Steem Mini is a minimal library for interacting with Steem nodes via HTTP JSON RPC. It is designed to be 1KB in size and work in browser and server. You have freedom of sending any message you want.
Installing
Install using npm or yarn
npm install steem-mini
or
yarn add steem-mini
Obtain development copy
git clone https://github.com/Sekhmet/steem-mini.git
cd steem-mini
npm install
Usage
Usage in browser
Or if you want to use not minified version
// using UMD (browser)const client = windowSteemMini; // using CommonJSconst createClient = createClient;const client = ; // using ES6 modules;const client = ; // sending requestsconst message = method: 'get_accounts' jsonrpc: '2.0' params: usernames; client;
Running the tests
You can run lint and tests using npm script
npm run test
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Wiktor Tkaczyński - Sekhmet
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details