2.1.0 • Published 1 year ago

@logspot/node v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@logspot/node

Logspot Node SDK for Node.js application.

Installation

npm install @logspot/node

or

yarn add @logspot/node

Usage

Init

import Logspot from '@logspot/node';

Logspot.init({ secretKey: 'YOUR_SECRET_KEY' });

Track

Logspot.track({ 
    event: 'UserSubscribed', 
    notify: true,
    message: 'john@doe.com has subscribed',
    userId: 'john@doe.com', 
    metadata: { additionalData: '123' } 
});
2.1.0

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago