How to Install the Steem-Js 0.8?

in #steem3 days ago

@ety001 released a steem-js v0.8.0: see: https://github.com/steemit/steem-js/releases

image.png

Currently, it is not sync to npmjs so you can install it via:

npm install @steemit/steem-js

And you can verify it:

npm list | grep steem-js

In your code, you need to require like this:

const steem = require("@steemit/steem-js");

image.png

Steem to the Moon🚀!