https://github.com/ferdodo/loglore
Minimalistic frontend event store.
https://github.com/ferdodo/loglore
Last synced: 5 months ago
JSON representation
Minimalistic frontend event store.
- Host: GitHub
- URL: https://github.com/ferdodo/loglore
- Owner: ferdodo
- Created: 2023-10-13T18:12:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-11T18:17:00.000Z (over 1 year ago)
- Last Synced: 2025-10-17T22:47:20.834Z (9 months ago)
- Language: TypeScript
- Homepage: https://ferdodo.github.io/loglore/
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# loglore
Minimalistic frontend event store.
## Installation
npm install --save loglore
## Installation without a javascript bundler
Directly use the file loglore.browser.js in your webpage.
``` html
console.log(window.loglore); // methods are bootstraped here
```
## Usage
You will find some examples in the documentation https://ferdodo.github.io/loglore
## Best practices
* Define your own event interface in typescript.
* Make a small abstraction of the lib to implement bindings with your own typings.
* Make an extensible event format.
* Never update your previous events or typings if there is some existing previous data.
* Dont use for production or serious projects.