persistent-image-url
Version:
A lightweight Node.js library for persisting image URLs using the [imgbb.com](https://imgbb.com/) or [sm.ms](https://sm.ms/) API. This library allows you to upload images from temporary URLs and get back persistent URLs that can be used to access the imag
42 lines (41 loc) • 819 B
JSON
{
"name": "persistent-image-url",
"version": "1.1.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest --config jest.config.js",
"test-smms": "jest --config jest.config.js -t smms"
},
"keywords": [
"image",
"upload",
"imgbb",
"smms",
"sm.ms",
"persistent",
"url"
],
"author": "Chunxu Yang",
"license": "MIT",
"dependencies": {
"axios": "^1.3.4"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^18.15.5",
"dotenv": "^16.0.3",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/src/**/?(*.)+(spec|test).[jt]s?(x)"
]
}
}