node-base64-image
Version:
Download images from remote URLs and encode/decode them to base64
76 lines (75 loc) • 1.79 kB
JSON
{
"name": "node-base64-image",
"version": "2.2.0",
"description": "Download images from remote URLs and encode/decode them to base64",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"engines": {
"node": ">=18"
},
"scripts": {
"version": "auto-changelog -p && git add CHANGELOG.md",
"test": "jest --coverage",
"lint": "eslint .",
"build": "tsup src/index.ts --format cjs,esm --dts --clean"
},
"repository": {
"type": "git",
"url": "https://github.com/riyadhalnur/node-base64-image.git"
},
"keywords": [
"image",
"download",
"base64",
"encode",
"decode",
"javascript",
"node",
"nodejs",
"js",
"buffer"
],
"author": "Riyadh Al Nur <riyadhalnur@verticalaxisbd.com> (https://verticalaxisbd.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/riyadhalnur/node-base64-image/issues"
},
"homepage": "https://riyadhalnur.github.io/node-base64-image/",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.14.1",
"@typescript-eslint/eslint-plugin": "^8.31.0",
"@typescript-eslint/parser": "^8.31.0",
"auto-changelog": "^2.5.0",
"eslint": "^9.25.1",
"jest": "^29.7.0",
"ts-jest": "^29.3.2",
"tsup": "^8.4.0",
"typescript": "^5.8.3"
},
"dependencies": {
"axios": "^1.8.4"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"js"
],
"testRegex": "^.+\\.spec\\.ts$"
}
}