file64
Version:
Convert Base64 to Blob/File and Blob/File to Base64.
75 lines (74 loc) • 1.99 kB
JSON
{
"name": "file64",
"version": "1.0.5",
"description": "Convert Base64 to Blob/File and Blob/File to Base64.",
"author": "Mark <mark@remarkablemark.org>",
"main": "./cjs/index.js",
"types": "./cjs/index.d.ts",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"clean": "rm -rf cjs coverage docs",
"docs": "typedoc",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:tsc": "tsc --noEmit",
"prepare": "husky",
"prepublishOnly": "npm run lint && npm run lint:tsc && npm run test:ci && npm run test:esm && npm run clean && npm run build",
"test": "jest",
"test:ci": "CI=true jest --ci --colors --coverage",
"test:esm": "npm run build && node --test src",
"test:watch": "jest --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/encrypit/file64.git"
},
"bugs": {
"url": "https://github.com/encrypit/file64/issues"
},
"keywords": [
"base64",
"base64-to-blob",
"base64-to-file",
"blob",
"blob-to-base64",
"decode",
"encode",
"file",
"file-to-base64"
],
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@eslint/compat": "1.3.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.30.1",
"@types/jest": "30.0.0",
"@types/node": "24.0.10",
"@typescript-eslint/eslint-plugin": "8.35.1",
"@typescript-eslint/parser": "8.35.1",
"eslint": "9.30.1",
"eslint-plugin-prettier": "5.5.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-tsdoc": "0.4.0",
"globals": "16.2.0",
"husky": "9.1.7",
"jest": "30.0.3",
"jest-environment-jsdom": "30.0.2",
"lint-staged": "16.1.2",
"prettier": "3.6.2",
"ts-jest": "29.4.0",
"ts-node": "10.9.2",
"typedoc": "0.28.7",
"typescript": "5.8.3"
},
"files": [
"cjs/",
"src/"
],
"engines": {
"node": ">=18"
},
"license": "MIT"
}