node-bash

Node.js binding for Bash

Usage no npm install needed!

<script type="module">
  import nodeBash from 'https://cdn.skypack.dev/node-bash';
</script>

README

node-bash

Node.js binding for Bash

NPM Version NPM Downloads

Installation

$ npm i -S node-bash
$ yarn add node-bash

Usage

import { Bash } from 'node-bash';
Bash.

	
		
		
		
		
		
		
		
	npm:node-bash | Skypack
	
		
		
		
		echo "hello from Bash"`;

See child-shell documentation and playground for more use cases

Resources