# eruda-code

> Eruda plugin for running JavaScript code

Latest version **2.2.0** (published 2024-07-22) · 0 weekly downloads

## Install

```sh
npm install eruda-code
pnpm add eruda-code
yarn add eruda-code
bun add eruda-code
```

## 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 | 2.2.0 |
| Published | 2024-07-22 |
| First published | 2018-01-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | surunzi |
| Maintainers | surunzi |
| Keywords | eruda, plugin |

## Links

- npm: https://www.npmjs.com/package/eruda-code
- npm.io page: https://npm.io/package/eruda-code

## Recent versions

- 2.2.0 (latest) — 2024-07-22
- 2.1.0 — 2022-11-29
- 2.0.0 — 2020-01-06
- 1.0.0 — 2018-01-09

## README

# eruda-code

[![NPM version][npm-image]][npm-url]
[![Build status][ci-image]][ci-url]
[![License][license-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/eruda-code.svg
[npm-url]: https://npmjs.org/package/eruda-code
[ci-image]: https://img.shields.io/github/actions/workflow/status/liriliri/eruda-code/main.yml?branch=master&style=flat-square 
[ci-url]: https://github.com/liriliri/eruda-code/actions/workflows/main.yml
[license-image]: https://img.shields.io/npm/l/eruda-code.svg

Eruda plugin for running JavaScript code.

## Demo

Browse it on your phone: 
[https://eruda.liriliri.io/?plugin=code](https://eruda.liriliri.io/?plugin=code)

## Install

```bash
npm install eruda-code --save
```

```javascript
eruda.add(erudaCode);
```

Make sure Eruda is loaded before this plugin, otherwise won't work.

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