-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.24 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "safe-image-decode",
"version": "1.0.0",
"description": "Validate and decode user-supplied images in the browser: magic-byte format sniffing (never trust file.type), a megapixel budget that fails loud instead of freezing the tab, and iOS-safe preview downscaling.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "npm run build && node --test test/*.test.mjs",
"prepublishOnly": "npm test"
},
"keywords": [
"image",
"decode",
"createImageBitmap",
"magic-bytes",
"file-validation",
"mime-sniffing",
"megapixel",
"canvas",
"ios-safari",
"browser",
"upload"
],
"author": "Araluma <dev@araluma.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Araluma/safe-image-decode.git"
},
"bugs": {
"url": "https://github.com/Araluma/safe-image-decode/issues"
},
"homepage": "https://github.com/Araluma/safe-image-decode#readme",
"sideEffects": false,
"devDependencies": {
"typescript": "^5.7.0"
}
}