tidelift-estimator
v0.3.0
Published
Estimate the income of a given author.
Readme
tidelift-estimator 🌊
Estimates the potential Tidelift income for a given npm package maintainer.
How it works
- Fetches all packages for the given username from the npm registry
- Checks each package against the Tidelift API to see if it is "lifted" (i.e. subscribed to by Tidelift customers)
- Estimates monthly income: $50/month per lifted package, with the user as the primary maintainer/beneficiary
[!NOTE] This is a rough estimate. Our own payouts, and payouts to other maintainers we know show that all packages which have any kind of usage are earning $50/month. Some outliers earn more or less, but the average is certainly $50.
Usage
npx tidelift-estimator <username>For example:
npx tidelift-estimator 43081jOutput:
Fetching packages for 43081j...
Tidelift Estimate for 43081j
──────────────────────────────
Packages: 60
Lifted packages: 5
Monthly income: $250To look up a specific package instead of a user, pass --package (or -p):
npx tidelift-estimator --package <package-name>This will calculate the estimated income for the author of the package, based on the sum of all the deep dependencies that they also own.
[!NOTE] As you can see in this example (of myself), the number is off in this case. This is because I am not the primary maintainer/beneficiary of 4 of the lifted packages I am a publisher of. I actually earn $50/month from one, and a person I maintain a few packages with earns the other $200/month.
