Skip to content

An in-memory adapter for micro-analytics

License

Notifications You must be signed in to change notification settings

micro-analytics/adapter-memory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

micro-analytics-adapter-memory

This is an in-memory adapter for micro-analytics.

⚠️ This package is now moved into the main micro-analytics repository

Why would you want to to use an in memory adapter for micro-analytics?

It can be useful for testing and when deploying test deployments to now.sh. now does not support writing to the filesystem, which makes micro-analytics unable to start with the flat-file-db-adapter. In production use, you would probably want to use a real database if you care about the data collected.

Usage

npm install micro-analytics-cli micro-analytics-adapter-memory
micro-analytics --adapter memory

and open localhost:3000.

About

An in-memory adapter for micro-analytics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published