Skip to content

[deprecated] Visual programming in the browser! Now for node.

Notifications You must be signed in to change notification settings

smileonroad/node-blockly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Node-Blockly ###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: 'http://www.w3schools.com/jsref/jsref_length_string.asp',
  init: function() {
    this.setColour(160);
    this.appendValueInput('VALUE')
        .setCheck('String')
        .appendTitle('length');
    this.setOutput(true, 'Number');
    this.setTooltip('Returns number of letters in the provided text.');
  }
};  

About

[deprecated] Visual programming in the browser! Now for node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.9%
  • HTML 12.9%
  • CSS 2.2%