Skip to content
forked from wobsoriano/bnx

zx inspired shell for Bun/Node.

License

Notifications You must be signed in to change notification settings

TylerGarlick/bnx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

๐Ÿš bnx

zx inspired shell for Bun/Node.

Install

bun add bnx # npm install bnx

Usage

import { $ } from 'bnx'

const list = $`ls -l`

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

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

$`mkdir /tmp/${branch}`

License

MIT

About

zx inspired shell for Bun/Node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%