UNPKG

1.6 kBJSONView Raw
1{
2 "name": "isbinaryfile",
3 "description": "Detects if a file is binary in Node.js. Similar to Perl's -B.",
4 "version": "5.0.4",
5 "keywords": [
6 "text",
7 "binary",
8 "encoding",
9 "istext",
10 "is text",
11 "isbinary",
12 "is binary",
13 "is text or binary",
14 "is text or binary file",
15 "isbinaryfile",
16 "is binary file",
17 "istextfile",
18 "is text file"
19 ],
20 "devDependencies": {
21 "@types/jest": "^23.3.14",
22 "@types/node": "^10.17.60",
23 "jest": "^29.7.0",
24 "prettier": "^1.19.1",
25 "release-it": "^17.0.4",
26 "ts-jest": "^29.1.4",
27 "tslint": "^5.20.1",
28 "tslint-config-prettier": "^1.18.0",
29 "typescript": "^4.9.4"
30 },
31 "engines": {
32 "node": ">= 18.0.0"
33 },
34 "files": [
35 "lib/**/*"
36 ],
37 "license": "MIT",
38 "main": "lib/index.js",
39 "types": "lib/index.d.ts",
40 "maintainers": [
41 {
42 "name": "Garen J. Torikian",
43 "email": "gjtorikian@gmail.com"
44 }
45 ],
46 "funding": "https://github.com/sponsors/gjtorikian/",
47 "repository": {
48 "type": "git",
49 "url": "https://github.com/gjtorikian/isBinaryFile"
50 },
51 "scripts": {
52 "build": "tsc",
53 "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\" && tslint --fix -c tslint.json 'src/**/*.ts'",
54 "lint": "tslint -p tsconfig.json",
55 "prepare": "npm run build",
56 "release": "release-it",
57 "prepublishOnly": "npm test && npm run lint",
58 "preversion": "npm run lint",
59 "version": "npm run format && git add -A src",
60 "postversion": "git push && git push --tags",
61 "test": "jest --config jestconfig.json",
62 "watch": "tsc -w"
63 }
64}