1.0.4 • Published 10 years ago
ltv v1.0.4
LTV
Lifetime value calculator for SAAS subscription models. Calculations are made using a constant churn rate, month-over-month.
LTV = ARPA (Average MRR per Account) * Customer LifetimeInstall
npm install ltvUsage
To calculate LTV, you must provide an array of monthly data containing users and churn for that period of time.
var ltv = require('ltv');
var churn = [
  {
    users: 25,
    churn: 3
  },
  {
    users: 87,
    churn: 8
  }
];
new ltv(4500, churn).calculate(); // 94.87