1.0.2 • Published 2 years ago

customer-segmentation v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Customer Segmentation

Marketing segmentation

Behavioral segmentation

Installation

npm i customer-segmentation --save

Example || Usage

const { customerSegment } = require("customer-segmentation");
const behavior = customerSegment({ name: "John Doe", revenue: 2500, age: 30 });

The customerSegment function take 5 argumens that are name, revenue, city, networkOperator, and age.

Object that will be returned :

Customer {
  name: 'John Doe',
  revenue: 834,
  city: undefined,
  networkOperator: undefined,
  age: 30,
  behaviorSegmentation: 'H',
  marketSegmentation: 'MASS MARKET'
}

License

MIT © Euclidio Venancio