-
Notifications
You must be signed in to change notification settings - Fork 26
/
package-fireproof-core.json
55 lines (55 loc) · 1.92 KB
/
package-fireproof-core.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "@fireproof/core",
"version": "must-set",
"description": "Live ledger for the web.",
"type": "module",
"module": "./index.js",
"main": "./index.cjs",
"browser": "./index.global.js",
"types": "./index.d.ts",
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs",
"script": "./index.global.js",
"types": "./index.d.ts"
},
"./react": {
"import": "./react/index.js",
"require": "./react/index.cjs",
"script": "./react/index.global.js",
"types": "./react/index.d.ts"
}
},
"scripts": {},
"keywords": ["ledger", "JSON", "document", "IPLD", "CID", "IPFS"],
"contributors": ["J Chris Anderson", "Alan Shaw", "Travis Vachon", "Mikeal Rogers", "Meno Abels"],
"author": "J Chris Anderson",
"license": "Apache-2.0 OR MIT",
"homepage": "https://use-fireproof.com",
"gptdoc": "import { fireproof } from 'use-fireproof; const db = fireproof('app-db-name'); const ok = await db.put({ anyField: ['any','json'] }); const doc = await db.get(ok.id); await db.del(doc._id); useEffect(()=> db.subscribe(updateReactStateAsyncFn), []); const result = await db.query('anyField', {range : ['a', 'z']}); result.rows.map(({ key }) => key);",
"repository": {
"type": "git",
"url": "git+https://github.com/fireproof-storage/fireproof.git"
},
"bugs": {
"url": "https://github.com/fireproof-storage/fireproof/issues"
},
"devDependencies": {},
"peerDependencies": {
"react": "from-package-json"
},
"dependencies": {
"@adviser/cement": "from-package-json",
"@fireproof/vendor": "from-package-json",
"multiformats": "from-package-json",
"@ipld/unixfs": "from-package-json",
"charwise": "from-package-json",
"prolly-trees": "from-package-json",
"idb": "from-package-json",
"memfs": "from-package-json",
"p-limit": "from-package-json",
"p-map": "from-package-json",
"p-retry": "from-package-json"
}
}