# react-prism

> React.js + prismjs syntax hightlight component

Latest version **4.3.2** (published 2018-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-prism
pnpm add react-prism
yarn add react-prism
bun add react-prism
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.3.2 |
| Published | 2018-01-02 |
| First published | 2014-11-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 198 |
| Author | tomchentw |
| Maintainers | tomchentw |
| Keywords | React.js, React, react-component, prismjs, prism, hightlight, hightlight.js, google code prettify, prettify, code prettify, syntax, syntax hightlight, worker, webworker |

## Links

- npm: https://www.npmjs.com/package/react-prism
- Repository: https://github.com/tomchentw/react-prism
- Homepage: https://tomchentw.github.io/react-prism/
- Issues: https://github.com/tomchentw/react-prism/issues
- npm.io page: https://npm.io/package/react-prism

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 4.3.2 (latest) — 2018-01-02
- 4.3.1 — 2017-09-30
- 4.3.0 — 2017-07-04
- 4.2.0 — 2017-06-30
- 4.1.0 — 2017-04-28
- 4.0.0 — 2016-09-21
- 3.2.2 — 2016-09-20
- 3.2.1 — 2016-05-31
- 3.2.0 — 2016-04-26
- 3.1.1 — 2016-01-28
- 3.1.0 — 2016-01-19
- 3.0.0 — 2015-10-08
- 2.0.0 — 2015-10-02
- 1.4.1 — 2015-07-01
- 1.4.0 — 2015-06-17
- … 7 more at https://npm.io/package/react-prism/versions

## README

# react-prism
> React.js + Prism.js syntax highlight component

[![Version][npm-image]][npm-url] [![Travis CI][travis-image]][travis-url] [![Quality][codeclimate-image]][codeclimate-url] [![Coverage][codeclimate-coverage-image]][codeclimate-coverage-url] [![Dependencies][gemnasium-image]][gemnasium-url] [![Gitter][gitter-image]][gitter-url]


## Usage / Documentation

```sh
npm i --save react-prism
```

Then, read the [documentation][docs].


## Credits

* [`prismjs`][prismjs]


[npm-image]: https://img.shields.io/npm/v/react-prism.svg?style=flat-square
[npm-url]: https://www.npmjs.org/package/react-prism

[travis-image]: https://img.shields.io/travis/tomchentw/react-prism.svg?style=flat-square
[travis-url]: https://travis-ci.org/tomchentw/react-prism
[codeclimate-image]: https://img.shields.io/codeclimate/github/tomchentw/react-prism.svg?style=flat-square
[codeclimate-url]: https://codeclimate.com/github/tomchentw/react-prism
[codeclimate-coverage-image]: https://img.shields.io/codeclimate/coverage/github/tomchentw/react-prism.svg?style=flat-square
[codeclimate-coverage-url]: https://codeclimate.com/github/tomchentw/react-prism
[gemnasium-image]: https://img.shields.io/gemnasium/tomchentw/react-prism.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/tomchentw/react-prism
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/tomchentw/react-prism?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge


[docs]: https://tomchentw.github.io/react-prism/
[prismjs]: http://prismjs.com/

---
_Source: https://npm.io/package/react-prism · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
