0.2.4-deprecated • Published 3 years ago

posthog-plugins v0.2.4-deprecated

Weekly downloads
152
License
MIT
Repository
github
Last release
3 years ago

DEPRECATED

This package has been renamed @posthog/plugin-scaffold. Please update your dependencies!

posthog-plugins

This project contains shared typescript types that PostHog plugin authors can use.

# if using yarn
yarn add --dev posthog-plugins

# if using npm
npm install --save-dev posthog-plugins

Then in your plugins:

import { PluginEvent, PluginMeta } from 'posthog-plugins'

export function processEvent(event: PluginEvent, meta: PluginMeta) {
    if (event.properties) {
        event.properties['hello'] = 'world'
    }
    return event
}
0.2.4-deprecated

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.2

3 years ago

0.1.4

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago