0.0.19 • Published 3 years ago

statwolf-codeconverter v0.0.19

Weekly downloads
4
License
MIT
Repository
-
Last release
3 years ago

Code converter

This script can be used to convert the Statwolf bundled codebase into a proper code filesystem representation.

How to run it

Before running either of the 2 scripts, please execute npm install in order to pull all the required dependencies.

compress.js

This script expects as input a configuration file and a json file containing an array of all edited file that should be bundled. A typical input could be:

[
  "Statwolf/Config/Routes/Routes.js",
  "Statwolf/Controls/OAuth/Receiver/OAuthLandingModel/OAuthLandingModel.json",
  "Statwolf/Controls/swTable/swTable.js",
  "Statwolf/Toolboxes/Algorithms/ControlCharts/SelfStarting/SelfStarting.r"
]

A simple way to call the script is:

node compress.js config.json myChangeset.json

When the input is provided, a bundle.json file will be generated as output.

expand.js

This script expects as input a configuration file and a json file representing the bundled version of a particular filesystem tree.

Execute it with:

node expand.js config.json bundle.json

A filesystem tree will be generated according to the content of the provided bundle.

0.0.19

3 years ago

0.0.18

3 years ago

0.0.16

6 years ago

0.0.14

6 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.1-0

7 years ago