{"id":22278395,"url":"https://github.com/voiddevsorg/node-console","last_synced_at":"2025-07-28T18:30:39.869Z","repository":{"id":65496537,"uuid":"593425141","full_name":"VoidDevsorg/node-console","owner":"VoidDevsorg","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-26T00:34:54.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-15T17:14:35.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/VoidDevsorg.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":"2023-01-26T00:33:15.000Z","updated_at":"2023-05-25T10:59:55.000Z","dependencies_parsed_at":"2023-02-14T12:47:14.272Z","dependency_job_id":null,"html_url":"https://github.com/VoidDevsorg/node-console","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VoidDevsorg/node-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidDevsorg%2Fnode-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidDevsorg%2Fnode-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidDevsorg%2Fnode-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidDevsorg%2Fnode-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VoidDevsorg","download_url":"https://codeload.github.com/VoidDevsorg/node-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidDevsorg%2Fnode-console/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267563490,"owners_count":24108097,"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-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-12-03T15:14:26.739Z","updated_at":"2025-07-28T18:30:39.523Z","avatar_url":"https://github.com/VoidDevsorg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [@voidpkg/console](https://npmjs.com/package/@voidpkg/console)\r\n[Do you need my help? Visit our Discord server.](https://voiddevs.org/discord)\r\n\r\n![NPM Downloads](https://img.shields.io/npm/dm/@voidpkg/console?style=for-the-badge)\r\n![License](https://img.shields.io/npm/l/@voidpkg/console?style=for-the-badge)\r\n\r\n### Installation\r\n```bash\r\nnpm i @voidpkg/console --save\r\n# or\r\nyarn add @voidpkg/console\r\n```\r\n\r\n### Images\r\n\r\n![Foreground](https://i.imgur.com/6SwTjOh.png)\r\n![Background](https://i.imgur.com/jnQflH9.png)\r\n\r\n\u003cbr\u003e\r\n\r\n### Importing\r\n\r\n```js\r\nimport { Consoler } from '@voidpkg/console'; // ESM\r\nconst { Consoler } = require('@voidpkg/console'); // CJS\r\nnew Consoler({\r\n    timestamp: false, // (default: false)\r\n    variant: 'background', // or 'foreground' (default: 'foreground')\r\n    title: \"Global Title\" // (default: 'SUCCESS', 'ERROR', 'WARNING', 'INFO', 'LOADING')\r\n});\r\n```\r\n\r\n\u003cbr\u003e\r\n\r\n# Usage\r\n\r\n```js\r\n// Basic Usage\r\nconsole.success('Successfully passed!');\r\nconsole.error('An error occurred!');\r\nconsole.warn('This is a warning!');\r\nconsole.info('This is an info message!');\r\n\r\n// With Custom Style\r\nconsole.success('This is a {b}bold{reset}{c.green} message!{r}', { title: 'Custom Title' });\r\nconsole.error('This is a {bold}bold and {italic}italic{reset}{c.red} message!{r}', { title: 'Custom Title' });\r\nconsole.warn('This is a {i}italic{r}{c.yellow}  and {b}bold{r}{c.yellow} message!{r}', { title: 'Custom Title' });\r\nconsole.info('This is a {i}italic{r}{c.blue}, {b}bold{r}{c.blue} and {italic}{bold}both{reset}{c.blue} message!{r}', { title: 'Custom Title' });\r\nconsole.info('The time is {tt}!{r}', { title: 'Custom Title' });\r\nconsole.success('This is a {c.red}red{r}{c.green} message!{r}', { title: 'Custom Title' });\r\nconsole.error('This is a {c.green}green{reset}{c.red} message and a timestamp!{r}', { title: 'Custom Title', timestamp: true });\r\n\r\n// Loading\r\nsetTimeout(() =\u003e {\r\n    console.loading(10 * 1000, '{indicator} Loading...', () =\u003e {\r\n        console.success('Loading finished!');\r\n    }, { title: 'Custom Title' });\r\n}, 10000);\r\n```\r\n\r\n\u003cbr\u003e\r\n\r\n# Styling\r\n\r\n```js\r\n// Colors\r\n{c.red}Red{r}\r\n{c.green}Green{r}\r\n{c.yellow}Yellow{r}\r\n{c.blue}Blue{r}\r\n{c.magenta}Magenta{r}\r\n{c.cyan}Cyan{r}\r\n{c.white}White{r}\r\n{c.black}Black{r}\r\n{c.gray}Gray{r}\r\n\r\n// Styles\r\n{b}Bold{r}\r\n{i}Italic{r}\r\n{u}Underline{r}\r\n{s}Strikethrough{r}\r\n// or\r\n{bold}Bold{reset}\r\n{italic}Italic{reset}\r\n{underline}Underline{reset}\r\n{strikethrough}Strikethrough{reset}\r\n\r\n// Timestamp\r\n{tt}Timestamp{r}\r\n// or\r\n{timestamp}Timestamp{reset}\r\n\r\n// Indicators (Loading)\r\n{indicator}Indicator{r}\r\n```\r\n\r\n\u003cbr\u003e\r\n\r\n---\r\n\u003ch6 align=\"center\"\u003eDeveloped with ❤️ by Void Development\u003c/h6\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoiddevsorg%2Fnode-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoiddevsorg%2Fnode-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoiddevsorg%2Fnode-console/lists"}