
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
@types/current-git-branch
Advanced tools
TypeScript definitions for current-git-branch
npm install --save @types/current-git-branch
This package contains type definitions for current-git-branch (https://www.npmjs.com/package/current-git-branch).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/current-git-branch.
// Type definitions for current-git-branch 1.1
// Project: https://www.npmjs.com/package/current-git-branch
// Definitions by: Vladimir Grenaderov <https://github.com/VladimirGrenaderov>,
// Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
declare namespace CurrentGitBranch {
type CurrentGitBranchOptions = CurrentGitBranchOptionsObject | string[] | string;
type CurrentGitBranchResult = string | false;
interface CurrentGitBranchOptionsObject {
altPath?: string | undefined;
branchOptions?: string | undefined;
}
}
declare function CurrentGitBranch(args?: CurrentGitBranch.CurrentGitBranchOptions): CurrentGitBranch.CurrentGitBranchResult;
export = CurrentGitBranch;
These definitions were written by Vladimir Grenaderov, and Max Boguslavskiy.
FAQs
TypeScript definitions for current-git-branch
The npm package @types/current-git-branch receives a total of 3,944 weekly downloads. As such, @types/current-git-branch popularity was classified as popular.
We found that @types/current-git-branch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.