New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webqit/observer

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webqit/observer

A simple set of functions for intercepting and observing JavaScript objects and arrays.

  • 1.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
184
increased by736.36%
Maintainers
1
Weekly downloads
 
Created
Source

The Observer API

NPM version NPM downloads

Observer is an API for observing and intercepting JavaScript objects and arrays.

let obj = {};
Observer.observe(obj, events => {
    events.forEach(event => {
        console.log(event.type, event.name, event.path, event.value, event.oldValue);
    });
});

Observer.set(obj, path, value);

Follow the installation guide to obtain the Observer API.

Full Documentation

Project Homepage Github DOCS API Explainer

Issues

To report bugs or request features, please submit an issue.

License

MIT.

Keywords

FAQs

Package last updated on 12 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc