{"id":1584667,"name":"current-executing-script","ecosystem":"npm","description":"Get the currently executing script, regardless of its source/trigger/synchronicity. Similar to HTML5's `document.currentScript` but arguably much more useful!","homepage":"https://github.com/JamesMGreene/currentExecutingScript","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/JamesMGreene/currentExecutingScript","keywords_array":["browser","document","currentScript","currentExecutingScript","html","dom","html5","not-spec-compliant"],"namespace":null,"versions_count":4,"first_release_published_at":"2015-03-18T20:56:15.292Z","latest_release_published_at":"2015-12-27T01:32:04.519Z","latest_release_number":"0.1.3","last_synced_at":"2026-03-14T19:48:39.557Z","created_at":"2022-04-09T10:39:19.299Z","updated_at":"2026-03-14T19:48:39.557Z","registry_url":"https://www.npmjs.com/package/current-executing-script","install_command":"npm install current-executing-script","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.3"}},"repo_metadata":{"id":28388455,"uuid":"31902667","full_name":"JamesMGreene/currentExecutingScript","owner":"JamesMGreene","description":"Get the currently executing script, regardless of its source/trigger/synchronicity. Similar to HTML5's `document.currentScript` but arguably much more useful!","archived":true,"fork":false,"pushed_at":"2015-12-29T07:14:40.000Z","size":29,"stargazers_count":26,"open_issues_count":7,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-20T23:25:05.842Z","etag":null,"topics":[],"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/JamesMGreene.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":"2015-03-09T14:20:47.000Z","updated_at":"2025-04-07T21:04:49.000Z","dependencies_parsed_at":"2022-08-17T21:50:42.098Z","dependency_job_id":null,"html_url":"https://github.com/JamesMGreene/currentExecutingScript","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/JamesMGreene/currentExecutingScript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesMGreene","download_url":"https://codeload.github.com/JamesMGreene/currentExecutingScript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/sbom","scorecard":{"id":70407,"data":{"date":"2025-08-11","repo":{"name":"github.com/JamesMGreene/currentExecutingScript","commit":"cfb5905463a6cc80f95d0d64721db269524c2ac9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/9 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":"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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":"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"}}]},"last_synced_at":"2025-08-15T03:43:41.357Z","repository_id":28388455,"created_at":"2025-08-15T03:43:41.357Z","updated_at":"2025-08-15T03:43:41.357Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280316652,"owners_count":26309993,"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-21T02:00:06.614Z","response_time":58,"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"},"owner_record":{"login":"JamesMGreene","name":"James M. Greene","uuid":"417751","kind":"user","description":":octocat: Software Engineer :octocat:","email":"","website":"https://jamesmgreene.github.io/","location":"Minneapolis, MN","twitter":null,"company":"GitHub","icon_url":"https://avatars.githubusercontent.com/u/417751?u=79acee2fd757c328d5d7528d5d39f7f32f5f75e4\u0026v=4","repositories_count":94,"last_synced_at":"2024-04-14T06:43:11.988Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/JamesMGreene","funding_links":[],"total_stars":693,"followers":526,"following":44,"created_at":"2022-11-02T16:37:10.810Z","updated_at":"2024-04-14T06:43:31.998Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesMGreene","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesMGreene/repositories"},"tags":[{"name":"v0.1.3","sha":"14c1d2da4c0a143a68becb50d7cdce34d82a8e7c","kind":"commit","published_at":"2015-12-27T01:35:15.000Z","download_url":"https://codeload.github.com/JamesMGreene/currentExecutingScript/tar.gz/v0.1.3","html_url":"https://github.com/JamesMGreene/currentExecutingScript/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JamesMGreene/currentExecutingScript@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"d64914baca8aa24a3bcf69543fea7c199c76fabe","kind":"commit","published_at":"2015-03-19T13:32:30.000Z","download_url":"https://codeload.github.com/JamesMGreene/currentExecutingScript/tar.gz/v0.1.2","html_url":"https://github.com/JamesMGreene/currentExecutingScript/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JamesMGreene/currentExecutingScript@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"7d599560b186073d39a1c17bdb9df728599467f8","kind":"commit","published_at":"2015-03-18T23:03:58.000Z","download_url":"https://codeload.github.com/JamesMGreene/currentExecutingScript/tar.gz/v0.1.1","html_url":"https://github.com/JamesMGreene/currentExecutingScript/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JamesMGreene/currentExecutingScript@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"eefdfffc03b733f66c1b48d3988be94412cfd5e4","kind":"commit","published_at":"2015-03-18T20:56:07.000Z","download_url":"https://codeload.github.com/JamesMGreene/currentExecutingScript/tar.gz/v0.1.0","html_url":"https://github.com/JamesMGreene/currentExecutingScript/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/JamesMGreene/currentExecutingScript@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesMGreene%2FcurrentExecutingScript/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-21T18:40:31.163Z","dependent_packages_count":35,"downloads":37061,"downloads_period":"last-month","dependent_repos_count":208,"rankings":{"downloads":1.4666849967149291,"dependent_repos_count":1.0733875078476947,"dependent_packages_count":0.7763231695059877,"stargazers_count":7.289143533858749,"forks_count":9.84983769086612,"docker_downloads_count":0.6596568288847825,"average":3.519172287946377},"purl":"pkg:npm/current-executing-script","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/current-executing-script","docker_dependents_count":8,"docker_downloads_count":330562,"usage_url":"https://repos.ecosyste.ms/usage/npm/current-executing-script","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/current-executing-script/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/current-executing-script/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/current-executing-script/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/current-executing-script/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/current-executing-script/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/current-executing-script/codemeta","maintainers":[{"uuid":"jamesmgreene","login":"jamesmgreene","name":null,"email":"james.m.greene@gmail.com","url":null,"packages_count":51,"html_url":"https://www.npmjs.com/~jamesmgreene","role":null,"created_at":"2022-11-11T22:37:00.756Z","updated_at":"2022-11-11T22:37:00.756Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jamesmgreene/packages"}]}