Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egoist/hanabi
:boom: Highlight any code, in a colorful way. (seriously 700 bytes)
https://github.com/egoist/hanabi
fun highlight
Last synced: about 14 hours ago
JSON representation
:boom: Highlight any code, in a colorful way. (seriously 700 bytes)
- Host: GitHub
- URL: https://github.com/egoist/hanabi
- Owner: egoist
- License: mit
- Created: 2017-02-23T08:33:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T16:24:39.000Z (over 1 year ago)
- Last Synced: 2024-10-30T06:58:41.168Z (14 days ago)
- Topics: fun, highlight
- Language: JavaScript
- Homepage: https://hanabi.egoist.dev
- Size: 316 KB
- Stars: 245
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hanabi
[![NPM version](https://img.shields.io/npm/v/hanabi.svg?style=flat)](https://npmjs.com/package/hanabi) [![NPM downloads](https://img.shields.io/npm/dm/hanabi.svg?style=flat)](https://npmjs.com/package/hanabi) [![Build Status](https://img.shields.io/circleci/project/egoist/hanabi/master.svg?style=flat)](https://circleci.com/gh/egoist/hanabi) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate)
How does it look like? Hmmm:
## Install
```bash
yarn add hanabi
```CDN: https://unpkg.com/hanabi/dist/
## Usage
```js
const hanabi = require("hanabi");hanabi(code);
```Demo: https://hanabi.egoist.dev/
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**hanabi** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
Authored and maintained by egoist with help from contributors ([list](https://github.com/egoist/hanabi/contributors)).> [egoist.dev](https://egoist.dev) · GitHub [@egoist](https://github.com/egoist) · Twitter [@\localhost_5173](https://twitter.com/localhost_5173)