When developers install your package, it signals real product usage. With Reo.Dev, you can now identify and monitor installs of your NPM packages. This short guide will walk you through how this works and how you can set it up.
Once reo-census is added to your package:
npm install.reo-census script runs automatically during installation.Simply add reo-census to your package.json. Once done, you can track all de-anonymized developers who have installed your NPM package on Reo.
You’ll get:
{
"name": "your-package",
"version": "1.0.0",
"dependencies": {
"reo-census": "^1.2.8"
}
}
<aside> 💡
Note: By default, NPM install tracking works automatically once reo-census is added to your package. No additional setup is required.
</aside>
However, if you want more control over how telemetry works, you can optionally configure tracking behavior by adding a reoSettings block inside your package.json. Here’s how you can set this up: