https://github.com/posthog/posthog-js-lite
Reimplementation of posthog-js to be as light and modular as possible.
https://github.com/posthog/posthog-js-lite
node posthog react-native sdk web
Last synced: 12 months ago
JSON representation
Reimplementation of posthog-js to be as light and modular as possible.
- Host: GitHub
- URL: https://github.com/posthog/posthog-js-lite
- Owner: PostHog
- License: other
- Created: 2020-07-14T09:09:30.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-05-14T14:52:07.000Z (12 months ago)
- Last Synced: 2025-05-14T23:06:22.808Z (12 months ago)
- Topics: node, posthog, react-native, sdk, web
- Language: TypeScript
- Homepage: https://posthog.com/docs/libraries
- Size: 4.3 MB
- Stars: 108
- Watchers: 15
- Forks: 54
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# posthog-js-lite
The next generation of PostHog client libraries within the JS/TS ecosystem.
The lofty goals of this codebase is to solve the core client logic of our various JS based libraries in one place (web, node, React Native).
The short-term goal is to have a dedicated React Native library free from any platform-specific installations (the previous client library is a wrapper for the `posthog-ios` and `posthog-android` libraries). This enables a few things:
1. Installation to Expo managed projects without any separate compilation / ejecting
2. Tighter integration to RN enabling hooks, context, autocapture etc.
## Contributing
Information on how to contribute to the project and run tests can be found [here](CONTRIBUTING.md).
## Releasing
Information on how to release the individual libraries can be found [here](RELEASE.md).
## License
This project is licensed under the [MIT License](LICENSE).