fix binary file

This commit is contained in:
fxy060608
2018-11-18 18:43:39 +08:00
parent 30772c715c
commit 3218e32a7b
6 changed files with 190 additions and 6 deletions
+36
View File
@@ -0,0 +1,36 @@
{
"name": "isbinaryfile",
"description": "Detects if a file is binary in Node.js. Similar to Perl's -B.",
"version": "3.0.3",
"dependencies": {
"buffer-alloc": "^1.2.0"
},
"devDependencies": {
"mocha": "^2.2.4",
"grunt": "~0.4.1",
"grunt-release": "~0.6.0",
"grunt-exec": "0.4.3",
"grunt-cli": "~0.1.13"
},
"engines": {
"node": ">=0.6.0"
},
"files": [
"index.js"
],
"license": "MIT",
"main": "./index.js",
"maintainers": [
{
"name": "Garen J. Torikian",
"email": "gjtorikian@gmail.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/gjtorikian/isBinaryFile"
},
"scripts": {
"test": "mocha"
}
}