New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

exify

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exify

Convert generic image filenames to filenames with EXIF creation dates

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
9
-10%
Maintainers
1
Weekly downloads
 
Created
Source

exify

Convert generic image filenames to filenames with EXIF creation dates.

build status dependency status dev dependency status

Example

var exify = require('exify')('%Y/%m/%d_%H-%M-%S');

exify('test/img/hasselblad.jpg', function (err, exified) {
  if (err) return console.error(err);
  console.log(exified);
});

Mehods

var exify = require('exify');

var e = exify(pattern)

Return a function which generates filenames based on EXIF tags of source images and the provided strftime(3) compatible pattern.

e(file, cb (err, exified) {})

Generate a new filename based on the given file and previously provided pattern.

Installation

Install the exiv2 library and headers with your platform's native package manager:

apt-get install libexiv2 libexiv2-dev
brew install pkg-config exiv2
pacman -S exiv2

Install the NPM module:

npm install exify

License

MIT

Keywords

exif

FAQs

Package last updated on 10 Oct 2013

Did you know?

Socket

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.

Install

Related posts