{"id":32245354,"url":"https://github.com/computational-combinatorics/permutation","last_synced_at":"2026-03-17T20:38:27.021Z","repository":{"id":29996437,"uuid":"33543921","full_name":"computational-combinatorics/permutation","owner":"computational-combinatorics","description":":seat: Permutations library for JavaScript","archived":false,"fork":false,"pushed_at":"2025-08-19T13:48:11.000Z","size":3588,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-24T09:10:47.914Z","etag":null,"topics":["agpl","computer-science","javascript","js","mathematics","permutations"],"latest_commit_sha":null,"homepage":"https://computational-combinatorics.github.io/permutation","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/computational-combinatorics.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-04-07T13:12:43.000Z","updated_at":"2025-08-15T05:35:44.000Z","dependencies_parsed_at":"2023-12-29T23:29:58.526Z","dependency_job_id":"7dac7aee-5679-4f1e-b983-69957bbb1a28","html_url":"https://github.com/computational-combinatorics/permutation","commit_stats":{"total_commits":458,"total_committers":7,"mean_commits":65.42857142857143,"dds":0.534934497816594,"last_synced_commit":"8403633edc9b8f6d146f221c63f2c54bb2909b73"},"previous_names":["aureooms/js-permutation"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/computational-combinatorics/permutation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Fpermutation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Fpermutation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Fpermutation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Fpermutation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/computational-combinatorics","download_url":"https://codeload.github.com/computational-combinatorics/permutation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Fpermutation/sbom","scorecard":{"id":216548,"data":{"date":"2025-08-11","repo":{"name":"github.com/computational-combinatorics/permutation","commit":"b50461b778eb6df45eecb3b219b052418e61ee61"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:cover.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:cover.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:cover.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:lint-config.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:lint-config.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:lint-config.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:lint-config.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:lint.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/ci:lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/gh-pages.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/permutation/gh-pages.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/gh-pages.yml:15","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/ci:cover.yml:1","Warn: no topLevel permission defined: .github/workflows/ci:lint-config.yml:1","Warn: no topLevel permission defined: .github/workflows/ci:lint.yml:1","Warn: no topLevel permission defined: .github/workflows/gh-pages.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-xf5p-87ch-gxw2","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T01:45:55.803Z","repository_id":29996437,"created_at":"2025-08-17T01:45:55.803Z","updated_at":"2025-08-17T01:45:55.803Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30631403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["agpl","computer-science","javascript","js","mathematics","permutations"],"created_at":"2025-10-22T17:00:42.178Z","updated_at":"2026-03-17T20:38:27.015Z","avatar_url":"https://github.com/computational-combinatorics.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":":seat: [@combinatorics/permutation](https://computational-combinatorics.github.io/permutation)\n==\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://commons.wikimedia.org/wiki/File:Symmetric_group_3;_Cayley_table;_matrices.svg\"\u003e\n\u003cimg alt=\"Symmetric group of order 3\" src=\"https://upload.wikimedia.org/wikipedia/commons/e/e0/Symmetric_group_3;_Cayley_table;_matrices.svg\" width=\"440\"\u003e\n\u003c/a\u003e\u003cbr/\u003e\n\u003ca href=\"https://en.wikipedia.org/wiki/User:Watchduck\"\u003e\nUser:Watchduck\n\u003c/a\u003e\n/\n\u003ca href=\"https://creativecommons.org/licenses/by-sa/4.0\"\u003eCC BY-SA 4.0\u003c/a\u003e\n\u003c/p\u003e\n\nPermutation library for JavaScript.\nSee [docs](https://computational-combinatorics.github.io/permutation/index.html).\nParent is [js-algorithms](https://github.com/make-github-pseudonymous-again/js-algorithms).\n\n\u003e :warning: Depending on your environment, the code may require\n\u003e `regeneratorRuntime` to be defined, for instance by importing\n\u003e [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).\n\n```js\nimport { next , reversed , identity } from '@combinatorics/permutation' ;\nnext( reversed( identity( 3 ) ) ) ; // [ 0 , 1 , 2 ]\n```\n\n[![License](https://img.shields.io/github/license/computational-combinatorics/permutation.svg)](https://raw.githubusercontent.com/computational-combinatorics/permutation/main/LICENSE)\n[![Version](https://img.shields.io/npm/v/@combinatorics/permutation.svg)](https://www.npmjs.org/package/@combinatorics/permutation)\n[![Tests](https://img.shields.io/github/actions/workflow/status/computational-combinatorics/permutation/ci.yml?branch=main\u0026event=push\u0026label=tests)](https://github.com/computational-combinatorics/permutation/actions/workflows/ci.yml?query=branch:main)\n[![Dependencies](https://img.shields.io/librariesio/github/computational-combinatorics/permutation.svg)](https://github.com/computational-combinatorics/permutation/network/dependencies)\n[![GitHub issues](https://img.shields.io/github/issues/computational-combinatorics/permutation.svg)](https://github.com/computational-combinatorics/permutation/issues)\n[![Downloads](https://img.shields.io/npm/dm/@combinatorics/permutation.svg)](https://www.npmjs.org/package/@combinatorics/permutation)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/computational-combinatorics/permutation.svg)](https://codeclimate.com/github/computational-combinatorics/permutation/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/computational-combinatorics/permutation.svg)](https://codeclimate.com/github/computational-combinatorics/permutation/trends/churn)\n[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/computational-combinatorics/permutation/main.svg)](https://codecov.io/gh/computational-combinatorics/permutation)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/computational-combinatorics/permutation.svg)](https://codeclimate.com/github/computational-combinatorics/permutation/trends/technical_debt)\n[![Documentation](https://computational-combinatorics.github.io/permutation/badge.svg)](https://computational-combinatorics.github.io/permutation/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@combinatorics/permutation)](https://bundlephobia.com/result?p=@combinatorics/permutation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputational-combinatorics%2Fpermutation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomputational-combinatorics%2Fpermutation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputational-combinatorics%2Fpermutation/lists"}