{"id":24508203,"url":"https://github.com/crayon-js/literal","last_synced_at":"2026-04-07T08:32:40.956Z","repository":{"id":246645720,"uuid":"821322848","full_name":"crayon-js/literal","owner":"crayon-js","description":"📝 ES6 Literal templating support for crayon","archived":false,"fork":false,"pushed_at":"2024-08-26T18:33:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-15T09:15:27.144Z","etag":null,"topics":["ansi","crayon","deno","javascript","js","literal-template","nodejs","rgb","styling","template-literals","terminal"],"latest_commit_sha":null,"homepage":"","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/crayon-js.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"Im-Beast","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":"https://revolut.me/imbeast"}},"created_at":"2024-06-28T09:30:38.000Z","updated_at":"2024-08-26T18:33:26.000Z","dependencies_parsed_at":"2024-06-29T11:22:15.909Z","dependency_job_id":"7d66ed37-53ed-4fc6-9c9e-0a243ee6869f","html_url":"https://github.com/crayon-js/literal","commit_stats":null,"previous_names":["crayon-js/literal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crayon-js/literal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crayon-js%2Fliteral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crayon-js%2Fliteral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crayon-js%2Fliteral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crayon-js%2Fliteral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crayon-js","download_url":"https://codeload.github.com/crayon-js/literal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crayon-js%2Fliteral/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ansi","crayon","deno","javascript","js","literal-template","nodejs","rgb","styling","template-literals","terminal"],"created_at":"2025-01-22T00:14:47.319Z","updated_at":"2026-04-07T08:32:40.935Z","avatar_url":"https://github.com/crayon-js.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Im-Beast","https://revolut.me/imbeast"],"categories":[],"sub_categories":[],"readme":"# 📝 Crayon Literal Templates\n\n## 📚 About\n\n`@crayon/literal` is an extension for [Crayon](https://github.com/crayon-js/crayon) that adds\nsupport for styling using ES6 Literal Templates.\n\n## ⚙️ Usage\n\n```ts\n// Remember to replace \"version\" with semver version\nimport crayon from \"@crayon/crayon\";\nimport \"@crayon/literal\";\n\nconsole.log(\n  crayon`{red I'm red! {blue I'm blue!} {bgBlue.bold I'm kind of both! But also bold!}}`,\n);\n\n// Methods are also supported\nconsole.log(\n  crayon`{rgb(0,255,0) Im green {bgHex(0xFF0000) and I have red background}}`,\n);\n```\n\n## 🤝 Contributing\n\n**Crayon** is open for any contributions.\\\nIf you feel like you can enhance this project - please open an issue and/or pull request.\\\nCode should be well document and easy to follow what's going on.\n\n**Crayon 4.x** follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).\\\nIf your pull request's code could introduce understandability trouble, please add comments to it.\n\n## 📝 Licensing\n\nThis project is available under **MIT** License conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrayon-js%2Fliteral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrayon-js%2Fliteral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrayon-js%2Fliteral/lists"}