datscript.sh

1.0.1 • Public • Published

datscript.sh

Compile datscript to bash

npm install datscript.sh

Usage

var ds = require('datscript.sh')

var bash = ds(
  'run echo hello world\n'+
  'pipe\n'+
  '  echo piping\n'+
  '  cat'
)

console.log(bash)

Command line usage

npm install -g datscript.sh
datscript.sh test.ds | bash

Running the above will convert the datscript test.sh to bash and execute it

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i datscript.sh

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mafintosh