0.0.7 • Published 9 months ago
ruxy v0.0.7
Example
Sh example file:
echo Hello, World!
Example code
import { Context } from 'ruxy'
const ctx = new Context(['sh', './exampleScript.sh'])
ctx.run()
.then((ctx) => {
console.log(ctx.stdout) // Hello, World!
})
Testing
yarn test
Installing
yarn install ruxy
# or
npm install ruxy
Thanks for using this package :)!