Soup - shysolocup/stews GitHub Wiki
Soups are built off of Arrays and Objects so they DO allow duplicate entries
they work with most types like Arrays, Objects, Sets, Maps, etc
type: AeplClass
arguments:
- object
Any
:
thing to be converted
- splitter
String
:
what it should split by if it's a string
const { Soup } = require('stews');
// list
new Soup([ "a", "b", "c" ]); // Soup(3) [ "a", "b", "c" ]
// pair
new Soup({ key1: "val1", key2: "val2" }); // Soup(2) { key1: "val1", key2: "val2" }