Updated Steem Module for Node.JS
I was unhappy with the module that kept coming up when doing searches because it required tanspiling and didn't work right out of the box on a normal Node.JS installation. I came across https://github.com/adcpm/steem and really liked how it was built but didn't like the fact that it didn't follow the standard callback pattern of callback(err, results). I have changed up the code to follow the standard callback pattern and submitted a pull request to the original author. In the meantime if you want to use my version you can find it here: https://github.com/KaptainKrayola/steem.
The difference is subtle yet important if you've been a node.js developer for a while and expect modules to follow the standard callback pattern. If you're not sure what I mean, here's an example:
Original Version:
steem.getAccounts(['ned', 'dan'], function(result, err) {
console.log(result, err);
});
My Updated Version:
steem.getAccounts(['ned', 'dan'], function(err, result) {
console.log(err, result);
});Leave Updated Steem Module for Node.JS to:
Read more #nodejs posts
Best Posts From Kaptain Krayola
We have not curated any of kaptainkrayola's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Kaptain Krayola
- FriendshipCoin - FSC - PoW/PoS/MN NeoScrypt coin that helps people in need
- NodeJS - Callbacks, Promises, or Async/Await?
- Been gone a while, let's catch up!
- FlutterCoin FLT is making a comeback in a big way
- SteemShovel.com - Shutting down Feb 1, 2017
- Where are all the devs / programmers on Steemit?
- SteemShovel.com - Update 08/31/2016 - Search Multiple Tags / Authors
- SteemShovel.com Update 08/30/2016 - Improved Search Results
- SteemShovel.com - Update 08/25/2016 - New Features
- In case you were wondering, Steemit has over 500k posts/comments
- SteemShovel Update - New Search Index and Upgraded ElasticSearch
- Steemd keeps crashing with "Assertion Failes" error
- Steemd / NodeJS / Unable to JSON.parse a specific comment
- SteemShovel Update - Search by Author or Tags!
- SteemShovel Slack is Open
- Announcing SteemShovel - Steem Search Engine (pre-alpha)
- How to have steemd notify on new blocks?
- Updated Steem Module for Node.JS
- I am building some Steem related stuff!
- Trump and Cruz are getting a little friendly