@hackle-develop/hackle-sdk
JavaScript SDK for Hackle
Last updated 5 months ago by hackle-develop .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hackle-develop/hackle-sdk 
SYNC missed versions from official npm registry.

#Hackle JavaScript SDK

Install

npm install @hackle/hackle-sdk --save

##Usage

import { Hackle } from "@hackle/hackle-sdk"

const hackle = Hackle.create(YOUR_API_KEY)
const testGroup = hackle.activate(AB_TEST_KEY, USER_ID)

if (testGroup === "A") {
} else if (testGroup === "B") {
}
hackle.track(EVENT_KEY, USER_ID)

Current Tags

  • 0.0.1                                ...           latest (5 months ago)

1 Versions

  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (16)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |