Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pass_cli_wrapper/mod.ts>passwordFor

A very crappy tiny Deno script for accessing secrets in a password-store via the pass CLI.
Latest
function passwordFor
import { passwordFor } from "https://deno.land/x/pass_cli_wrapper@0.3.3/mod.ts";

Gets the first non-empty line from the specified entry in the password store. This may result in an empty string depending on the format of the file.

If entry does not exist, an EntryNotFoundError is thrown.

Parameters

entry: string

Returns

Promise<string>