Nifty Pony Merchandise

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

    0.1.2 • Public • Published

    🐚 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

    Install

    npm i bnx

    DownloadsWeekly Downloads

    11

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    6.41 kB

    Total Files

    6

    Last publish

    Collaborators

    • wobsoriano