{"id":20392116,"url":"https://github.com/fantox/xtra-logger","last_synced_at":"2026-03-17T19:26:32.021Z","repository":{"id":247346347,"uuid":"825229835","full_name":"FantoX/xtra-logger","owner":"FantoX","description":"A lightweight logger, console text colorizer and text formatter with highest formatting options.","archived":false,"fork":false,"pushed_at":"2024-07-13T09:32:37.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T08:17:48.459Z","etag":null,"topics":["chalk","chalkjs","console","console-tool","logger","logger-nodejs","logging-library","nodejs","timezone","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/xtra-logger","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FantoX.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-07T07:27:19.000Z","updated_at":"2024-08-08T16:46:43.000Z","dependencies_parsed_at":"2024-07-09T15:47:07.918Z","dependency_job_id":null,"html_url":"https://github.com/FantoX/xtra-logger","commit_stats":null,"previous_names":["fantox/logger.js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FantoX/xtra-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fxtra-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fxtra-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fxtra-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fxtra-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FantoX","download_url":"https://codeload.github.com/FantoX/xtra-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FantoX%2Fxtra-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30629263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"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":["chalk","chalkjs","console","console-tool","logger","logger-nodejs","logging-library","nodejs","timezone","typescript"],"created_at":"2024-11-15T03:39:31.105Z","updated_at":"2026-03-17T19:26:32.010Z","avatar_url":"https://github.com/FantoX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/cd203167-3d1d-4114-981f-014f1044142c\" alt=\"xtra-logger logo\"\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003eXTRA-LOGGER\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ch3\u003eA lightweight logger, console text coloriser and text formatter with highest formatting options written in \u003ca href=\"https://www.typescriptlang.org/docs/handbook/intro.html\"\u003eTypescript \u003c/a\u003e \u003c/h3\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n## Compatibility:\n\n| Version        | Compatibility                |\n| -------------- | ---------------------------- |\n| Es5 Javascript | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e |\n| Es6 Javascript | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e |\n| Typescript     | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e |\n\n\u003cbr\u003e\n\n## Features:\n\n| Feature             | Availability                    |\n| ------------------- | ------------------------------- |\n| Logging             | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e    |\n| Text Formatting     | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e    |\n| Console Colorize    | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e    |\n| Combined Formatting | \u003cdiv align=\"center\"\u003e✅\u003c/div\u003e    |\n| Size                | \u003cdiv align=\"center\"\u003e17 kb\u003c/div\u003e |\n\n\u003cbr\u003e\n\n## Installation:\n\nNode Package Manager (NPM)\n\n```bash\nnpm i xtra-logger\n```\n\nYet Another Resource Navigator (YARN)\n\n```bash\nyarn add xtra-logger\n```\n\n\u003cbr\u003e\n\n## Importing:\n\nFor Es5 Js\n\n```js\nconst { logger, format } = require(\"xtra-logger\");\n```\n\nFor Es6 Js / Typescript\n\n```js\nimport { logger, format } from \"xtra-logger\";\n```\n\n\u003cbr\u003e\n\n## Usage Examples:\n\n**_Logging features:_**\n\n- 5 Log methods available ( info, warn, success, warn, error )\n- Changable timezome for Docker / Remote servers ( Search your time zome name from [here](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). )\n- Log format : `[ DD.MM.YY - HH:MM:SS ] - [ TYPE ] - MESSAGE`\n\n_Example :_\n\n```js\nimport { logger, format } from \"xtra-logger\";\n\n// Changing the timezone of logger [ optional ] (By default it will use system time)\nlogger.timeZone(\"Asia/Kolkata\");\n\n// Logging options\nlogger.info(\"Starting the server...\");\nlogger.warn(\"Using node v:18.6\");\nlogger.success(\"Server started successfully.\");\nlogger.debug(\"NPM update available.\");\nlogger.error(\"An error occurd in the server.\");\n```\n\n_Output :_\n\n\u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/68f7fd75-ff9f-454a-8f6f-851add11255c\" alt=\"Formatting example output\"\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e\n\n**_Text formatting features:_**\n\n- 50+ text formatting / colorizing options available.\n- Multiple formatting can be combined together to create new style.\n\n_Example :_\n\n```js\nimport { logger, format } from \"xtra-logger\";\n\n// Only bold text\nconsole.log(format.bold(\"This is a Bold text\\n\"));\n\n// Combining colours + multiple formatting\nconsole.log(\n  format.bold(\n    format.italic(format.cyan(\"This is a Bold + Italic + Cyan colour text \\n\"))\n  )\n);\n\nconsole.log(\n  format.bgBrightmagenta(\n    format.strikethrough(\n      format.lightwhite(\n        \"This is a strikethrough + light white text with bright magenta background\"\n      )\n    )\n  )\n);\n```\n\n_Output :_\n\n\u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/6dca26ee-0929-4405-869a-b81513b0a2a1\" alt=\"Formatting example output\"\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Contributing:\n\nI don't have any contributors in this project yet. Feel free to contribute and making it better.\n\n- Coded by [FantoX](https://github.com/FantoX)\n- - Written in [Typescript](https://www.typescriptlang.org/docs/handbook/intro.html)\n- License [GNU General Public License v3.0](https://github.com/FantoX/xtra-logger/blob/main/LICENSE)\n\n\u003cbr\u003e\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantox%2Fxtra-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantox%2Fxtra-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantox%2Fxtra-logger/lists"}