Displaying 1 to 20 from 34 results

on-change - Watch an object or array for changes

  •    Javascript

It works recursively, so it will even detect if you modify a deep property like obj.a.b[0].c = true.Uses the Proxy API.

node-coap - CoAP - Node.js style

  •    Javascript

node-coap is a client and server library for CoAP modelled after the http module. It does not parse the protocol but it use CoAP-packet instead.




redux-watch - Watch/observe/monitor Redux store state changes

  •    Javascript

Watch/observe Redux store state changes.Redux provides you with a subscribe() method so that you can be notified when the state changes. However, it does not let you know what changed. redux-watch will let you know what changed.

onmount - Safe, reliable, idempotent and testable behaviors for DOM nodes

  •    Javascript

Run something when a DOM element appears and when it exits. No dependencies. Legacy IE compatible. 1kb .min.gz.Run something to initialize an element on its first appearance.

gawk - Observable JavaScript object model

  •    Javascript

Gawk wraps JavaScript objects and arrays using ES2015 proxies making them observable. Once a JavaScript object (or array) is gawked, you can listen for changes including deeply nested changes. Only objects and arrays can be gawked. All other types are passed through.


xobject-observe - 🔬 A cross-browser object property observer using ES6 proxy with a fallback on dirty-checking

  •    Javascript

A cross-browser object property observer uses ES6 proxy underneath and with fallback on dirty-checking. Include dist/observe.browser.js into your page and use xObjectObserve() function.

introspected - Introspection for serializable arrays and JSON friendly objects.

  •    HTML

If you'd like to be notified about any possible change that could happen to a JSON compatible model / data / object / array / structure, including the possibility to retrieve the exact full path of the object that changed and eventually walk through it, you've reached your destination. Any spec compliant ES2015 JavaScript engine.

wrist - Minimalistic utility for generic one/two ways data bindings.

  •    HTML

An easy way to bind or react to properties change. It also works with input elements and their value, checked, or disabled too.

wait-for-element.js - This library provide a function which wait until an element is visible.

  •    Javascript

This library provide a function which wait until an element is visible. if you use it with non promise support browser, should load Promise polyfill like ES6-Promise.

mongosmash - A *very* simple ODM for MongoDB and NeDB on Node.js (using JS Harmony).

  •    Javascript

MongoSmash is a super-minimal MongoDB/NeDB ODM for Node.js. It lets you treat JavaScript object as normal, and have changes persisted to MongoDB or NeDB. Unlike Mongoose, MongoSmash does not require the use of schemas, so you can truly take advantage of the schemaless nature of your DB if you want. MongoSmash is implemented using Object.observe, and so is subject to its limitations on changes it can track, and requires Node 0.11.10+. You'll need to invoke node with the --harmony flag. You can run the benchmarks yourself as shown below. The results here are from my MacBookAir5,2. K-ops/sec means "thousand calls of the given function per second", so higher is better.

observe-plus - A library that wraps Object

  •    Javascript

Observe+ allows to listen to these two types.

nested-observe - Object.observe() for nested objects.

  •    Javascript

Object.observe() for nested objects. nested-observe internally uses WeakMap (for garbage collection). Node.js supports both WeakMap and Object.observe since version 0.11.13. For browsers have a look at: kangax's compaitibility table. For unsupported browsers/Node.js, you can use shims, e.g. KapIT/observe-shim and Benvie/WeakMap.

emitter-listener

  •    Javascript

There are times when it's necessary to monkeypatch default behavior in JavaScript and Node. However, changing the behavior of the runtime on the fly is rarely a good idea, and you should be using this module because you need to, not because it seems like fun. Wrap an EventEmitter's event listeners. Each listener will be passed to mark when it is registered with .addListener() or .on(), and then each listener is passed to prepare to be wrapped before it's called by the .emit() call. wrapListener deals with the single listener vs array of listeners logic, and also ensures that edge cases like .removeListener() being called from within an .emit() for the same event type is handled properly.

frb - Functional Reactive Bindings (frb): A CommonJS package that includes functional and generic building blocks to help incrementally ensure consistent state

  •    Javascript

In their simplest form, bindings provide the illusion that two objects have the same property. Changing the property on one object causes the same change in the other. This is useful for coordinating state between views and models, among other entangled objects. For example, if you enter text into a text field, the same text might be added to the corresponding database record. Functional Reactive Bindings go farther. They can gracefully bind long property paths and the contents of collections. They can also incrementally update the results of chains of queries including maps, flattened arrays, sums, and averages. They can also add and remove elements from sets based on the changes to a flag. FRB makes it easy to incrementally ensure consistent state.

eev - A tiny, fast, zero-dependency event emitter

  •    Javascript

A tiny, fast, zero-dependency event emitter for JavaScript. Create an Eev instance.