
j•ko is a script execution tool that extends scripts and integrates dependencies from external files, promoting organization and sharing.
Features
-
Script Execution
- Run Scripts: Supports running scripts defined in any
.js
,.mjs
,.cjs
or.json
file. - Function Scripts: Executes scripts defined as functions when using
.js
,.mjs
, or.cjs
files. - Package Scripts: Allows running scripts directly from an specified package.
- Run Scripts: Supports running scripts defined in any
-
Dependency Installation
- From Files: Enables installation of dependencies specified in any
.js
,.mjs
,.cjs
or.json
file. - From Packages: Supports installing dependencies directly from an specified package.
- Preferred Tools: Install packages using the tool of your preference.
- From Files: Enables installation of dependencies specified in any
-
Script and Dependency Management
- Extend Scripts: Import and extend scripts from other files or packages.
- Custom Tree of Dependencies: Provides the ability to install a tailored dependency hierarchy constructed from various files or packages..
- File Separation: Allows splitting scripts and dependencies into different files for better organization.
-
Define your scripts using a declarative syntax that allows you to:
- Pre/Post Execution: Define scripts to run before and after a specified script.
- Failure Handlers: Specify scripts to execute if a particular script fails.
- Add Comments: Include comments within scripts for clarity.
- Disable Scripts: Mark scripts as disabled when needed.
- Group scripts: Define reusable scripts once to avoid duplication.
-
Integrated Environment Setup: Configure the environment once for all script executions or dependency installation.
-
Easy to Use:
- Minimal set of options to get started quickly.
- Intuitive command-line interface.
- Comprehensive documentation covering every aspect.