Browser-friendly Scratch-clone, Blockly! now on node

npm install blockly
2 downloads in the last week
11 downloads in the last month


The Blockly Core, ready to Browserify in the Node.js style.

see the original repo on google code for more information

First just install:

npm install blockly

Then you can require it in your project:

var Blockly = require('blockly');

Now you're ready to call functions like you normally would to Blockly:

  Blockly.Language.text_length = {
  category: 'Text',
  helpUrl: '',
  init: function() {
    this.setOutput(true, 'Number');
    this.setTooltip('Returns number of letters in the provided text.');
npm loves you