datajam 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +31 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # datajam
2
+
3
+ Local-first Stripe analytics SDK for Node.js.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install datajam
9
+ ```
10
+
11
+ ## Quick start
12
+
13
+ ```ts
14
+ import { DataJam } from "datajam";
15
+
16
+ const datajam = new DataJam({
17
+ stripeSecretKey: process.env.STRIPE_SECRET_KEY
18
+ });
19
+
20
+ await datajam.sync();
21
+ await datajam.dashboard();
22
+ ```
23
+
24
+ ## CLI
25
+
26
+ ```bash
27
+ npx datajam init
28
+ npx datajam sync
29
+ npx datajam dashboard
30
+ npx datajam doctor
31
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datajam",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Local-first analytics SDK for syncing Stripe data",
5
5
  "license": "MIT",
6
6
  "type": "module",