# done-mutation

> Encodes MutationRecords so they can be patched on other documents

Latest version **3.1.0** (published 2019-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install done-mutation
pnpm add done-mutation
yarn add done-mutation
bun add done-mutation
```

## 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 | 3.1.0 |
| Published | 2019-01-25 |
| First published | 2018-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 69.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | DoneJS Contributors |
| Maintainers | matthewp |
| Keywords | donejs, donejs-plugin, mutationobserver |

## Links

- npm: https://www.npmjs.com/package/done-mutation
- Repository: https://github.com/donejs/done-mutation
- Issues: https://github.com/donejs/done-mutation/issues
- npm.io page: https://npm.io/package/done-mutation

## Dependencies (1)

- [utf8](https://npm.io/package/utf8.md) ^3.0.0

## Recent versions

- 3.1.0 (latest) — 2019-01-25
- 3.0.0 — 2019-01-10
- 2.2.1 — 2019-01-07
- 2.2.0 — 2018-12-19
- 2.1.6 — 2018-12-14
- 2.1.5 — 2018-12-10
- 2.1.4 — 2018-11-30
- 2.1.3 — 2018-11-02
- 2.1.2 — 2018-11-02
- 2.1.1 — 2018-10-31
- 2.1.0 — 2018-10-29
- 2.0.0 — 2018-10-22
- 1.3.0 — 2018-10-22
- 1.2.0 — 2018-10-19
- 1.1.0 — 2018-10-19
- … 9 more at https://npm.io/package/done-mutation/versions

## README

# done-mutation

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/donejs/done-mutation/blob/master/LICENSE)
[![npm version](https://badge.fury.io/js/done-mutation.svg)](https://www.npmjs.com/package/done-mutation)
[![Build Status](https://travis-ci.org/donejs/done-mutation.svg?branch=master)](https://travis-ci.org/donejs/done-mutation)

Utilties for encoding, decoding, and patching MutationRecords.

## Usage

### ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

```js
import plugin from 'done-mutation';
```

### CommonJS use

Use `require` to load `done-mutation` and everything else
needed to create a template that uses `done-mutation`:

```js
var plugin = require("done-mutation");
```

### Standalone use

Load the `global` version of the plugin:

```html
<script src='./node_modules/done-mutation/dist/global/done-mutation.js'></script>
```

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