{"id":22505210,"url":"https://github.com/azer/styled","last_synced_at":"2025-08-03T11:32:51.211Z","repository":{"id":57373250,"uuid":"10139805","full_name":"azer/styled","owner":"azer","description":"console styling library","archived":false,"fork":false,"pushed_at":"2016-06-23T22:23:48.000Z","size":3,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T00:52:15.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/azer.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}},"created_at":"2013-05-18T10:22:40.000Z","updated_at":"2016-06-23T22:23:38.000Z","dependencies_parsed_at":"2022-08-30T00:40:42.626Z","dependency_job_id":null,"html_url":"https://github.com/azer/styled","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azer/styled","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fstyled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fstyled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fstyled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fstyled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/styled/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fstyled/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268537880,"owners_count":24266282,"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-03T02:00:12.545Z","response_time":2577,"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-07T00:16:09.185Z","updated_at":"2025-08-03T11:32:50.952Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## styled\n\nthe console styling library that does only one thing\n\n## Usage\n\nAnything exported by [ansi-codes](http://github.com/azer/ansi-codes) has a method:\n\n```js\nstyled.bold('foo')\nstyled.redBg( styled.yellow('hello!') )\nstyled.blink('blink blink!!');\n```\n\nShortcut to apply multiple styles:\n\n```js\nstyled('bold yellow greenBg', 'hello!!')\n```\n\nCan be also written as:\n\n```js\nstyled('bold, yellow, greenBg', 'hello!!')\n```\n\nOr\n\n```js\nstyled('.bold .yellow .greenBg', 'hello!!')\n```\n\n## Install\n\n```bash\n$ npm install styled\n```\n\n## API\n\n```\nreset: \\033[0m\nbold: \\033[1m\nitalic: \\033[3m\nblink: \\033[5m\nunderline: \\033[4m\nunderlineOff: \\033[24m\ninverse: \\033[7m\ninverseOff: \\033[27m\nstrikethrough: \\033[9m\nstrikethroughOff: \\033[29m\n\ndef: \\033[39m\nwhite: \\033[37m\nblack: \\033[30m\nred: \\033[31m\ngreen: \\033[32m\nblue: \\033[34m\nyellow: \\033[33m\nmagenta: \\033[35m\ncyan: \\033[36m\n\ndefBg: \\033[49m\nwhiteBg: \\033[47m\nblackBg: \\033[40m\nredBg: \\033[41m\ngreenBg: \\033[42m\nblueBg: \\033[44m\nyellowBg: \\033[43m\nmagentaBg: \\033[45m\ncyanBg: \\033[46m\n```\n\n![](https://dl.dropbox.com/s/9q2p5mrqnajys22/npmel.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fstyled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fstyled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fstyled/lists"}