Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 560 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 560 Bytes

Nodebox Tools

A small collection of node.js scripts for messing with NodeBox.live project files

Usage

sort-functions.js

Sort the functions in a project alphabetically

node sort-functions.js INPUT.JSON [OUTPUT.JSON]

rename-function.js

Change the name of a function (and the autogenerated names of the nodes created from it)

node rename-function.js INPUT.JSON OLD_NAME NEW_NAME

NPM scripts

You can also use npm:

  • npm run sort examples/fontExample01.json
  • npm run rename examples/fontExample01.json letter_a buchstabe_a