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) 411 B
import { Feature, UsageLimit } from '../../../types'; export declare function isUsagelimit(item: Feature | UsageLimit): boolean; export declare function calculateOverriddenRow(items: Record<string, Feature | UsageLimit>): number[]; export declare function calculateOverriddenValue(item: Feature | UsageLimit): number; export declare function valueToNumber(value?: string | number | boolean | string[]): number;