@loanscope/lenders
v0.1.1
Published
Lender registry with preset and custom product-source resolution for LoanScope mortgage product catalogs.
Maintainers
Readme
@loanscope/lenders
Lender registry with preset and custom product-source resolution. Each lender (Agency, Government, Portfolio, UWM) declares its product set and any named presets; consumers select via LenderRegistry.resolveProductSource(selection) over a ProductSourceSelection discriminated union (generic / preset / custom).
Install
pnpm add @loanscope/lenders @loanscope/products @loanscope/domainUsage
import { getDefaultRegistry } from "@loanscope/lenders";
const registry = getDefaultRegistry();
const products = registry.resolveProductSource({
kind: "preset",
lenderId: "uwm",
presetId: "jumbo",
});Part of the LoanScope monorepo
See the repository root for the full list of @loanscope/* packages, the underwriting engine, and the CLI.
License
MIT
