UNPKG

file-entry-cache

Version:

A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run

62 lines 1.67 kB
{ "name": "file-entry-cache", "version": "11.1.2", "description": "A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "repository": { "type": "git", "url": "git+https://github.com/jaredwray/cacheable.git", "directory": "packages/file-entry-cache" }, "author": "Jared Wray <me@jaredwray.com>", "license": "MIT", "private": false, "keywords": [ "file cache", "task cache files", "file cache", "key par", "key value", "cache" ], "devDependencies": { "@biomejs/biome": "^2.3.11", "@types/node": "^25.0.8", "@vitest/coverage-v8": "^4.0.17", "pino": "^10.1.1", "rimraf": "^6.1.2", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^4.0.17" }, "dependencies": { "flat-cache": "^6.1.20" }, "files": [ "dist", "license" ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", "prepublish": "pnpm build", "lint": "biome check --write --error-on-warnings", "test": "pnpm lint && vitest run --coverage", "test:ci": "biome check --error-on-warnings && vitest run --coverage", "clean": "rimraf ./dist ./coverage ./node_modules" } }