0.3.1 • Published 2 years ago

bnx v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🐚 bnx

A simple zx inspired shell for Bun.

Install

bun add bnx

Usage

import { $ } from 'bnx'

const list = await $`ls -l`

const files = list.split('\n').slice(1).map((l) => l.split(/\s+/).at(-1))
console.log(files)

const branch = await $`git branch --show-current`

await $`mkdir /tmp/${branch}`

License

MIT

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.1

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago