1.0.2 • Published 3 years ago
customer-segmentation v1.0.2
Customer Segmentation
Marketing segmentation
Behavioral segmentation
Installation
npm i customer-segmentation --saveExample || 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