Function: modifiers()
ts
function modifiers(...operations): ModifiersChain;Defined in: tiny/literals.ts:180
Joins typed operation literals into a ModifiersChain — the whole runtime cost of this module.
Equivalent to serializeOperations for callers holding literals rather than CdnOperation objects, and round-trips with parseOperations the same way. Call it with no arguments for the empty chain.
Parameters
| Parameter | Type |
|---|---|
...operations | OperationLiteral[] |
Returns
Example
ts
modifiers('format/auto', 'progressive/yes') // → '-/format/auto/-/progressive/yes/'
modifiers() // → ''