Steemsnippets is a sweet little library on Github maintained by @howo with easy to follow, tightly focused examples of core tasks on the STEEM blockchain. The idea is to help developers quickly grasp the essential tasks of posting, voting, querying, etc. This in turn accelerates programmers getting on with contributing their own cool new features.
Steemsnippets definitely helped me when I started creating a suite of personal tools for Steemit and I wanted to give back in appreciation for the trailblazing done so far.
So here's my snippet...
This function allows you to get the latest n posts either for a specific tag or overall.
As far as I know it is also the first fully documented example of how to use the query object to limit and select posts in steemjs—a question which has been asked several times on Github and around the web.
commits: