To install:
npm install @karmaniverous/merge-delimited-lists
To import:
import { mergeDelimitedLists } from '@karmaniverous/merge-delimited-lists`;
See tests for examples of usage!
Merges and deduplicates delimited lists.
Kind: global function
Returns: string
- The deduplicated merge of all input lists.
Param | Type | Description |
---|---|---|
delimiter | string | Object |
A string or RegExp used as a delimiter. |
...lists | string |
Any number of delimited lists. |
See more great templates and other tools on my GitHub Profile!