Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@eris/exif
Advanced tools
Parses and writes EXIF data from JPEG and NEF files.
yarn add @eris/exif
const fs = require('fs')
const parse = require('@eris/exif')
const metadata = parse(fs.readFileSync('./myfile.jpg'))
console.log(metadata)
/*
{
make: 'NIKON CORPORATION',
width: 1498,
createdAt: new Date('2017-03-16T02:25:25.000Z'),
...,
_raw: {
Make: 'NIKON CORPORATION',
ImageWidth: 1498,
DateTimeOriginal: '2017:03:16 02:25:25',
...
}
}
*/
const fs = require('fs')
const RAWDecoder = require('@eris/exif').Decoder
const myFile = fs.readFileSync('./DSC_0001.nef')
const myFileDecoder = new RAWDecoder(myFile)
const myFileAsJpeg = myFileDecoder.extractJPEG()
const metadata = myFileDecoder.extractMetadata()
fs.writeFileSync('./DSC_0001.jpg', myFileAsJpeg)
console.log(metadata)
// {Make: 'NIKON CORPORATION', Model: 'NIKON D4S', ISO: 160, ...}
FAQs
Parses EXIF data.
The npm package @eris/exif receives a total of 6 weekly downloads. As such, @eris/exif popularity was classified as not popular.
We found that @eris/exif demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.