{"id":22128890,"url":"https://github.com/shysolocup/stews","last_synced_at":"2025-07-25T18:31:56.818Z","repository":{"id":89550922,"uuid":"607267420","full_name":"shysolocup/stews","owner":"shysolocup","description":"Stews is a Node.JS package meant to make storing data easier by mixing parts from common data types.","archived":false,"fork":false,"pushed_at":"2024-09-30T15:40:05.000Z","size":971,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-22T13:39:55.478Z","etag":null,"topics":["aepl","array","arrays","data","datatypes","html","javascript","js","json","map","maps","nodejs","object","objects","package","set","sets","stews"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/stews","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shysolocup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-27T16:50:41.000Z","updated_at":"2024-09-30T15:40:10.000Z","dependencies_parsed_at":"2023-11-12T00:24:58.040Z","dependency_job_id":"10f37a3a-462e-4d31-b1af-64c28ec618a4","html_url":"https://github.com/shysolocup/stews","commit_stats":{"total_commits":1007,"total_committers":5,"mean_commits":201.4,"dds":"0.41509433962264153","last_synced_commit":"3c8b2fe8fe00dcfe93a982e2585a77adc0e5dce6"},"previous_names":["paigeroid/stews","nuttmegg/stews","paishee/stews","revameg/stews","shysolocup/stews"],"tags_count":91,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fstews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fstews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fstews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fstews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shysolocup","download_url":"https://codeload.github.com/shysolocup/stews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226927774,"owners_count":17704595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aepl","array","arrays","data","datatypes","html","javascript","js","json","map","maps","nodejs","object","objects","package","set","sets","stews"],"created_at":"2024-12-01T17:48:36.058Z","updated_at":"2024-12-01T17:48:39.621Z","avatar_url":"https://github.com/shysolocup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n# Stews 🍲\n\u003ca href=\"https://www.npmjs.com/package/stews\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/stews?style=flat\u0026color=red\u0026logo=npm\u0026logoColor=white\" alt=\"version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/stews\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/stews?style=flat\u0026logo=docusign\u0026logoColor=white\" alt=\"downloads\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/aepl\"\u003e\u003cimg src=\"https://img.shields.io/badge/powered%20by-aepl-a?color=blue\u0026logo=npm\u0026logoColor=white\" alt=\"powered by aepl\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/shysolocup/stews/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/shysolocup/stews\" alt=\"issues\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/shysolocup/stews/wiki\"\u003e\u003cimg src=\"https://img.shields.io/badge/docs-stews?color=purple\u0026logo=github\u0026logoColor=white\" alt=\"docs\" /\u003e\u003c/a\u003e\n\n**Stews is a [Node.JS](https://nodejs.org/en/) package meant to make storing data easier by mixing parts from common data types.**\n  - Fully open source\n  - Fully customizable w/ modding support\n  - Built in random number and choice functions\n  - Easy to use index \u0026 entry systems\n  - Built in JSON parse \u0026 dump\n  - Detailed documentation\n\n\u003cbr\u003e\n\n```console\nnpm i stews\n```\n```console\nnpm i shysolocup/stews\n```\n\n\u003cbr\u003e\n\n---\n\n\u003cbr\u003e\n\n## Parts\n- **[Stew:](https://npmjs.com/package/@stews/stew)** built off of [Sets](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) and [Maps](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) so they **DON'T** allow duplicate entries\n- **[Soup:](https://npmjs.com/package/@stews/soup)** built off of [Arrays](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) and [Objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) so they **DO** allow duplicate entries\n- **[Bean:](https://npmjs.com/package/@stews/bean)** built off of [Numbers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) and [Floats](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float) and includes many of their features\n- **[Noodle:](https://npmjs.com/package/@stews/noodle)** built off of [Strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) and includes a majority of their features\n- **[random:](https://npmjs.com/package/@stews/random)** a built in random class that works with most types\n\n\u003cbr\u003e\n\n## Usage\n```js\nconst { Stew, Soup, Noodle, Bean, random } = require('stews');\n\n\nlet array = new Stew([\"a\", \"b\", \"c\"]);                 // list type\nlet obj = new Soup({ key1: \"val1\", key2: \"val2\" });    // pair type\nlet str = new Noodle(\"abc 123\");                       // string stuff\nlet int = new Bean(1234);                              // int stuff\n\n\ndelete array[1];\n\n\nconsole.log(array); // Stew(2) [ 'a', 'c' ]\nconsole.log(obj); // Soup(2) { key1: 'val1', key2: 'val2' }\nconsole.log(str); // Noodle(7) \"abc 123\"\nconsole.log(int); // Bean(4) 1234\n\n\nconsole.log(obj.length); // 2\nconsole.log(obj.keys); // [ 'key1', 'key2' ]\nconsole.log(obj.values); // [ 'val1', 'val2' ]\n\n\nconsole.log(str.wordCount); // 2\nconsole.log(str.toUpperCase(0)); // Noodle(7) \"Abc 123\"\n\n\nconsole.log(int.format({ currency: \"$\", roundTo: 2 })); // \"$1,234.00\"\nconsole.log(int.even); // true\nconsole.log(int.odd); // false\n\n\nconsole.log(random.int(1, 5)); // 4\n\n\nconsole.log(array.random.choice()); // 'b'\nconsole.log(obj.random.choice()); // [ 'key1', 'val1' ]\nconsole.log(str.random.choice()); // '1'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshysolocup%2Fstews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshysolocup%2Fstews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshysolocup%2Fstews/lists"}