Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 937 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 937 Bytes

done-mutation

License: MIT npm version Build Status

Utilties for encoding, decoding, and patching MutationRecords.

Usage

ES6 use

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

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:

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

Standalone use

Load the global version of the plugin:

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