UNPKG

local-file-upload

Version:

local file uploading using ts. it will save the file or image into the local storage. build for nodejs and hono application.

62 lines (61 loc) 1.49 kB
{ "name": "local-file-upload", "version": "1.1.0", "description": "local file uploading using ts. it will save the file or image into the local storage. build for nodejs and hono application.", "keywords": [ "local-file-upload", "file-uploading", "file", "upload" ], "homepage": "https://github.com/rashikbuksh/local-file-upload-ts#readme", "bugs": { "url": "https://github.com/rashikbuksh/local-file-upload-ts/issues" }, "repository": { "type": "git", "url": "git+https://github.com/rashikbuksh/local-file-upload-ts.git" }, "license": "ISC", "author": "rashikbuksh <rashikbuksh@gmail.com>", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "scripts": { "dev": "tsx watch --watch-preserve-output --clear-screen=false src/index.ts", "start": "node ./dist/src/index.js", "typecheck": "tsc --noEmit", "lint": "eslint .", "lint:fix": "eslint . --fix", "test": "cross-env NODE_ENV=test vitest", "build": "tsc && tsc-alias" }, "dependencies": { "nanoid": "^5.1.5" }, "devDependencies": { "@types/node": "^24.2.1", "eslint": "^9.33.0", "eslint-plugin-format": "^1.0.1", "lint-staged": "^16.0.0", "tsc-alias": "^1.8.16", "tsx": "^4.20.4", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "lint-staged": { "*.{js,jsx,ts,tsx,json,css,scss,md}": [ "eslint . --fix" ] } }