@eris/exif
Advanced tools
Comparing version 0.1.1-alpha.1 to 0.1.1-alpha.2
@@ -5,5 +5,6 @@ import { JPEGDecoder } from './decoder/jpeg-decoder'; | ||
import { normalizeMetadata } from './metadata/normalize'; | ||
import { IDecoder, IBufferLike } from './utils/types'; | ||
import { IDecoder, IBufferLike, INormalizedMetadata } from './utils/types'; | ||
export declare function createDecoder(bufferOrDecoder: IBufferLike | IDecoder): IDecoder; | ||
export declare function parse(bufferOrDecoder: IBufferLike | IDecoder): any; | ||
export declare function parse(bufferOrDecoder: IBufferLike | IDecoder): INormalizedMetadata; | ||
export { normalizeMetadata, TIFFDecoder, JPEGDecoder, TIFFEncoder }; | ||
export { IGenericMetadata, INormalizedMetadata, IParsedLens, IFDTagName } from './utils/types'; |
@@ -5,3 +5,3 @@ import {JPEGDecoder} from './decoder/jpeg-decoder' | ||
import {normalizeMetadata} from './metadata/normalize' | ||
import {IDecoder, IBufferLike} from './utils/types' | ||
import {IDecoder, IBufferLike, INormalizedMetadata} from './utils/types' | ||
@@ -28,3 +28,3 @@ function isTIFFDecoder(obj: any): obj is IDecoder { | ||
export function parse(bufferOrDecoder: IBufferLike | IDecoder): any { | ||
export function parse(bufferOrDecoder: IBufferLike | IDecoder): INormalizedMetadata { | ||
return normalizeMetadata(createDecoder(bufferOrDecoder).extractMetadata()) | ||
@@ -34,1 +34,3 @@ } | ||
export {normalizeMetadata, TIFFDecoder, JPEGDecoder, TIFFEncoder} | ||
export {IGenericMetadata, INormalizedMetadata, IParsedLens, IFDTagName} from './utils/types' |
{ | ||
"name": "@eris/exif", | ||
"version": "0.1.1-alpha.1", | ||
"version": "0.1.1-alpha.2", | ||
"description": "Parses EXIF data.", | ||
@@ -49,3 +49,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "75848846ae0c982639ebe5670595cf36b43d9ce8" | ||
"gitHead": "3df1953422fd6152121a1846a1954735f78c3102" | ||
} |
166362
3185