obsr

Obsr - A small powerful observable objects arrays

Usage no npm install needed!

<script type="module">
  import obsr from 'https://cdn.skypack.dev/obsr';
</script>

README

Obsr

Obsr - A small powerful observable objects arrays

Overview

Obsr notifies any change to primitive types including collections such as objects and arrays. This library uses getters and setters to notify the callback of changes. There are two methods that are included on observed objects and arrays (even nested) that notify the callback of any deletions or additions.

Support

All major browsers that support ES5 including IE9.

Install

npm install obsr --save

Examples

Please see the test directory for now.