UNPKG

nope.db

Version:

A modern, simple, and async JSON database for Node.js with zero dependencies and a data-safe queue.

51 lines (50 loc) 1.26 kB
{ "name": "nope.db", "author": "nopeion", "version": "1.0.1", "license": "MIT", "description": "A modern, simple, and async JSON database for Node.js with zero dependencies and a data-safe queue.", "type": "module", "main": "./dist/cjs/app.js", "module": "./dist/mjs/app.js", "types": "./dist/mjs/app.d.ts", "exports": { ".": { "import": "./dist/mjs/app.js", "require": "./dist/cjs/app.js", "types": "./dist/mjs/app.d.ts" } }, "files": [ "dist" ], "scripts": { "build": "npm run build:mjs && npm run build:cjs", "build:mjs": "tsc -p tsconfig.json", "build:cjs": "tsc -p tsconfig.cjs.json && echo {\"type\":\"commonjs\"} > dist/cjs/package.json", "test": "npm run test:all", "test:cjs": "npm run test:all", "test:mjs": "npm run test:all", "test:all": "npm run build && node --loader ts-node/esm --test test/test.ts" }, "devDependencies": { "@types/node": "^20.0.0", "ts-node": "^10.9.2", "typescript": "^5.0.0" }, "repository": { "type": "git", "url": "https://github.com/nopeion/nope.db" }, "keywords": [ "fs", "file system", "json", "json-database", "db", "database", "async", "quick.db", "enmap" ] }