Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
bearz-io/jsThe deno module wraps the deno cli to provide a simple way to execute Javascript using the deno runtime
This package works with Node.js, Deno, Bun
JSR Score
100%
Published
14 hours ago (0.0.2)
@spawn/deno
Overview
The deno module wraps the deno cli to provide a simple way to execute javascript using the deno runtime.
The module relies upon the @bearz/exec module and
has the same basic usage as the Command
and ShellCommand
class.
Documentation
Documentation is available on jsr.io
Usage
import { deno, denoScript } from "@spawn/deno"; const result = await deno("--version"); console.log(result.code); console.log(result.text()); await denoScript(`console.log("test")`);
License
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@spawn/deno
Import symbol
import * as deno from "@spawn/deno";
---- OR ----
Import directly with a jsr specifier
import * as deno from "jsr:@spawn/deno";
Add Package
npx jsr add @spawn/deno
Import symbol
import * as deno from "@spawn/deno";
Add Package
yarn dlx jsr add @spawn/deno
Import symbol
import * as deno from "@spawn/deno";
Add Package
pnpm dlx jsr add @spawn/deno
Import symbol
import * as deno from "@spawn/deno";
Add Package
bunx jsr add @spawn/deno
Import symbol
import * as deno from "@spawn/deno";