npm.io
0.9.16 • Published 3 weeks agoCLI

@jarkkojs/readseek-api

Licence
Apache-2.0
Version
0.9.16
Deps
0
Size
122 kB
Vulns
0
Weekly
0

@jarkkojs/readseek-api

Shared ReadSeek contracts, validation, argument builders, binary resolution, and bounded Node/Bun process runners.

Install

npm install @jarkkojs/readseek-api

Example

import {
  buildDigestArgs,
  resolveReadSeekBinaryFromPackages,
  resolveReadSeekBinaryOverride,
  runReadSeekNodeJson,
} from "@jarkkojs/readseek-api";

const binary =
  resolveReadSeekBinaryOverride() ?? resolveReadSeekBinaryFromPackages();
const args = buildDigestArgs({ path: "src/index.ts", select: "map" });
const result = await runReadSeekNodeJson(binary, args);

Licensing

@jarkkojs/readseek-api is licensed under the Apache 2.0 license. See LICENSE for more information.

Keywords