{"id":13846736,"url":"https://github.com/jcubic/isomorphic-lolcat","last_synced_at":"2026-01-20T04:01:32.201Z","repository":{"id":57151739,"uuid":"282216609","full_name":"jcubic/isomorphic-lolcat","owner":"jcubic","description":"Lolcat gradient that can be used in browser or Node","archived":false,"fork":false,"pushed_at":"2025-05-03T13:11:13.000Z","size":78,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-03T14:23:41.477Z","etag":null,"topics":["console","lolcat","rainbow","string","terminal"],"latest_commit_sha":null,"homepage":"https://jcubic.github.io/isomorphic-lolcat/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcubic.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}},"created_at":"2020-07-24T12:40:14.000Z","updated_at":"2025-04-23T00:59:17.000Z","dependencies_parsed_at":"2024-07-19T19:31:02.614Z","dependency_job_id":"1648d241-33e3-41da-a3b7-620ced76e125","html_url":"https://github.com/jcubic/isomorphic-lolcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcubic/isomorphic-lolcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcubic%2Fisomorphic-lolcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcubic%2Fisomorphic-lolcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcubic%2Fisomorphic-lolcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcubic%2Fisomorphic-lolcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcubic","download_url":"https://codeload.github.com/jcubic/isomorphic-lolcat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcubic%2Fisomorphic-lolcat/sbom","scorecard":{"id":511988,"data":{"date":"2025-08-11","repo":{"name":"github.com/jcubic/isomorphic-lolcat","commit":"91bd27db55abc5e133a55b70c82e8087f304ac21"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 1/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Do What The F*ck You Want To Public License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T00:47:59.321Z","repository_id":57151739,"created_at":"2025-08-20T00:47:59.321Z","updated_at":"2025-08-20T00:47:59.321Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28595316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["console","lolcat","rainbow","string","terminal"],"created_at":"2024-08-04T18:00:46.405Z","updated_at":"2026-01-20T04:01:32.181Z","avatar_url":"https://github.com/jcubic.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":["Isomorphic"],"readme":"# Isomorphic Lolcat\n\nSmall library based on [lolcatjs](https://github.com/robertmarsal/lolcatjs)\nthat can be used in Node.js or Browser, to render gradient text.\n\n![Rainbow color ASCII art](https://github.com/jcubic/isomorphic-lolcat/blob/master/screenshot.png?raw=true)\n\n\n[Demo](http://jcubic.github.io/isomorphic-lolcat).\n\n## Installation\n\n```bash\nnpm install isomorphic-lolcat\n```\n\n## Usage\n\nNode\n\n```javascript\nconst lolcat = require('isomorphic-lolcat');\n```\n\nBrowser\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/isomorphic-lolcat\"\u003e\u003c/script\u003e\n```\n\n## API\n\n* **lolcat.format((char: string, color: color) =\u003e string, input: string, (line: number) =\u003e void): string[]**\n\nLow lovel function, first argument is function that is called on each character.\nFirst argument to function is single character second is object with `red`,\n`green` and `blue` properties of type number.\n\nReturn array of string value is single lolcat string.\n\n### Example\n\n```javascript\nconst styles = [];\nlet i = 20;\nconst o = rand(256);\nfunction eachLine() {\n  i -= 1;\n  lolcat.options.seed = o + i;\n}\n\nfunction rand(max) {\n    return Math.floor(Math.random() * (max + 1));\n}\n\n// render Style console in Browser\nconsole.log(lolcat.format(function(char, color) {\n    styles.push(`color: ${hex(color)}; background: black`);\n    return `%c${char}`;\n}, 'Lorem Ipsum Dolor Sit Amet', eachLine), ...styles);\n```\n\n* **lolcat.rainbow((char: string, color: Color) =\u003e string, input: string, seed: number): string[]**\n\nShortcut using above example that use default seed for each line:\n\n\n```javascript\nconst styles = [];\n\nfunction format(char, color) {\n    styles.push(`color: ${hex(color)}; background: black`);\n    return `%c${char}`;\n}\n\nconsole.log(lolcat.rainbow(format, 'Lorem Ipsum Dolor Sit Amet').join('\\n'), ...styles);\n```\n\n* **lolcat.options**\n\n```javascript\noptions: {\n    // Seed of the rainbow, use the same for the same pattern\n    seed: 0,\n    // Spread of the rainbow\n    spread: 8.0,\n    // Frequency of the rainbow colors\n    freq: 0.3,\n}\n```\n\n## License\n\nCopyright (C) 2020 [Jakub T. Jankiewicz](https://jcubic.pl) \u003cjcubic@onet.pl\u003e\n\nCopyright (C) 2015 [Robert Boloc](https://github.com/robertmarsal) \u003crobertboloc@gmail.com\u003e\n\nReleased with WTFPL License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcubic%2Fisomorphic-lolcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcubic%2Fisomorphic-lolcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcubic%2Fisomorphic-lolcat/lists"}