{"id":19196977,"url":"https://github.com/jitesoft/yolog-file-plugin","last_synced_at":"2025-08-19T01:14:15.216Z","repository":{"id":35798955,"uuid":"219317004","full_name":"jitesoft/yolog-file-plugin","owner":"jitesoft","description":"File plugin for @jitesoft/yolog.","archived":false,"fork":false,"pushed_at":"2024-03-24T16:09:33.000Z","size":2010,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T04:45:12.167Z","etag":null,"topics":["file","file-logging","hacktoberfest","javascript","jitesoft","logging","yolog"],"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/jitesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"patreon":"jitesoft","open_collective":"jitesoft-open-source","custom":["https://sponsus.org/u/jitesoft"]}},"created_at":"2019-11-03T14:54:07.000Z","updated_at":"2022-01-08T15:19:11.000Z","dependencies_parsed_at":"2024-03-24T17:25:56.296Z","dependency_job_id":"2f4bbf3b-3638-4250-99b6-e059ccd303bc","html_url":"https://github.com/jitesoft/yolog-file-plugin","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/jitesoft/yolog-file-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fyolog-file-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fyolog-file-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fyolog-file-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fyolog-file-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitesoft","download_url":"https://codeload.github.com/jitesoft/yolog-file-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fyolog-file-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271084512,"owners_count":24696522,"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-08-18T02:00:08.743Z","response_time":89,"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":["file","file-logging","hacktoberfest","javascript","jitesoft","logging","yolog"],"created_at":"2024-11-09T12:15:02.288Z","updated_at":"2025-08-19T01:14:15.196Z","avatar_url":"https://github.com/jitesoft.png","language":"JavaScript","funding_links":["https://patreon.com/jitesoft","https://opencollective.com/jitesoft-open-source","https://sponsus.org/u/jitesoft"],"categories":[],"sub_categories":[],"readme":"# Yolog File Plugin\n\n[![npm (scoped)](https://img.shields.io/npm/v/@jitesoft/yolog-file-plugin)](https://www.npmjs.com/package/@jitesoft/yolog-file-plugin)\n[![Known Vulnerabilities](https://dev.snyk.io/test/npm/@jitesoft/yolog-file-plugin/badge.svg)](https://dev.snyk.io/test/npm/@jitesoft/yolog-file-plugin)\n[![pipeline status](https://gitlab.com/jitesoft/open-source/javascript/yolog-plugins/file/badges/master/pipeline.svg)](https://gitlab.com/jitesoft/open-source/javascript/yolog-plugins/file/commits/master)\n[![coverage report](https://gitlab.com/jitesoft/open-source/javascript/yolog-plugins/file/badges/master/coverage.svg)](https://gitlab.com/jitesoft/open-source/javascript/yolog-plugins/file/commits/master)\n[![npm](https://img.shields.io/npm/dt/@jitesoft/yolog-file-plugin)](https://www.npmjs.com/package/@jitesoft/yolog-file-plugin)\n[![Back project](https://img.shields.io/badge/Open%20Collective-Tip%20the%20devs!-blue.svg)](https://opencollective.com/jitesoft-open-source)\n\nPlugin for the [`@jitesoft/yolog`](https://www.npmjs.com/package/@jitesoft/yolog) logger to write to files.\n\nDue to the filesystem requirement a FS module is needed, this is not available in the browser, so this plugin\nis not suitable in the browser!\n\nIf you wish to log json strings in common json log format to file, be sure to check out the [yolog json plugin](https://github.com/jitesoft/yolog-json-plugin)!\n\nUsage:\n\nInstall with your favorite package manager!\n\n```bash\nnpm i @jitesoft/yolog-file-plugin --save\nyarn add @jitesoft/yolog-file-plugin\n```\n\nImport and use just as with any other yolog plugin!\n\n```js\nimport logger from '@jitesoft/yolog';\nimport FilePlugin from '@jitesoft/yolog-file-plugin';\nlogger.addPlugin(new FilePlugin('path/to/log/dir', 'debug.log'));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fyolog-file-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitesoft%2Fyolog-file-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fyolog-file-plugin/lists"}