Current collected state Current
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@-ft/watch-target
util watchTarget
watchTargetget notified when the watch target value changes
const a = watchTarget('a');
const cleanup = a.watch((a) => console.log(`a is now '${a}'`));
// console output: a is now 'a'
a.get(); // 'a'
a.set('A');
// console output: a is now 'A'
cleanup();
a.set('X'); // (no more console output)
Download counts and popularity will appear here as the collector receives them.
Declarations describe requirements; they are not a resolved dependency graph.
Source distribution
{
"integrity": "sha512-P/j4NWfcuFsYsY9QeXmmlzxMogXEnqT7hijLCMMKHJ2UAAe5GX6PJZkj9JsXz40E0xsFqI9MMUSr8Vgj7ebu+A==",
"shasum": "70a2c0aa91b2aefffd194107de2165d3b5ec68a7",
"tarball": "https://registry.npmjs.org/@-ft/watch-target/-/watch-target-0.1.0.tgz",
"fileCount": 4,
"unpackedSize": 1210,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIDFR3XTEueVfN/tEpbIH/Na3vxfM3ryxsHPKytVe947TAiBfh11VQd9NpxRamEn/jS/bMIhImQJuZUxfsfafN8oMEg=="
}
]
}Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:70ffc24ebceb156f23a1da6b4c5a4a2bee5e66bf0930643a264df708a30a6982