
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
object-watcher
Advanced tools
##ObjectWatcher
A super simple package to allow you to set watchers/listeners on your javascript variables.
Useful mostly for debugging when you aren't sure where a variable is being set/modified.
Just slap a watcher on it:
var watch = require(object-watcher).watch;
var data = {
quantity: 0
, products: []
}
, watcher = function(propertyName, oldValue, newValue){
console.log("Variable Changed!");
};
watch(data, 'quantity', watcher);
watch(data, 'products', watcher);
data.quantity = 8
// Variable Changed!
FAQs
Plugin that allows you to watch for changes in a javacript object
The npm package object-watcher receives a total of 0 weekly downloads. As such, object-watcher popularity was classified as not popular.
We found that object-watcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.