Boss allows you to easily import and execute any type of script file from your JavaScript/TypeScript modules, leveraging the power of Bun.
Ensure you have the following installed:
- Bun: Needed for efficient subprocess execution.
To install Boss, execute the following command with Bun:
bun add boss.sh
Configure Boss in your project by defining the files to import in the Bun preload file:
import { setup } from "boss.sh";
setup('PHP');
setup('V', /\.(v|vv|vsh)$/, "v run");
Here's how to use Boss in your project:
import my_php_module from "my/php/module.php";
import my_v_module from "my/v/module.vsh";
console.log(my_php_module());
console.log(my_v_module());
Contributions are welcome! You can:
-
Open Issues: Report bugs or suggest improvements.
-
Submit Pull Requests: Contribute bug fixes, new features, or documentation enhancements.
-
Provide Feedback: Share your thoughts and ideas to help improve Boss.
Let's collaborate and make Boss even more awesome together!
This project is licensed under the MIT License. See the LICENSE file for more details.