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 (4 loc) 278 B
In this case we have 1 addon `foo` that in order to be purchased a nonexistent addon `bar` in the pricing has to be purchaed previosly We can model this in `Pricing2Yaml` putting the key of the nonexistent addon `bar` inside the optional list field `dependsOn` on addon `foo`.