@thi.ng/file-io
Version:
Assorted file I/O utils (w/ logging support) for NodeJS/Bun
138 lines • 3.05 kB
JSON
{
"name": "@thi.ng/file-io",
"version": "2.2.8",
"description": "Assorted file I/O utils (w/ logging support) for NodeJS/Bun",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/thi-ng/umbrella.git"
},
"homepage": "https://thi.ng/file-io",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/postspectacular"
},
{
"type": "patreon",
"url": "https://patreon.com/thing_umbrella"
},
{
"type": "liberapay",
"url": "https://liberapay.com/thi.ng"
}
],
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:esbuild && yarn build:decl",
"build:decl": "tsc --declaration --emitDeclarationOnly",
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
"clean": "bun ../../tools/src/clean-package.ts",
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
"pub": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.1",
"@thi.ng/checks": "^3.7.17",
"@thi.ng/hex": "^2.3.79",
"@thi.ng/logger": "^3.1.16",
"@thi.ng/random": "^4.1.26"
},
"devDependencies": {
"@types/node": "^24.1.0",
"esbuild": "^0.25.8",
"typedoc": "^0.28.9",
"typescript": "^5.9.2"
},
"keywords": [
"async",
"delete",
"directory",
"file",
"hash",
"iterator",
"json",
"logger",
"no-browser",
"nodejs",
"stream",
"text",
"typescript",
"watch"
],
"publishConfig": {
"access": "public"
},
"browser": {
"process": false,
"setTimeout": false
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts",
"internal"
],
"exports": {
".": {
"default": "./index.js"
},
"./copy": {
"default": "./copy.js"
},
"./delete": {
"default": "./delete.js"
},
"./dir": {
"default": "./dir.js"
},
"./ext": {
"default": "./ext.js"
},
"./file-chunks": {
"default": "./file-chunks.js"
},
"./files": {
"default": "./files.js"
},
"./hash": {
"default": "./hash.js"
},
"./json": {
"default": "./json.js"
},
"./mask": {
"default": "./mask.js"
},
"./read": {
"default": "./read.js"
},
"./temp": {
"default": "./temp.js"
},
"./text": {
"default": "./text.js"
},
"./watch": {
"default": "./watch.js"
},
"./write": {
"default": "./write.js"
}
},
"thi.ng": {
"alias": "fio",
"status": "stable",
"year": 2022
},
"gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
}