Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xinyao27/cli-high
tiny cli highlighter
https://github.com/xinyao27/cli-high
Last synced: about 2 months ago
JSON representation
tiny cli highlighter
- Host: GitHub
- URL: https://github.com/xinyao27/cli-high
- Owner: xinyao27
- License: mit
- Created: 2024-05-13T02:29:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-25T00:41:34.000Z (7 months ago)
- Last Synced: 2024-05-27T12:31:41.257Z (7 months ago)
- Language: TypeScript
- Size: 520 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cli-high
✨ Tiny syntax highlighting for your terminal
[![NPM version](https://img.shields.io/npm/v/cli-high?color=a1b858&label=)](https://www.npmjs.com/package/cli-high)
## Preview
![cli-high](./screenshot.png)
## CLI Usage
```bash
npx cli-high ./path/to/your/js/file
```## Programmatic Usage
```ts
import { highlight } from 'cli-high'const highlighted = highlight('console.log("Hello, World!")')
```## License
[MIT](./LICENSE) License © 2024 [xinyao27](https://github.com/xinyao27)