{"id":49453652,"url":"https://github.com/BlakeGuilloud/ganon","last_synced_at":"2026-06-02T05:00:43.804Z","repository":{"id":20245855,"uuid":"83898904","full_name":"BlakeGuilloud/ganon","owner":"BlakeGuilloud","description":"A javascript library","archived":false,"fork":false,"pushed_at":"2024-11-18T15:59:23.000Z","size":987,"stargazers_count":92,"open_issues_count":36,"forks_count":197,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-26T06:58:47.315Z","etag":null,"topics":["hacktoberfest","javascript"],"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/BlakeGuilloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-03-04T14:24:34.000Z","updated_at":"2024-11-18T16:09:24.000Z","dependencies_parsed_at":"2025-05-17T16:07:32.688Z","dependency_job_id":"d0e51288-d6c0-42d6-bf03-c547f7cd6462","html_url":"https://github.com/BlakeGuilloud/ganon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlakeGuilloud/ganon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeGuilloud%2Fganon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeGuilloud%2Fganon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeGuilloud%2Fganon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeGuilloud%2Fganon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakeGuilloud","download_url":"https://codeload.github.com/BlakeGuilloud/ganon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakeGuilloud%2Fganon/sbom","scorecard":{"id":22706,"data":{"date":"2025-08-11","repo":{"name":"github.com/BlakeGuilloud/ganon","commit":"5e30b8c07fb36be30d70a4ec6c91ef8623b3bec9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":6,"reason":"Found 20/29 approved changesets -- score normalized to 6","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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":"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 'master'"],"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 22 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":"57 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-hr2v-3952-633q","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-xf7w-r453-m56c","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-f9cm-qmx5-m98h","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","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-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-6394-6h9h-cfjg","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-6g33-f262-xjp4","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-2m39-62fm-q8r3","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-j44m-qm6p-hp7m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-14T17:09:56.072Z","repository_id":20245855,"created_at":"2025-08-14T17:09:56.072Z","updated_at":"2025-08-14T17:09:56.072Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"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":["hacktoberfest","javascript"],"created_at":"2026-04-30T04:01:03.702Z","updated_at":"2026-06-02T05:00:43.797Z","avatar_url":"https://github.com/BlakeGuilloud.png","language":"JavaScript","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Logo\" src=\"./logo/ganon_version_2.png\" /\u003e\n\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Ganon is a javascript library designed and maintained by open source contributors.\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://travis-ci.org/BlakeGuilloud/ganon\"\u003e\n    \u003cimg alt=\"Build Status\" src=\"https://travis-ci.org/BlakeGuilloud/ganon.svg?branch=master\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/ganon\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/ganon.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/BlakeGuilloud/ganon/blob/master/LICENS\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/npm/l/ganon.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/ganon\"\u003e\n    \u003cimg alt=\"Downloads\" src=\"http://img.shields.io/npm/dt/ganon.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- [![Build Status](https://travis-ci.org/BlakeGuilloud/ganon.svg?branch=master)](https://travis-ci.org/BlakeGuilloud/ganon) [![NPM version](https://img.shields.io/npm/v/ganon.svg)](https://www.npmjs.com/package/ganon) [![License](https://img.shields.io/npm/l/ganon.svg)](https://github.com/BlakeGuilloud/ganon/blob/master/LICENSE)\n[![npm module downloads](http://img.shields.io/npm/dt/ganon.svg)](https://www.npmjs.org/package/ganon)\n--\u003e\n\n\n\u003cbr /\u003e\n\n### A HUGE THANKS!!\nA very special thanks to [@csleong98](https://github.com/csleong98) for designing our logo!\n\n\nHuge props to [@andreasgruenh](https://github.com/andreasgruenh) and [@ktilcu](https://github.com/ktilcu) for helping collaborate.\n\nAnd the biggest of credit goes to all of our awesome [Contributors](https://github.com/BlakeGuilloud/ganon/graphs/contributors)!!\n\n### Usage\n```bash\n$ yarn add ganon\n```\n\nNodeJS\n```javascript\n// import { sum } from 'ganon';\nconst { sum } = require('ganon');\n\nconst sumOfOneAndTwo = sum(1, 2);\n=\u003e 3\n```\n\nJavascript\n```javascript\n// import sum from 'ganon/dist/sum';\nconst sum = require('ganon/dist/sum');\n\nconst sumOfOneAndTwo = sum(1, 2);\n=\u003e 3\n```\n\n### Objective\nTo build a suite of javascript methods by the time [hacktoberfest](https://hacktoberfest.digitalocean.com/) ends! Let's get some T-shirts!!\n\nGanon is designed to get as many people involved as possible, so our objective here is to fix or improve an existing method and then write the skeleton of a desired method for someone else to build. In the spirit of getting everyone involved, please only fix one or two methods at a time and make sure to push up something for someone else to work on!\n\nThis project was created to have fun.\n\n### Project Structure\nAll methods will live in the `lib` directory of the project. They should be written as [methodName].js, required and exported in `lib/index.js`.\n\nAll tests will live in the `test` directory. A test file should be formatted `[methodName].test.js` to reflect what method is being tested.\n\n### Contributing\nPlease read our [Contributing Guide](https://github.com/BlakeGuilloud/ganon/blob/master/CONTRIBUTING.md) for information on how to contribute to this project! All skill levels are more than welcome to participate in this project!\n\n### Demo\nWe're going to walk through the process of taking on an issue, resolving it, writing a new issue, and shipping some code.\n\nThe method we are going to resolve is called `sum`:\n\n```javascript\n// lib/sum.js\n\nfunction sum(a, b) {\n// Your code goes here.\n}\n\nmodule.exports = sum;\n```\n\nIn order to test this method, we will first run `yarn test sum`:\n\n```bash\n$ yarn test sum\n\n  FAIL  problems/sum.test.js\n    ✕ adds 1 + 2 to equal 3 (8ms)\n    ✕ adds 3 + 4 to equal 7 (1ms)\n\n    ● adds 1 + 2 to equal 3\n\n      expect(received).toBe(expected)\n\n      Expected value to be (using ===):\n        3\n      Received:\n        undefined\n```\n\nAs you can see, there is something wrong with the function sum, so let's resolve it:\n\n```javascript\n// lib/sum.js\n\nfunction sum(a, b) {\n  return a + b;\n}\n\nmodule.exports = sum;\n```\n\nRun the test again:\n\n```bash\n$ yarn test sum\n\n  PASS  problems/sum.test.js\n    ✓ adds 1 + 2 to equal 3 (6ms)\n    ✓ adds 3 + 4 to equal 7 (1ms)\n```\n\nNow that I have fixed the sum function to return the desired value, I need to write the skeleton of a new method for other contributors to work on. Let's write one called `difference`:\n\n```javascript\n// lib/difference.js\n\n// Write a function that returns the difference of the first two parameters\n\nfunction difference(a, b) {\n// Your code goes here.\n}\n\nmodule.exports = difference;\n```\n\nWe will need to accompany this method with a test(s) to ensure it returns the proper value:\n\n```javascript\n// test/difference.test.js\n\nconst { difference } = require(\"../lib\");\n\ndescribe(\"difference\", () =\u003e {\n  test(\"subtracts 1 - 3 to equal -2\", () =\u003e {\n    expect(difference(1, 3)).toBe(-2);\n  });\n\n  test(\"subtracts 10 - 3 to equal 7\", () =\u003e {\n    expect(difference(10, 3)).toBe(7);\n  });\n});\n\n```\n\nNow that we have fixed a method, written the skeleton of a new method, and a test to accompany it, we can push up our changes and open a pull request. :fire: :fire: :fire:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlakeGuilloud%2Fganon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBlakeGuilloud%2Fganon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlakeGuilloud%2Fganon/lists"}