{"id":21997727,"url":"https://github.com/osfunapps/os-logger","last_synced_at":"2026-04-04T20:33:13.035Z","repository":{"id":98762380,"uuid":"229326291","full_name":"osfunapps/os-logger","owner":"osfunapps","description":"This module contains nodejs log operations","archived":false,"fork":false,"pushed_at":"2021-02-07T14:44:50.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T04:37:54.394Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osfunapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-20T19:44:06.000Z","updated_at":"2021-02-07T14:44:52.000Z","dependencies_parsed_at":"2023-05-25T05:15:24.960Z","dependency_job_id":null,"html_url":"https://github.com/osfunapps/os-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osfunapps/os-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osfunapps","download_url":"https://codeload.github.com/osfunapps/os-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfunapps%2Fos-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-29T22:17:53.666Z","updated_at":"2026-04-04T20:33:13.008Z","avatar_url":"https://github.com/osfunapps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n------------\n\nThis module contains nodejs print operations\n\n## Installation\nInstall via npm:\n    \n    npm i os-logger\n\n\n## Usage       \nRequire logger:\n```js  \nvar logger = require(\"os-logger\")\n```\n## Functions and signatures:\n```js\n/**\n * Will print a warning message\n */\nwarning: function (txt) {\n    print(WARNING, txt)\n},\n\n/**\n * Will print a bold message\n */\nbold: function (txt) {\n    print(BOLD, txt)\n},\n\n/**\n * Will print an underline message\n */\nunderline: function (txt) {\n    print(UNDERLINE, txt)\n},\n\n/**\n * Will print a failed message\n */\nfailure: function (txt) {\n    print(FAILURE, txt)\n},\n\n/**\n * Will print a success message\n */\nsuccess: function (txt) {\n    print(SUCCESS, txt)\n},\n\n\n/**\n * Will print an info message\n */\ninfo: function (txt) {\n    print(INFO, txt)\n},\n\n/**\n * Will request an input from the user\n */\ninputRequest: function (text) {\n    return new Promise((resolve, reject) =\u003e {\n        const {stdin, stdout} = process;\n\n\n        stdin.resume();\n        stdout.write(REQUEST + text + \"\\n\");\n\n        stdin.on('data', data =\u003e {\n            resolve(data.toString().trim());\n            stdin.destroy()\n        });\n        stdin.on('error', err =\u003e reject(err));\n        stdin.on('end', function(){\n            console.log(\"closed!\")\n        });\n    })\n}    \n```   \n\nAnd more...\n\n\n## Links -\u003e see more tools\n* [os-tools-npm](https://github.com/osfunapps/os-tools-npm) -\u003e This module contains fundamental functions to implement in an npm project\n* [os-file-handler-npm](https://github.com/osfunapps/os-file-handler-npm) -\u003e This module contains fundamental files manipulation functions to implement in an npm project\n* [os-file-stream-handler-npm](https://github.com/osfunapps/os-file-stream-handler-npm) -\u003e This module contains read/write and more advanced operations on files\n* [os-xml-handler-npm](https://github.com/osfunapps/os-xml-handler-npm) -\u003e This module will build, read and manipulate an xml file. Other handy stuff is also available, like search for specific nodes\n\n[GitHub - osapps](https://github.com/osfunapps)\n\n\n## Licence","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfunapps%2Fos-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosfunapps%2Fos-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfunapps%2Fos-logger/lists"}