{"_id":"@bleed-believer/entropy-watch","name":"@bleed-believer/entropy-watch","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@bleed-believer/entropy-watch","version":"0.0.0","description":"Minimal, multiplatform and deterministic file watcher","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22.2.0"},"scripts":{"build:tsc":"tsc -p tsconfig.build.json","build:swc-src":"swc ./src -d ./dist --strip-leading-paths","build:swc-dist":"swc ./src -d ./dist --strip-leading-paths --config-file .build.swcrc","test":"node --run clean && node --run build:swc-src  && node --run build:tsc && ava","build":"node --run clean && node --run build:swc-dist && node --run build:tsc","clean":"rm -rf ./dist","check":"tsc --noEmit","prepare":"node --run check && node --run test && node --run build"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.js"}},"keywords":["fs","watch","watchFile","watcher","watching","file","hash","fsevents"],"repository":{"type":"git","url":"git+https://github.com/sleep-written/bleed-believer-entropy-watch.git"},"publishConfig":{"access":"public"},"devDependencies":{"@swc/cli":"^0.7.9","@swc/core":"^1.15.1","@types/node":"^24.10.1","ava":"^6.4.1","typescript":"^5.9.3"},"gitHead":"e3cc2df9c57fdce60bf38ff7e2d362bdad08cbf5","_id":"@bleed-believer/entropy-watch@0.0.0","bugs":{"url":"https://github.com/sleep-written/bleed-believer-entropy-watch/issues"},"homepage":"https://github.com/sleep-written/bleed-believer-entropy-watch#readme","_nodeVersion":"22.20.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-XaRhVR681ts9hXgItY3Gp1oVjm3wioOn71ZIP6Dgu35/ZV9QjvPx55lBi6jqqo+6Tgb3y8rRH1SczSlWScg9Ig==","shasum":"edb27f2a390fefb6de6c85d398b430a328c8cd9c","tarball":"https://registry.npmjs.org/@bleed-believer/entropy-watch/-/entropy-watch-0.0.0.tgz","fileCount":27,"unpackedSize":12412,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZbg79F4F2gFLJvB23Ig92p5vj1PcXjIdORPnPMVhKKQIgF7WuqXAqw1dZVQKfRQqDqfRKpMSb1Q+k1yvQ6VEElu0="}]},"_npmUser":{"name":"sleep-written","email":"sleep.written0000@gmail.com"},"directories":{},"maintainers":[{"name":"sleep-written","email":"sleep.written0000@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entropy-watch_0.0.0_1763145435657_0.0183563246660281"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-14T18:37:15.547Z","0.0.0":"2025-11-14T18:37:15.840Z","modified":"2025-11-14T18:37:16.112Z"},"maintainers":[{"name":"sleep-written","email":"sleep.written0000@gmail.com"}],"description":"Minimal, multiplatform and deterministic file watcher","homepage":"https://github.com/sleep-written/bleed-believer-entropy-watch#readme","keywords":["fs","watch","watchFile","watcher","watching","file","hash","fsevents"],"repository":{"type":"git","url":"git+https://github.com/sleep-written/bleed-believer-entropy-watch.git"},"bugs":{"url":"https://github.com/sleep-written/bleed-believer-entropy-watch/issues"},"readme":"# @bleed-believer/entropy-watch\n\n## Installation\n```shell\nnpm i --save @bleed-believer/entropy-watch\n```\n\n## Example\n```ts\nimport { EntropyWatch } from '@bleed-believer/entropy-watch';\n\nconst watch = new EntropyWatch('./**/*.{ts,js}');\nwatch.on('created', paths => console.log('created:', paths));\nwatch.on('updated', paths => console.log('updated:', paths));\nwatch.on('deleted', paths => console.log('deleted:', paths));\n\nprocess.once('SIGINT', () => {\n    watch.stop();\n});\n\nawait watch.start();\n```\n\n## Options\n-   __exclude__ `string[]`:\n    Glob patterns to exclude form the search (available from Node v23 and up).\n\n-   __interval__ `number`:\n    Polling rate in milliseconds, if not defined, the library uses `50ms`.\n\n-   __hashlength__ `string`:\n    The hashing algorithm, `sha512` as default. See [here](https://nodejs.org/api/crypto.html#cryptocreatehashalgorithm-options) for details.\n\n-   __hashAlgorithm__ `number`:\n    The hash length (for `shake256` algorithm).\n","readmeFilename":"README.md","_rev":"1-3d125f01a458ceceb71e1a7a69d7ef09"}