@smallwebco/tinypivot-react 1.0.58 → 1.0.59
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.
- package/README.md +7 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
# @smallwebco/tinypivot-react
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A lightweight data grid with pivot tables, charts, and optional AI-powered data exploration for React. **Under 40KB gzipped** — 10x smaller than AG Grid.
|
|
4
4
|
|
|
5
5
|
**[Live Demo](https://tiny-pivot.com)** · **[Buy License](https://tiny-pivot.com/#pricing)**
|
|
6
6
|
|
|
7
7
|
## Why TinyPivot?
|
|
8
8
|
|
|
9
|
-
- **
|
|
10
|
-
- **Bring Your Own Key (BYOK)**: Use your own OpenAI, Anthropic, or any LLM API key — full control over costs and privacy
|
|
11
|
-
- **Lightweight**: Under 40KB gzipped vs 500KB+ for AG Grid (10x smaller)
|
|
9
|
+
- **Lightweight**: Under 40KB gzipped vs 500KB+ for AG Grid
|
|
12
10
|
- **Batteries Included**: Pivot tables, 6 chart types, Excel-like features out of the box
|
|
11
|
+
- **AI Data Analyst** (Pro): Natural language queries with BYOK — use your own OpenAI/Anthropic key
|
|
13
12
|
- **One-Time License**: No subscriptions — pay once, use forever
|
|
14
13
|
|
|
15
14
|
## Installation
|
|
@@ -89,9 +88,11 @@ export default function App() {
|
|
|
89
88
|
| `onExport` | `(payload) => void` | CSV exported |
|
|
90
89
|
| `onCopy` | `(payload) => void` | Cells copied |
|
|
91
90
|
|
|
92
|
-
##
|
|
91
|
+
## AI Data Analyst (Pro)
|
|
93
92
|
|
|
94
|
-
|
|
93
|
+
Optional AI-powered data analyst that lets users explore data using natural language. Ask questions like "What's the return rate by category?" and get instant results.
|
|
94
|
+
|
|
95
|
+
> See the [AI Analyst Demo](https://github.com/Small-Web-Co/tinypivot/tree/master/examples/ai-analyst-demo) for a complete working example.
|
|
95
96
|
|
|
96
97
|
```tsx
|
|
97
98
|
import { DataGrid } from '@smallwebco/tinypivot-react'
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smallwebco/tinypivot-react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"description": "TinyPivot React -
|
|
4
|
+
"version": "1.0.59",
|
|
5
|
+
"description": "TinyPivot React - Lightweight data grid with pivot tables, charts, and optional AI Data Analyst. Under 40KB gzipped. BYOK for AI features.",
|
|
6
6
|
"author": "Small Web, LLC",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
8
|
"homepage": "https://github.com/Small-Web-Co/tinypivot",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@tanstack/react-table": "^8.20.0",
|
|
72
72
|
"apexcharts": "^4.3.0",
|
|
73
73
|
"react-apexcharts": "^1.6.0",
|
|
74
|
-
"@smallwebco/tinypivot-core": "1.0.
|
|
74
|
+
"@smallwebco/tinypivot-core": "1.0.59"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@types/react": "^18.2.0",
|