@fireproof/core
Version:
Live ledger for the web.
46 lines • 1.29 kB
JSON
{
"name": "@fireproof/core",
"version": "0.24.0",
"description": "Live ledger for the web.",
"type": "module",
"main": "./index.js",
"keywords": [
"ledger",
"JSON",
"document",
"IPLD",
"CID",
"IPFS"
],
"contributors": [
"J Chris Anderson",
"Alan Shaw",
"Travis Vachon",
"Mikeal Rogers",
"Meno Abels"
],
"author": "J Chris Anderson",
"license": "AFL-2.0",
"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); db.subscribe(myRedrawFn); 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"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"dependencies": {
"@adviser/cement": "0.5.2",
"@fireproof/core-base": "0.24.0",
"@fireproof/core-types-base": "0.24.0",
"@fireproof/vendor": "0.24.0",
"@types/node": "24.5.2"
},
"scripts": {
"build": "core-cli tsc"
}
}