1.3.0 • Published 6 years ago
@mobsya/node-blockly v1.3.0
Blockly for Node.js and Browser via CommonJS module
Supports the AESL generator.
This fork adds AESL support for Thymio (and uses an older blockly version).
Install
npm i @mobsya/node-blocklyUsage
Browser
All generators
var Blockly = require('@mobsya/node-blockly/browser');Internationalization
import Blockly from '@mobsya/node-blockly/browser';
import De from '@mobsya/node-blockly/lib/i18n/de';
Blockly.setLocale(De)Dynamic imports also works but Blockly doesn't re-render workspace. You must re-render it manually after locale loaded