Files
pnpm/packages/git-utils
btea 4a8243a00d chore: package.json add type field (#9765)
* chore: `package.json` add type field

* chore: add type field to every package.json

* chore: add type field to every package.json

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-07-20 03:21:46 +02:00
..
2024-04-09 17:14:05 +02:00

@pnpm/git-utils

Utilities for git

npm version

Installation

pnpm add @pnpm/git-utils

Usage

'use strict'
const { getCurrentBranchName } = require('@pnpm-utils').default

main()
async function main() {
  const branchName = await getCurrentBranch();
  console.log(branchName)
}

License

MIT