2.0.0 • Published 1 month ago

@pnpm/git-utils v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@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