Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 2 months ago
JSON representation

:boom: Highlight any code, in a colorful way. (seriously 700 bytes)

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:

2017-02-23 6 07 22

## 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)