{"id":20549868,"url":"https://github.com/itsthatguy/simple-nav","last_synced_at":"2025-10-12T09:16:28.620Z","repository":{"id":22256534,"uuid":"25590273","full_name":"itsthatguy/simple-nav","owner":"itsthatguy","description":"package for creating a really simple responsive navigation","archived":false,"fork":false,"pushed_at":"2016-04-05T14:52:07.000Z","size":19,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T09:16:25.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsthatguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-22T15:52:24.000Z","updated_at":"2016-04-05T14:46:19.000Z","dependencies_parsed_at":"2022-08-05T16:16:08.896Z","dependency_job_id":null,"html_url":"https://github.com/itsthatguy/simple-nav","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/itsthatguy/simple-nav","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsimple-nav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsimple-nav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsimple-nav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsimple-nav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsthatguy","download_url":"https://codeload.github.com/itsthatguy/simple-nav/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsthatguy%2Fsimple-nav/sbom","scorecard":{"id":497628,"data":{"date":"2025-08-11","repo":{"name":"github.com/itsthatguy/simple-nav","commit":"24a29c8dec5b53193bf504f01be3853f24bf7367"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/27 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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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 '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 6 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"}}]},"last_synced_at":"2025-08-19T20:53:42.777Z","repository_id":22256534,"created_at":"2025-08-19T20:53:42.777Z","updated_at":"2025-08-19T20:53:42.777Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010965,"owners_count":26084837,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":"2024-11-16T02:21:37.351Z","updated_at":"2025-10-12T09:16:28.604Z","avatar_url":"https://github.com/itsthatguy.png","language":"CoffeeScript","readme":"# simple-nav\n\n### Installation\n\n```\nnpm install simple-nav --save\n```\n\n### Javascript\n\n#### with NPM\n\n```javascript\nSimpleNav = require('simple-nav')\n\nmyNavigation = new SimpleNav({\n  // defaults\n  scrolledClass: 'scrolled'\n  expandedClass: 'open'\n  scrollTolerance: 120\n  gotoSpeed: 10\n\n  gotoAnchorTimer: 500\n  handleScrollTimer: 300\n  toggleMenuTimer: 300\n});\n```\n\n### Scss\n\n```scss\n$small: \"only screen and (min-width: 40.063em)\";\n\nnav.primary-navigation {\n  \u003e h1 {\n    @include inline-block;\n  }\n\n  \u003e .menu {\n    @include inline-icon('menu');\n    display: block;\n    position: absolute;\n    right: 10px;\n    top: 10px;\n\n    span { display: none; }\n  }\n\n  \u003e ul.nav-links {\n    display: none;\n    float: right;\n\n    li {\n      @include inline-block;\n      margin-right: rem-calc(10px);\n      margin-top: rem-calc(12px);\n    }\n  }\n\n  .button {\n    @include inline-block;\n    margin-bottom: 0;\n    margin-top: rem-calc(-2px);\n    padding: rem-calc(4px 6px);\n  }\n\n  @media #{$small} {\n    \u003e .menu { display: none; }\n\n    \u003e ul.nav-links {\n      display: block;\n    }\n  }\n\n  // When the body tag has the open class applied\n  body.open \u0026 {\n    \u003e ul.nav-links { display: block; }\n  }\n}\n```\n\n## Markup\n```html\n\u003cnav class=\"primary-navigation\"\u003e\n  \u003ch1\u003eTitle\u003c/h1\u003e\n  \u003ca class=\"menu\" href=\"#\"\u003e\u003cspan\u003eMenu\u003c/span\u003e\u003c/a\u003e\n  \u003cul class=\"nav-links\"\u003e\n    \u003cli\u003e\n      \u003ca href=\"some-link\"\u003eSome Link\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"some-other-link\"\u003eSome Other Link\u003c/a\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca class=\"button\" href=\"AWESOME\"\u003eAWESOME\u003c/a\u003e\n    \u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/nav\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsthatguy%2Fsimple-nav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsthatguy%2Fsimple-nav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsthatguy%2Fsimple-nav/lists"}