Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 792 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 792 Bytes

ZX Scripting Template + Example

This repo is a template based on This DEV article.

Description

This is a template for using javascript to create complex CLI tools / games that can be packaged into a single binary that can be run on most systems (Even systems that dont have node! ).

How to Use

A simple example has already been included at src/index.ts. To package your script simply:

npm run build

A script will be generated specifically for your system, to change what system the script is designed for change the package script according to the pkg npm package Once created you can run your script:

./dist/start

Happy scripting!