# codememo

> An interactive coding environment. You can write Javascript, import any NPM modules and see it executed, and write comprehensive documentation using markdown.

Latest version **1.1.0** (published 2022-06-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install codememo
pnpm add codememo
yarn add codememo
bun add codememo
```

Provides the command `codememo`.

## 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 | 1.1.0 |
| Published | 2022-06-08 |
| First published | 2022-06-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 990.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mykola Mogylenko |
| Maintainers | mmogylenko |
| Keywords | codememo, editor, notebook, playground |

## Links

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

## Dependencies (1)

- [@codememo/local-client](https://npm.io/package/@codememo/local-client.md) ^1.1.0

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 1.1.0 (latest) — 2022-06-08
- 1.0.3 — 2022-06-08
- 1.0.2 — 2022-06-07
- 1.0.1 — 2022-06-07

## README

# CodeMemo

_An interactive coding environment. You can write Javascript, import any NPM modules and see it executed, and write comprehensive documentation using markdown_

*Implemented*

- Edit `Text` cells by clicking on their contents

- The code in each `Code` cell is bundled into one file. Variables defined in any cell can be referenced in others

- It is possible to render React components, strings, numbers, or anything else by calling the built-in `show()` function.

- Re-ordering or deleting cells AppBar on each cell

- Add new cells by hovering on the divider between cells

- All changes are saved to the file you opened *CodeMemo* with. For example, if your start *CodeMemo* with `npx codememo serve demo.js` command, all contents from the text and code cells will be saved to `demo.js` file in the same directory where the command was executed

## Install

```bash
~ npm install [-g] codememo@latest
```

## Usage

```bash
~ npx codememo serve [filename/path-to-file] [--port=<number>]
```

- `--port` by default is set to `8080`
- `--filename` is set to `codememo.js`. Used to store code & text snippets

*Example*

```bash
~ npx -y codememo@latest serve
Listening on http://localhost:8080
```

, where *demo.js* is used to store our memos.

![codememo_demo.png](https://github.com/mmogylenko/codememo/blob/main/docs/img/codememo_demo.png)

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