1.0.7 • Published 3 years ago

uef-js v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

uef

Universal Executable Format

Installation

npm install -g uef-js

or to use it as a module:

npm install uef-js

Usage

From command line:

uef -r demo.uef

From API:

const { UEF } = require("uef-js");
// Execute YAML program
UEF.run(`- Windows: 
  - echo "is Windows"
- MacOS:
  - echo "is MacOS"
- Linux:
  - echo "is Linux"`);
// Execute .uef file
UEF.execUEF("/path/to/file.uef");

Creating a .uef file

To create a .uef file, create a folder, add a file named "universal_executable.yml", and paste this and modify it to your likings:

- Windows: 
  - echo "is Windows"
- MacOS:
  - echo "is MacOS"
- Linux:
  - echo "is Linux"

Now add whatever files you want, create a .zip file, and move those files there. Now rename the .zip file to .uef, and now you have made your first UEF program!

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago