bnx
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

🐚 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.1
    1
    • latest

Version History

Package Sidebar

Install

npm i bnx

Weekly Downloads

2

Version

0.3.1

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • wobsoriano