Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs. All code is free and open source.
The source for this module is in the Blockly repo.
You can install this package either via
npm install blockly
For samples on how to integrate Blockly into your project, view the list of samples at blockly-samples.
When you import Blockly with
import * as Blockly from 'blockly'; you'll get the default modules:
If you need more flexibility, you'll want to define your imports more carefully:
Blockly built in blocks
If your application needs to generate code from the Blockly blocks, you'll want to include a generator.
to include the Python generator, you can also import
To import the French lang files. Once you've imported the specific lang module, you'll also want to set the locale in Blockly.
For a full list of supported Blockly locales, see: https://github.com/google/blockly/tree/master/msg/js