{"id":24308090,"url":"https://github.com/rstiller/slf4ts","last_synced_at":"2025-09-26T14:30:48.647Z","repository":{"id":48882930,"uuid":"162181931","full_name":"rstiller/slf4ts","owner":"rstiller","description":"Simple logging facade for nodejs","archived":false,"fork":false,"pushed_at":"2023-10-09T21:41:49.000Z","size":3032,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T02:26:00.116Z","etag":null,"topics":["logging","logging-facade","nodejs"],"latest_commit_sha":null,"homepage":"https://rstiller.github.io/slf4ts/","language":"TypeScript","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/rstiller.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":"2018-12-17T19:48:32.000Z","updated_at":"2024-09-15T13:49:10.000Z","dependencies_parsed_at":"2023-02-14T04:31:46.698Z","dependency_job_id":null,"html_url":"https://github.com/rstiller/slf4ts","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/rstiller/slf4ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstiller%2Fslf4ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstiller%2Fslf4ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstiller%2Fslf4ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstiller%2Fslf4ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstiller","download_url":"https://codeload.github.com/rstiller/slf4ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstiller%2Fslf4ts/sbom","scorecard":{"id":787767,"data":{"date":"2025-08-11","repo":{"name":"github.com/rstiller/slf4ts","commit":"a71a148994b52c89010a6a0f938d6650f18ef960"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"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":0,"reason":"Found 0/20 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:17","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:16","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: no jobLevel write permissions found"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/rstiller/slf4ts/codeql-analysis.yml/main?enable=pin","Warn: containerImage not pinned by hash: test-env/node-dev/Dockerfile:1: pin your Docker image by updating node:latest to node:latest@sha256:dc4ac80350904c2797058e477a30b6285e9e025f23f139ea8b277c9efe55dd9a","Warn: npmCommand not pinned by hash: test-env/node-dev/Dockerfile:10","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"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":"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 'main'"],"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 14 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":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5"],"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-23T06:33:10.970Z","repository_id":48882930,"created_at":"2025-08-23T06:33:10.970Z","updated_at":"2025-08-23T06:33:10.970Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277090739,"owners_count":25759206,"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-09-26T02:00:09.010Z","response_time":78,"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":["logging","logging-facade","nodejs"],"created_at":"2025-01-17T04:47:22.697Z","updated_at":"2025-09-26T14:30:48.294Z","avatar_url":"https://github.com/rstiller.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slf4ts\n\nSimple Logging Facade for NodeJS\n\n[![CI](https://github.com/rstiller/slf4ts/actions/workflows/ci.yml/badge.svg)](https://github.com/rstiller/slf4ts/actions/workflows/ci.yml)\n\nThis is the mono-repository for the `slf4ts` modules.  \n`slf4ts` modules are a collection of modules abstracting logging for nodejs libraries.  \n\n\nCompatible libraries use the `slf4ts-api` module to get a Logger instance and do the logging.  \nThe application, that use these libraries, choose a concrete logging library alongside the  \ncorresponding `slf4ts` logger binding module to make their dependencies use the chosen logging library.\n\n## Modules\n\n| Module | Description | Status | Link |  |\n| :--- | :--- | :--- | :--- | :--- |\n| [slf4ts-api](packages/slf4ts-api) | API / interface module |  |  | ![NPM Version](https://img.shields.io/npm/v/slf4ts-api.svg) ![License](https://img.shields.io/npm/l/slf4ts-api.svg) |\n| \u003ci\u003eBindings\u003c/i\u003e |  |  |  |  |\n| [slf4ts-bunyan](packages/slf4ts-bunyan) | Bunyan Logger Binding |  | [bunyan](https://github.com/trentm/node-bunyan#readme) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-bunyan.svg) ![License](https://img.shields.io/npm/l/slf4ts-bunyan.svg) |\n| [slf4ts-console](packages/slf4ts-console) | Console Logger Binding |  | [nodejs console](https://nodejs.org/api/console.html) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-console.svg) ![License](https://img.shields.io/npm/l/slf4ts-console.svg) |\n| [slf4ts-log4js](packages/slf4ts-log4js) | log4js Logger Binding |  | [log4js](https://log4js-node.github.io/log4js-node/) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-log4js.svg) ![License](https://img.shields.io/npm/l/slf4ts-log4js.svg) |\n| [slf4ts-loglevel](packages/slf4ts-loglevel) | loglevel Logger Binding |  | [loglevel](https://github.com/pimterry/loglevel) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-loglevel.svg) ![License](https://img.shields.io/npm/l/slf4ts-loglevel.svg) |\n| [slf4ts-pino](packages/slf4ts-pino) | pino Logger Binding |  | [pino](https://getpino.io/#/) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-pino.svg) ![License](https://img.shields.io/npm/l/slf4ts-pino.svg) |\n| [slf4ts-winston](packages/slf4ts-winston) | Winston Logger Binding |  | [winston](https://github.com/winstonjs/winston) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-winston.svg) ![License](https://img.shields.io/npm/l/slf4ts-winston.svg) |\n| \u003ci\u003eAdapter\u003c/i\u003e |  |  |  |  |\n| [slf4ts-cassandra-log-adapter](packages/slf4ts-cassandra-log-adapter) | Log adapter for cassandra nodejs client lib |  | [cassandra-driver](https://github.com/datastax/nodejs-driver) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-cassandra-log-adapter.svg) ![License](https://img.shields.io/npm/l/slf4ts-cassandra-log-adapter.svg) |\n| [slf4ts-elasticsearch-log-adapter](packages/slf4ts-elasticsearch-log-adapter) | Log adapter for elasticsearch nodejs client lib | \u003cb\u003edeprecated\u003c/b\u003e | [elasticsearch](https://github.com/elastic/elasticsearch-js) | ![NPM Version](https://img.shields.io/npm/v/slf4ts-elasticsearch-log-adapter.svg) ![License](https://img.shields.io/npm/l/slf4ts-elasticsearch-log-adapter.svg) |\n\n## Examples\n\nCode examples for `javascript` and `typescript` are in the `examples` folder.  \n\n# project development\n\ninit / update project (if a new dependency is introduced or an existing is updated):  \n\n    npm i -g pnpm\n    pnpm i\n\ngenerate dependency report:  \n\n    # run 'pnpm run build' before checking dependencies\n    docker-compose run --rm deps\n\nrelease packages / publish docs:  \n\n    # check functionality\n    pnpm i\n    pnpm run build\n\n    # public packages\n    # change version in every dependent package\n    pnpm i\n    pnpm publish --filter slf4ts-api\n    git add .\n    git commit -m \"publish version x.y.z of slf4ts-api\"\n    git tag slf4ts-api@x.y.z\n    git push\n    git push origin slf4ts-api@x.y.z\n\n    # publish docs\n    rm -fr docs/\n    git branch -D gh-pages\n    git worktree prune\n    git worktree list\n    git worktree add -b gh-pages docs origin/gh-pages\n    pnpm run publishDocs\n\n## License\n\n[MIT](https://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstiller%2Fslf4ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstiller%2Fslf4ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstiller%2Fslf4ts/lists"}