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: 13 days 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 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T20:17:55.000Z (15 days ago)
- Last Synced: 2025-04-13T22:20:37.389Z (13 days ago)
- Topics: node, posthog, react-native, sdk, web
- Language: TypeScript
- Homepage: https://posthog.com/docs/libraries
- Size: 4.1 MB
- Stars: 97
- Watchers: 15
- Forks: 50
- Open Issues: 42
-
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).