ephrem
Version:
Ephrem is a light-weight API wrapper for API.Bible, built using NodeJS and Typescript. Ephrem validates bible references and fetches scripture text corresponding to the references.
26 lines (23 loc) • 924 B
TypeScript
import * as env_paths from 'env-paths';
declare const PROJECT_NAME = "ephrem";
declare const ephremPaths: env_paths.Paths;
declare const createDataDir: () => Promise<void>;
declare const removePunctuation: (input: string) => string;
declare const normalizeBookName: (bookName: string) => string;
/**
* Represents a base error class for the Ephrem project.
* Extends the built-in Error class to include additional context information.
*/
declare class BaseEphremError extends Error {
/**
* A record containing additional context information about the error.
* @type {Record<string, unknown>}
*/
context: Record<string, unknown>;
/**
* Creates an instance of BaseEphremError.
* @param message The error message to show to the user.
*/
constructor(message: string);
}
export { BaseEphremError, PROJECT_NAME, createDataDir, ephremPaths, normalizeBookName, removePunctuation };