Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
gnomejs/spawnThe git module provides a simple way to execute git commands.
This package works with Node.js, Deno, Bun
JSR Score
100%
Published
3 months ago (0.0.1)
@spawn/git
Work less. Do more.
The git
module provides a simple way to execute git commands.
The module relies upon the @gnome/exec module and
has the same basic usage as the Command
and ShellCommand
class.
import { git } from '@spawn/git' // outputs directly to stdout and stderror streams. await git("--version").run(); // pipes the output const result = await git("--version"); console.log(result.stdout); console.log(result.text()); console.log(result.code);
License
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@spawn/git
Import symbol
import * as mod from "@spawn/git";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@spawn/git";
Add Package
npx jsr add @spawn/git
Import symbol
import * as mod from "@spawn/git";
Add Package
yarn dlx jsr add @spawn/git
Import symbol
import * as mod from "@spawn/git";
Add Package
pnpm dlx jsr add @spawn/git
Import symbol
import * as mod from "@spawn/git";
Add Package
bunx jsr add @spawn/git
Import symbol
import * as mod from "@spawn/git";