{"id":2189042,"name":"preprocessor","ecosystem":"npm","description":"Preprocessor.js: A JavaScript source file preprocessor, e.g. to build different versions of a library.","homepage":"https://github.com/dcodeIO/Preprocessor.js","licenses":"Apache License, Version 2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/dcodeIO/Preprocessor.js","keywords_array":["source","source code","JavaScript","ECMAScript","preprocessor","pre-processor","pre processor","processor","utility"],"namespace":null,"versions_count":16,"first_release_published_at":"2013-03-05T17:11:30.007Z","latest_release_published_at":"2014-07-23T16:04:30.321Z","latest_release_number":"1.4.0","last_synced_at":"2026-03-14T18:36:38.192Z","created_at":"2022-04-09T22:14:22.391Z","updated_at":"2026-03-14T18:36:38.192Z","registry_url":"https://www.npmjs.com/package/preprocessor","install_command":"npm install preprocessor","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.4.0"}},"repo_metadata":{"id":7270648,"uuid":"8583886","full_name":"dcodeIO/Preprocessor.js","owner":"dcodeIO","description":"A JavaScript source file preprocessor in pure JavaScript, e.g. to build different versions of a library.","archived":true,"fork":false,"pushed_at":"2014-08-22T22:26:25.000Z","size":382,"stargazers_count":72,"open_issues_count":10,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-30T01:54:07.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dcode.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcodeIO.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":"2013-03-05T16:26:03.000Z","updated_at":"2024-09-15T18:18:48.000Z","dependencies_parsed_at":"2022-09-16T18:00:56.893Z","dependency_job_id":null,"html_url":"https://github.com/dcodeIO/Preprocessor.js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dcodeIO/Preprocessor.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcodeIO","download_url":"https://codeload.github.com/dcodeIO/Preprocessor.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/sbom","scorecard":{"id":329792,"data":{"date":"2025-08-11","repo":{"name":"github.com/dcodeIO/Preprocessor.js","commit":"895216169f992e18e062f8d3adbe82256f7ff7ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Code-Review","score":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","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":"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":"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":-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":"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":"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":"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: Apache License 2.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":"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 3 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-18T03:18:02.239Z","repository_id":7270648,"created_at":"2025-08-18T03:18:02.239Z","updated_at":"2025-08-18T03:18:02.239Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015351,"owners_count":26085684,"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-13T02:00:06.723Z","response_time":61,"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":"dcodeIO","name":"dcode","uuid":"1136893","kind":"user","description":"","email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1136893?u=6087ea5a18e64e975cf707c2d09a2291afa3e14c\u0026v=4","repositories_count":68,"last_synced_at":"2024-04-14T08:25:01.639Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/dcodeIO","funding_links":[],"total_stars":6521,"followers":1560,"following":1,"created_at":"2022-11-02T16:18:51.062Z","updated_at":"2024-04-14T08:25:16.294Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcodeIO","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcodeIO/repositories"},"tags":[{"name":"1.4.0","sha":"c8eab36387b60bbc653e6300b089969a75a4b29d","kind":"commit","published_at":"2014-07-23T16:04:48.000Z","download_url":"https://codeload.github.com/dcodeIO/Preprocessor.js/tar.gz/1.4.0","html_url":"https://github.com/dcodeIO/Preprocessor.js/releases/tag/1.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dcodeIO/Preprocessor.js@1.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/tags/1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/tags/1.4.0/manifests"},{"name":"1.1.0","sha":"1b5ee3681e56187bdfb4bbe83be8e4b28bb05874","kind":"commit","published_at":"2013-10-10T01:41:45.000Z","download_url":"https://codeload.github.com/dcodeIO/Preprocessor.js/tar.gz/1.1.0","html_url":"https://github.com/dcodeIO/Preprocessor.js/releases/tag/1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dcodeIO/Preprocessor.js@1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/tags/1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/tags/1.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-13T13:37:14.262Z","dependent_packages_count":46,"downloads":1279,"downloads_period":"last-month","dependent_repos_count":135,"rankings":{"downloads":5.2064190333865135,"dependent_repos_count":1.2710442030271851,"dependent_packages_count":0.6338414330571952,"stargazers_count":5.455199768649221,"forks_count":5.356379170465403,"docker_downloads_count":null,"average":3.5845767217171036},"purl":"pkg:npm/preprocessor","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/preprocessor","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/preprocessor","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/preprocessor/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-30T01:53:24.667Z","issues_count":14,"pull_requests_count":7,"avg_time_to_close_issue":513810.6666666667,"avg_time_to_close_pull_request":18006.0,"issues_closed_count":6,"pull_requests_closed_count":5,"pull_request_authors_count":5,"issue_authors_count":12,"avg_comments_per_issue":1.8571428571428572,"avg_comments_per_pull_request":1.2857142857142858,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2FPreprocessor.js/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preprocessor/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preprocessor/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preprocessor/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preprocessor/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/preprocessor/codemeta","maintainers":[{"uuid":"dcode","login":"dcode","name":null,"email":"dcode+npm@dcode.io","url":null,"packages_count":52,"html_url":"https://www.npmjs.com/~dcode","role":null,"created_at":"2022-11-13T21:16:56.232Z","updated_at":"2022-11-13T21:16:56.232Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dcode/packages"}]}