{"id":48843495,"url":"https://github.com/computational-combinatorics/factorial","last_synced_at":"2026-04-15T03:30:31.880Z","repository":{"id":37147295,"uuid":"386320352","full_name":"computational-combinatorics/factorial","owner":"computational-combinatorics","description":":exclamation: Factorial function for JavaScript","archived":false,"fork":false,"pushed_at":"2025-08-19T14:06:34.000Z","size":2076,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T02:28:19.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://computational-combinatorics.github.io/factorial","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}},"created_at":"2021-07-15T14:32:10.000Z","updated_at":"2025-08-15T04:40:23.000Z","dependencies_parsed_at":"2024-01-13T07:05:22.969Z","dependency_job_id":"a5f5360c-1f5d-4b47-9482-46ad21f096bd","html_url":"https://github.com/computational-combinatorics/factorial","commit_stats":{"total_commits":207,"total_committers":4,"mean_commits":51.75,"dds":0.3526570048309179,"last_synced_commit":"15589f39335a61522e7d3684881f53fb050faf62"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/computational-combinatorics/factorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Ffactorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Ffactorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Ffactorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Ffactorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/computational-combinatorics","download_url":"https://codeload.github.com/computational-combinatorics/factorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computational-combinatorics%2Ffactorial/sbom","scorecard":{"id":301703,"data":{"date":"2025-08-11","repo":{"name":"github.com/computational-combinatorics/factorial","commit":"e9badf65be2bc35a53e912be2c6cdbab29089a63"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"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":"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":"Maintained","score":10,"reason":"13 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":"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":"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":"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:16: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:cover.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:cover.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:cover.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:cover.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:lint-config.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:lint-config.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:lint-config.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:lint-config.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci:lint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/ci:lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci:lint.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/computational-combinatorics/factorial/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/factorial/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/factorial/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":"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":"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":"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":"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":"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":"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":"21 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-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-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","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-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"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-17T20:47:56.063Z","repository_id":37147295,"created_at":"2025-08-17T20:47:56.063Z","updated_at":"2025-08-17T20:47:56.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31825513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-04-15T03:30:28.895Z","updated_at":"2026-04-15T03:30:31.867Z","avatar_url":"https://github.com/computational-combinatorics.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":":exclamation: [@combinatorics/factorial](https://computational-combinatorics.github.io/factorial)\n==\n\nFactorial function for JavaScript.\nSee [docs](https://computational-combinatorics.github.io/factorial/index.html).\n\n```js\nimport {factorial} from '@combinatorics/factorial' ;\nfactorial(18); // 6402373705728000\n\nimport {factorialn} from '@combinatorics/factorial';\nfactorialn(1000n); // 402387260077093773543702433923003985719374864210714632543799910429938512398629020592044208486969404800479988610197196058631666872994808558901323829669944590997424504087073759918823627727188732519779505950995276120874975462497043601418278094646496291056393887437886487337119181045825783647849977012476632889835955735432513185323958463075557409114262417474349347553428646576611667797396668820291207379143853719588249808126867838374559731746136085379534524221586593201928090878297308431392844403281231558611036976801357304216168747609675871348312025478589320767169132448426236131412508780208000261683151027341827977704784635868170164365024153691398281264810213092761244896359928705114964975419909342221566832572080821333186116811553615836546984046708975602900950537616475847728421889679646244945160765353408198901385442487984959953319101723355556602139450399736280750137837615307127761926849034352625200015888535147331611702103968175921510907788019393178114194545257223865541461062892187960223838971476088506276862967146674697562911234082439208160153780889893964518263243671616762179168909779911903754031274622289988005195444414282012187361745992642956581746628302955570299024324153181617210465832036786906117260158783520751516284225540265170483304226143974286933061690897968482590125458327168226458066526769958652682272807075781391858178889652208164348344825993266043367660176999612831860788386150279465955131156552036093988180612138558600301435694527224206344631797460594682573103790084024432438465657245014402821885252470935190620929023136493273497565513958720559654228749774011413346962715422845862377387538230483865688976461927383814900140767310446640259899490222221765904339901886018566526485061799702356193897017860040811889729918311021171229845901641921068884387121855646124960798722908519296819372388642614839657382291123125024186649353143970137428531926649875337218940694281434118520158014123344828015051399694290153483077644569099073152433278288269864602789864321139083506217095002597389863554277196742822248757586765752344220207573630569498825087968928162753848863396909959826280956121450994871701244516461260379029309120889086942028510640182154399457156805941872748998094254742173582401063677404595741785160829230135358081840096996372524230560855903700624271243416909004153690105933983835777939410970027753472000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000n\n```\n\n[![License](https://img.shields.io/github/license/computational-combinatorics/factorial.svg)](https://raw.githubusercontent.com/computational-combinatorics/factorial/main/LICENSE)\n[![Version](https://img.shields.io/npm/v/@combinatorics/factorial.svg)](https://www.npmjs.org/package/@combinatorics/factorial)\n[![Tests](https://img.shields.io/github/actions/workflow/status/computational-combinatorics/factorial/ci.yml?branch=main\u0026event=push\u0026label=tests)](https://github.com/computational-combinatorics/factorial/actions/workflows/ci.yml?query=branch:main)\n[![Dependencies](https://img.shields.io/librariesio/github/computational-combinatorics/factorial.svg)](https://github.com/computational-combinatorics/factorial/network/dependencies)\n[![GitHub issues](https://img.shields.io/github/issues/computational-combinatorics/factorial.svg)](https://github.com/computational-combinatorics/factorial/issues)\n[![Downloads](https://img.shields.io/npm/dm/@combinatorics/factorial.svg)](https://www.npmjs.org/package/@combinatorics/factorial)\n\n[![Code issues](https://img.shields.io/codeclimate/issues/computational-combinatorics/factorial.svg)](https://codeclimate.com/github/computational-combinatorics/factorial/issues)\n[![Code maintainability](https://img.shields.io/codeclimate/maintainability/computational-combinatorics/factorial.svg)](https://codeclimate.com/github/computational-combinatorics/factorial/trends/churn)\n[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/computational-combinatorics/factorial/main.svg)](https://codecov.io/gh/computational-combinatorics/factorial)\n[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/computational-combinatorics/factorial.svg)](https://codeclimate.com/github/computational-combinatorics/factorial/trends/technical_debt)\n[![Documentation](https://computational-combinatorics.github.io/factorial/badge.svg)](https://computational-combinatorics.github.io/factorial/source.html)\n[![Package size](https://img.shields.io/bundlephobia/minzip/@combinatorics/factorial)](https://bundlephobia.com/result?p=@combinatorics/factorial)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputational-combinatorics%2Ffactorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomputational-combinatorics%2Ffactorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputational-combinatorics%2Ffactorial/lists"}