BlockLike.js is designed following Scratch concepts, methods and patterns. The screen is a centered stage. Interaction is with Sprites. Code is executed in a "paced" manner. Scratch block code and BlockLike.js text code are meant to be as literally similar as possible.
Using the docs
Left side bar lists the four BlockLike.js entities:
Under each entity is an alphabetically ordered list of all their methods.
There are examples for each.
Blocklike is open sourced and MIT licensed. See https://github.com/ronilan/BlockLike.