@techby/impact
v0.0.11
Published
SDK for posting datapoints to TechBy Impact
Downloads
6
Readme
SDK for posting datapoints to TechBy Impact
Basic usage:
import { Impact } from '@techby/impact'
const impact = new Impact({
apiKey: '<your api key>'
})
impact.incrementMetric('users')
impact.incrementUnique('active-users', 'some-hashed-user-id)
TODO:
- either bundle with webpack, or somehow embed regenerator runtime so @babel/preset-env doesn't need to be in dependencies
- https://github.com/babel/babel/discussions/11611