Gathering detailed insights and metrics for jpeg-exif
Gathering detailed insights and metrics for jpeg-exif
Gathering detailed insights and metrics for jpeg-exif
Gathering detailed insights and metrics for jpeg-exif
npm install jpeg-exif
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
17 Stars
144 Commits
10 Forks
5 Watching
8 Branches
4 Contributors
Updated on 09 May 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
2.7%
67,897
Compared to previous day
Last week
3.6%
354,796
Compared to previous week
Last month
82.3%
1,342,079
Compared to previous month
Last year
7,412.2%
5,792,556
Compared to previous year
parse image file meat header, extract exif information without reading the whole file, support tiff/jiff/jpg/jpeg formats.
1import exif from "jpeg-exif"; 2 3const filePath = "~/Photo/IMG_0001.JPG"; 4 5exif.parse(filePath, (err, data) => { 6 if (err) { 7 console.log(err); 8 } else { 9 console.log(data); 10 } 11});
1import exif from "jpeg-exif"; 2 3const filePath = "~/Photo/IMG_0001.JPG"; 4const data = exif.parseSync(filePath); 5 6console.log(data);
1import fs from "fs"; 2import exif from "jpeg-exif"; 3 4const filePath = "~/Documents/DOC_0001.TIFF"; 5const buffer = fs.readFileSync(filePath); 6const data = exif.fromBuffer(buffer); 7 8console.log(data);
1$ npm i jpeg-exif
1{ 2 "Make": "Apple", 3 "Model": "Apple", 4 //... 5 "SubExif": [ 6 "DateTimeOriginal": "2015:10:06 17:19:36", 7 "CreateDate": "2015:10:06 17:19:36", 8 //... 9 ], 10 "GPSInfo":[ 11 "GPSLatitudeRef": "N", 12 "GPSLatitude": [ 35, 39, 40.08 ], 13 //... 14 ] 15}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 0/8 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More