UNPKG

pricing4ts

Version:

![NPM Version](https://img.shields.io/npm/v/pricing4ts) Pricing4TS is a TypeScript-based toolkit designed to enhance the server-side functionality of a pricing-driven SaaS by enabling the seamless integration of pricing plans into the application logic. T

6 lines (5 loc) 424 B
import { Pricing } from '../../main/models/pricing2yaml/pricing'; export declare function retrievePricingFromPath(yamlPath: string): Pricing; export declare function retrievePricingFromText(stringifiedPricing: string, yamlPath?: string): Pricing; export declare function writePricingToYaml(pricing: Pricing, yamlPath: string): void; export declare function writePricingWithErrorToYaml(pricing: any, yamlPath: string): void;