{"id":16361615,"url":"https://github.com/byk/superset","last_synced_at":"2025-04-07T06:12:13.401Z","repository":{"id":51861076,"uuid":"45092860","full_name":"BYK/superset","owner":"BYK","description":"A library that provides the missing Set methods for ES6 such as map and filter.","archived":false,"fork":false,"pushed_at":"2023-07-11T08:25:21.000Z","size":237,"stargazers_count":61,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-31T05:04:49.915Z","etag":null,"topics":["javascript","library","set"],"latest_commit_sha":null,"homepage":"","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/BYK.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-10-28T06:15:28.000Z","updated_at":"2024-03-07T11:29:09.000Z","dependencies_parsed_at":"2024-06-19T01:45:09.829Z","dependency_job_id":null,"html_url":"https://github.com/BYK/superset","commit_stats":{"total_commits":85,"total_committers":6,"mean_commits":"14.166666666666666","dds":0.3647058823529412,"last_synced_commit":"26cba8f55adbb8731dc974ccc4f5e60b6f4d11f4"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsuperset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsuperset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsuperset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BYK%2Fsuperset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BYK","download_url":"https://codeload.github.com/BYK/superset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601449,"owners_count":20964864,"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":["javascript","library","set"],"created_at":"2024-10-11T02:14:23.409Z","updated_at":"2025-04-07T06:12:13.371Z","avatar_url":"https://github.com/BYK.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# superset [![NPM version][npm-image]][npm-url] [![Build Status][gha-image]][gha-url] [![Coverage Status][coveralls-image]][coveralls-url]\n\nA library for ES6 that extends the built-in `Set` class to implement the missing fundamental methods such as `map()`,\n`filter()` and `reduce()` in addition to basic set methods such as `union()` and `isSubsetOf()`.\n\n## Install from NPM\n\n```sh\nnpm install superset --save\n```\n\n## Use\n\n```js\n\"use strict\";\n\nconst SuperSet = require(\"superset\");\nconst numbers = new SuperSet([1, 2, 3, 4, 5]);\nconst evenNumbers = numbers.filter(num =\u003e num % 2 === 0);  // SuperSet { 2, 4 }\n\nevenNumbers.isSubsetOf(numbers);  // true\n\nnumbers.diff(evenNumbers);  // SuperSet { 1, 3, 5 }\n```\n\n## Docs\n\nYou can [check out the docs](https://superset.readthedocs.org/en/latest/) or refer to the `Array` methods on\n[MDN](https://developer.mozilla.org) for further information. The code is also documented using JSDoc.\n\n[npm-image]: https://img.shields.io/npm/v/superset.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/superset\n[gha-image]: https://github.com/BYK/superset/workflows/Build/badge.svg\n[gha-url]: https://github.com/BYK/superset/actions?query=workflow%3ABuild\n[coveralls-image]: https://img.shields.io/coveralls/BYK/superset/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/BYK/superset?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyk%2Fsuperset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyk%2Fsuperset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyk%2Fsuperset/lists"}