@bible-api/bible-api
Version:
A simple API for the Bible
32 lines • 1.22 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const BookIdentifiers_1 = __importDefault(require("./BookIdentifiers"));
const localVersions_1 = __importDefault(require("./localVersions"));
const parse_1 = __importDefault(require("./parse"));
const remote_1 = require("./remote");
/** An API for the Bible. */
module.exports = {
/** An enum of identifiers for books of the Bible. */
BookIdentifiers: BookIdentifiers_1.default,
/** An object of local versions. */
localVersions: localVersions_1.default,
/**
* Parse a string for Bible references.
*
* @param options The options for parsing.
* @return An array of options for `version.getPassage()` along with the version
* to use.
*/
parse: parse_1.default,
remote: {
/** Request a verse from the remote API. */
requestVerse: remote_1.requestVerse,
/** Request a passage from the remote API. */
requestPassage: remote_1.requestPassage
}
};
exports.default = module.exports;
//# sourceMappingURL=index.js.map