Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "is-exe", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Check if a Buffer/Uint8Array is a EXE file", | ||
@@ -16,4 +16,3 @@ "license": "MIT", | ||
"scripts": { | ||
"browser": "browserify -s $npm_package_name -o browser.js .", | ||
"test": "mocha --reporter list" | ||
"test": "node test/test.js" | ||
}, | ||
@@ -24,3 +23,2 @@ "files": [ | ||
"keywords": [ | ||
"archive", | ||
"buffer", | ||
@@ -34,6 +32,5 @@ "check", | ||
"devDependencies": { | ||
"browserify": "^3.44.2", | ||
"mocha": "^1.18.2", | ||
"read-chunk": "^0.1.0" | ||
"ava": "0.0.4", | ||
"read-chunk": "^1.0.0" | ||
} | ||
} |
@@ -7,22 +7,13 @@ # is-exe [![Build Status](https://travis-ci.org/kevva/is-exe.svg?branch=master)](https://travis-ci.org/kevva/is-exe) | ||
```bash | ||
```sh | ||
$ npm install --save is-exe | ||
``` | ||
```bash | ||
$ component install kevva/is-exe | ||
``` | ||
```bash | ||
$ bower install --save is-exe | ||
``` | ||
## Usage | ||
```js | ||
var fs = require('fs'); | ||
var isExe = require('is-exe'); | ||
var buf = fs.readFileSync('foo.exe'); | ||
var read = require('fs').readFileSync; | ||
isExe(buf); | ||
isExe(read(foo.exe)); | ||
// => true | ||
@@ -29,0 +20,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
1
1308
24