Socket
Socket
Sign inDemoInstall

piexifjs

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piexifjs - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"name": "piexifjs",
"version": "0.1.6",
"version": "0.1.7",
"description": "Read and write exif.",

@@ -5,0 +5,0 @@ "main": "piexif.js",

@@ -5,7 +5,7 @@ # Piexifjs

Read and modify exif. Library to modify exif in JS(both client-side and Node.js).
http://piexifjs.readthedocs.org/en/latest/index.html
[http://piexifjs.readthedocs.org/en/latest/index.html]
## How to Use
- *var exifObj = load(jpegData)* - Get exif data as *object*. *jpegData* must be a *string* that starts with "\data:image/jpeg;base64,"(DataURL), "\\xff\\xd8", or "Exif".
- *var exifObj = load(jpegData)* - Get exif data as *object*. *jpegData* must be a *string* that starts with "data:image/jpeg;base64,"(DataURL), "\\xff\\xd8", or "Exif".
- *var exifStr = dump(exifObj)* - Get exif as *string* to insert into JPEG.

@@ -17,3 +17,3 @@ - *insert(exifStr, jpegData)* - Insert exif into JPEG. If *jpegData* is DataURL, returns JPEG as DataURL. Else if *jpegData* is binary as *string*, returns JPEG as binary as *string*.

var piexif = require("piexif.js");
var piexif = require("piexifjs");
var fs = require("fs");

@@ -20,0 +20,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc