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

Readme

Keywords

Package Sidebar

Install

npm i bnx

Weekly Downloads

6

Version

0.3.1

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • wobsoriano