MIT License

项目介绍

crayon-js/crayon 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 57 个 Star、0 次 Fork。

仓库全名
crayon-js/crayon
开源许可证
MIT License
Star 数
57

README 摘要

🖍️ Crayon 📚 About Crayon is a terminal styling module written in TypeScript.\ From the ground up its goals are to be fast, relatively lightweight and modular. 🖍️ Crayon.js offers: ⚡ Great performance 📦 No dependencies 🗑️ Modularity (use what you need) 🧐 Familiar API (chalk-like) 🦄 Built-in color fallbacking 🎨 Automatic color detection via @crayon/color-support extension package 🔗 Support for nesting &…

完整内容见 GitHub 原始 README 或本页 。

常见问题

crayon 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 57 个 Star。

crayon 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 crayon 的源码?

可以直接克隆仓库:git clone https://github.com/crayon-js/crayon.git,默认分支为 main;安装与运行步骤见仓库 README。

crayon 最近还在维护吗?

仓库最近一次更新为 2024年8月27日,当前没有未关闭的 Issue;Star 数为 57,可作为社区活跃度的参考。

关于

🖍️ Terminal styling done light and fast.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

README

deno github workflow

Crayon logo: Totally not creppy humanized crayon staring and waving hand at you

🖍️ Crayon

📚 About

Crayon is a terminal styling module written in TypeScript.
From the ground up its goals are to be fast, relatively lightweight and modular.

🖍️ Crayon.js offers:
  • ⚡ Great performance
  • 📦 No dependencies
  • 🗑️ Modularity (use what you need)
  • 🧐 Familiar API (chalk-like)
  • 🦄 Built-in color fallbacking
    • 🎨 Automatic color detection via @crayon/color-support extension package
  • 🔗 Support for nesting & chaining styles
  • 🪢 Not extending String.prototype
  • 🌈 24bit (16.7mln - truecolor) and 8bit (256 - highcolor) color support

⚙️ Usage

import crayon from "@crayon/crayon";

console.log(crayon.red("its red!"));

🤝 Contributing

Crayon is open for any contributions.
If you feel like you can enhance this project - please open an issue and/or pull request.
Code should be well document and easy to follow what’s going on.

Crayon 4.x follows conventional commits.
If your pull request’s code could introduce understandability trouble, please add comments to it.

📝 Licensing

This project is available under MIT License conditions.

评论

暂无评论