detect-file-type
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "detect-file-type", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Detect file type by signature", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ # detect-file-type [![Build Status](https://travis-ci.org/dimapaloskin/detect-file-type.svg?branch=master)](https://travis-ci.org/dimapaloskin/detect-file-type) | ||
``` | ||
npm i detect-file-type | ||
npm i --save detect-file-type | ||
``` | ||
@@ -35,3 +35,3 @@ | ||
- `filePath` - path to file | ||
- `bufferLength` - (optional) Buffer size (in bytes) starting from the start of file. By default 500. If size of file less than 500Kb then param the same as size of the file | ||
- `bufferLength` - (optional) Buffer size (in bytes) starting from the start of file. By default 500. If size of file less than 500 bytes then param the same as size of the file | ||
- `callback` | ||
@@ -38,0 +38,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
11596048