{"id":16549119,"url":"https://github.com/onsetsu/stack-es2015-module","last_synced_at":"2026-05-11T09:54:32.664Z","repository":{"id":57369145,"uuid":"62329695","full_name":"onsetsu/stack-es2015-module","owner":"onsetsu","description":"The stack data type as es2015 module","archived":false,"fork":false,"pushed_at":"2020-01-15T13:27:46.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T15:25:25.771Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/onsetsu.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}},"created_at":"2016-06-30T17:23:39.000Z","updated_at":"2024-05-28T10:20:14.000Z","dependencies_parsed_at":"2022-09-09T13:22:24.712Z","dependency_job_id":null,"html_url":"https://github.com/onsetsu/stack-es2015-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/onsetsu/stack-es2015-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onsetsu%2Fstack-es2015-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onsetsu%2Fstack-es2015-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onsetsu%2Fstack-es2015-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onsetsu%2Fstack-es2015-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onsetsu","download_url":"https://codeload.github.com/onsetsu/stack-es2015-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onsetsu%2Fstack-es2015-module/sbom","scorecard":{"id":707708,"data":{"date":"2025-08-18","repo":{"name":"github.com/onsetsu/stack-es2015-module","commit":"3347556c6683f4fb15c92f6f82d9b02a5c95a95f"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3,"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T07:11:40.473Z","repository_id":57369145,"created_at":"2025-08-22T07:11:40.473Z","updated_at":"2025-08-22T07:11:40.473Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32889971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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-10-11T19:28:18.614Z","updated_at":"2026-05-11T09:54:32.617Z","avatar_url":"https://github.com/onsetsu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stack-es2015-module [![Build Status](https://travis-ci.org/onsetsu/stack-es2015-module.svg?branch=master)](https://travis-ci.org/onsetsu/stack-es2015-module)\nA simple stack data structure provided as es2015 module.\n\n## Installation\n\nAs npm for Node.js:\n\n```\n$ npm install stack-es2015-module --save\n```\n\nOr download the [bundle](https://raw.githubusercontent.com/onsetsu/stack-es2015-module/master/dist/stack-es2015-modules.js) file.\n\n## Building\n\n```\n$ npm run-script build\n```\n\ncreates the *bundle* file in the `dist` folder.\n\n## Testing\n\nAs npm package:\n\n```\n$ npm test\n```\n\n## Example\n\n```js\nimport Stack from 'stack-es2015-module';\n\nlet stack = new Stack();\n\nstack.push(42);\nstack.push(17);\nstack.top(); // 17\nstack.pop();\nstack.top(); // 42\nstack.withElement(33, () =\u003e {\n  stack.top(); // 33\n});\n```\n\n## API\n\n### Stack()\n\nInitializes a new empty `Stack`.\n\n### Stack#top()\n\nReturns the top element of the stack.\n\n### Stack#pop()\n\nPops the top element of the stack.\n\n### Stack#push(element)\n\nPushes the `element` at the top of the stack.\n\n### Stack#withElement(element, callback, context)\n\nPushes the `element` at the top of the stack and executes the `callback` with the optional `context`.\nAfter successfully returning from the `callback` or upon an uncatched error, the top element is poped from the stack.\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonsetsu%2Fstack-es2015-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonsetsu%2Fstack-es2015-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonsetsu%2Fstack-es2015-module/lists"}