Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 829 Bytes

readme.md

File metadata and controls

23 lines (15 loc) · 829 Bytes

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.