{"id":23084098,"url":"https://github.com/matheussantos360/logfy-x","last_synced_at":"2026-04-11T13:03:29.817Z","repository":{"id":260359721,"uuid":"881060437","full_name":"MatheusSantos360/logfy-x","owner":"MatheusSantos360","description":"Logs Generating Fantastic eXperiences","archived":false,"fork":false,"pushed_at":"2024-12-26T14:08:39.000Z","size":158,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T10:14:45.760Z","etag":null,"topics":["backend","cli","colors","console","easy","frontend","javascript","log","logfy","logfy-x","logger","logging","nodejs","npm","npm-package","styles","terminal","text","typescript","utilities"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/logfy-x","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/MatheusSantos360.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-10-30T21:05:40.000Z","updated_at":"2024-12-26T14:07:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ceb3637-0623-4803-8675-666164087779","html_url":"https://github.com/MatheusSantos360/logfy-x","commit_stats":null,"previous_names":["matheussantos360/logfy-x"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/MatheusSantos360/logfy-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatheusSantos360%2Flogfy-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatheusSantos360%2Flogfy-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatheusSantos360%2Flogfy-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatheusSantos360%2Flogfy-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatheusSantos360","download_url":"https://codeload.github.com/MatheusSantos360/logfy-x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatheusSantos360%2Flogfy-x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270656410,"owners_count":24623381,"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-15T02:00:12.559Z","response_time":110,"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":["backend","cli","colors","console","easy","frontend","javascript","log","logfy","logfy-x","logger","logging","nodejs","npm","npm-package","styles","terminal","text","typescript","utilities"],"created_at":"2024-12-16T15:48:41.230Z","updated_at":"2025-12-30T22:25:35.981Z","avatar_url":"https://github.com/MatheusSantos360.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Logfy-X**: Logs Generating Fantastic eXperiences\n\n**Transform Your Terminal Logs with Style and Precision**\n\n**Logfy-X** is a powerful terminal logging tool designed to make logging easier, organized, and pleasant, both during development and production. With **Logfy-X**, developers can view real-time behavior in a colorful and structured way, reducing the monotony of plain text logs.\n\n## 🚀 **Key Features**\n\n- 🎨 **Stylized/Pretty Text Log**: Color, background color, text style, and more.\n\n## 🛠️ **Installing**\n\nTo install Logfy-X, use the following command:\n\n```bash\nnpm install --save logfy-x\n```\n\n## 📖 **Usage Examples**\n\n### **Text Styling**\n\n```javascript\nimport logfy from \"logfy-x\";\n\n// Log to the console with the default styles specified in `logfy-x.json`\nlogfy(\"My content\");\n\n// Log to the console with the default styles and additional custom styles\n// ⚠️ Note: The styles provided in the options can overwrite the default styles.\nlogfy(\"My content\", { style: \"white bg-blue bold\" });\n\n// Log to the console with the default styles \"red\" and \"bold\" removed\nlogfy(\"My content\", { style: \"-red -bold\" });\n```\n\n### **Informational Messages**\n\n```javascript\nimport { info } from \"logfy-x\";\n\n// Log a simple message\ninfo(\"Update\", \"The process was successful.\");\n\n// Log nested messages\ninfo(\"Update\", [\n  \"The process was successful.\",\n  [\"Step 1: Completed\", \"Step 2: Completed\"],\n  \"Final step: Completed\"\n]);\n```\n\n### **Warning Messages**\n\n```javascript\nimport { warn } from \"logfy-x\";\n\n// Log a simple warning message\nwarn(\"Caution\", \"This action is risky.\");\n\n// Log nested warning messages\nwarn(\"Caution\", [\n  \"This action is risky.\",\n  [\"Step 1: Proceed with care\", \"Step 2: Verify settings\"],\n  \"Final step: Confirm changes\"\n]);\n```\n\n### **Error Messages**\n\n```javascript\nimport { error } from \"logfy-x\";\n\n// Log a simple error message\nerror(\"Error\", \"An unexpected error occurred.\");\n\n// Log nested error messages\nerror(\"Error\", [\n  \"An unexpected error occurred.\",\n  [\"Step 1: Check the logs\", \"Step 2: Restart the application\"],\n  \"Final step: Contact support\"\n]);\n```\n\n### **Success Messages**\n\n```javascript\nimport { success } from \"logfy-x\";\n\n// Log a simple success message\nsuccess(\"Success\", \"Operation completed successfully.\");\n\n// Log nested success messages\nsuccess(\"Success\", [\n  \"Operation completed successfully.\",\n  [\"Step 1: Verify the outcome\", \"Step 2: Celebrate the achievement\"],\n  \"Final step: Document the process\"\n]);\n```\n\n## 🤝 **Contributing**\n\nContributions are welcome! Please read our [contributing guide](CONTRIBUTING.md) for details on how to get started.\n\n## 📄 **License**\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheussantos360%2Flogfy-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheussantos360%2Flogfy-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheussantos360%2Flogfy-x/lists"}