{
  "_id": "get-orientation",
  "maintainers": [
    {
      "name": "mooyoul",
      "email": "mooyoul@gmail.com"
    }
  ],
  "keywords": [
    "image",
    "exif",
    "jpeg",
    "jpg",
    "tiff",
    "image-orientation",
    "orientation"
  ],
  "dist-tags": {
    "latest": "1.1.2"
  },
  "author": {
    "name": "MooYeol Prescott Lee",
    "email": "mooyoul@gmail.com"
  },
  "_rev": "6-fe8a501b9563eb5f956657e281bb31f2",
  "description": "Get orientation from image file",
  "readme": "# get-orientation\n\n[![Build Status](https://travis-ci.com/mooyoul/get-orientation.svg?branch=master)](https://travis-ci.com/mooyoul/get-orientation)\n[![Semantic Release enabled](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/get-orientation.svg)\n[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)\n[![MIT license](http://img.shields.io/badge/license-MIT-blue.svg)](http://mooyoul.mit-license.org/)\n\nGet orientation from EXIF of image file. Supports both Browser and Server (Node.js) environment.\n\n`get-orientation` has fast, efficient built-in EXIF parser. \nBuilt-in EXIF Parser is stream-based, and uses small memory footprint.\n\nAlso, Compatibility is the key. `get-orientation` was tested with 50+ test images.\n\n## Sponsor\n\n- [Vingle](https://www.vingle.net) - Vingle, Very Community. Love the things that you love. - [We're hiring!](https://careers.vingle.net/#/engineering/backend)\n\n## Demo\n\nhttps://mooyoul.github.io/get-orientation/\n\n## Why?\n\n![adaption stats of CSS3 Image Orientation](/docs/why-2.png)\n\nMost Browsers don't rotate images automatically.\n\nHmm... How about adaption stats of CSS3 Image Orientation?\n\n![missing auto rotation](/docs/why-1.png)\n\nWell. Good luck. \n\nTo rotate image by its orientation, you'll have to make a EXIF parser or install heavy EXIF related libraries.\n\nThat's why i made this.           \n\n## Compatibility\n\nget-orientation works in major environments, including IE 10.\n\n#### Tested Platforms (Node.js) \n\nPlatform | Environment | Build | Compatibility \n-------- | ----------- | ----- | -------------\nmacOS Mojave | Node.js 4 | Default | Compatible\nmacOS Mojave | Node.js 6 | Default | Compatible\nLinux Ubuntu Trusty | Node.js 6 | Default | Compatible\nmacOS Mojave | Node.js 8 | Default | Compatible\nLinux Ubuntu Trusty | Node.js 10 | Default | Compatible\nmacOS Mojave | Node.js 10 | Default | Compatible\n\n#### Tested Platforms (Browser)\n\nPlatform | Environment | Build | Compatibility\n-------- | ----------- | ----- | -------------\nWindows XP/7 | ~ IE 9 | N/A | Incompatible due to missing FileReader/DataView support   \nWindows 7 | IE 10 | Browser/ES5 | Compatible, Requires Promise and WeakMap polyfill\nWindows 7| IE 11 | Browser/ES5 | Compatible, Requires Promise polyfill\nWindows 10 | IE 11 | Browser/ES5 | Compatible, Requires Promise polyfill\nmacOS Mojave | Chrome 74 | Browser/ES6 (Default) | Compatible\nmacOS Mojave | Safari | Browser/ES6 (Default) | Compatible\nmacOS Mojave | Safari TP | Browser/ES6 (Default) | Compatible\nmacOS Mojave | Firefox Developer Edition 67 | Browser/ES6 (Default) | Compatible\nmacOS Mojave | Firefox 65 | Browser/ES6 (Default) | Compatible\niOS 12.0.1 | Safari | Browser/ES6 (Default) | Compatible\nAndroid 5 | Mobile Chrome 74 | Browser/ES6 (Default) | Compatible\n\n\n## Install\n\n#### from NPM\n\n```bash\n$ npm install get-orientation\n```\n\n#### from unpkg\n\n```html\n<!-- ES6 Target Build (default) -->\n<script type=\"text/javascript\" src=\"https://unpkg.com/get-orientation/browser\"></script>\n\n<!-- ES5 Target Build (for Compat, requires Promise, WeakMap polyfill -->\n<script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/core-js/2.6.5/core.min.js\"></script>\n<script type=\"text/javascript\" src=\"https://unpkg.com/get-orientation/browser.es5\"></script>\n```\n\n\n## Supported Image Format\n\n- JPEG/JFIF\n- JPEG/EXIF\n- TIFF/EXIF\n    \n \n## Usage\n\n#### Node.js\n\n```typescript\n\nimport * as fs from \"fs\";\nimport { getOrientation } from \"get-orientation\";\n\n// using Readable File Stream as input\nconst stream = fs.createReadStream(imageFilePath);\nconst orientation = await getOrientation(stream);\n\n// using Buffer as input\nconst bufFile = fs.readFileSync(imageFilePath);\nconst orientation = await getOrientation(bufFile);\n\n// using HTTP Response body as input\nimport axios from \"axios\";\nconst response = await axios({ url, responseType: \"stream\" });\nconst orientation = await getOrientation(response.data);\n\n\n// using Stream interface directly\nimport { EXIFOrientationParser, Orientation } from \"get-orientation\";\n\nconst parser = new EXIFOrientationParser();\nparser.on(\"orientation\", (orientation: Orientation) => {\n  console.log(\"got orientation: \", orientation);\n});\n\nfs.createReadStream(imageFilePath).pipe(parser);\n```\n\n#### Browser\n\n```javascript\nimport { getOrientation } from \"get-orientation/browser\";\n\nasync function onFileChanged() {\n  const orientation = await getOrientation(fileInput.files[0]);\n  // do stuff...\n}\n```\n\n> *IMPORTANT NOTE*\n>\n> The ES5 target browser build does not include any Polyfills like Promise/A+.\n> For example, To use this library from Microsoft Internet Explorer 11, You'll have to polyfill Promise.\n\n \n## API (Node.js)\n\n### `getOrientation(input: Buffer | ReadableStream)` => `Promise<Orientation>`\n\nreturns Orientation of given image.\n\nIf image is non-jpeg image, or non-image, `getOrientation` will return Orientation.TOP_LEFT (Horizontal - Default value).  \n\n### `new EXIFOrientationParser()` => `WritableStream`\n\nreturns a parser stream instance that implements WritableStream interface.\n\nPlease note that EXIFOrientationParser won't emit any `orientation` event if stream doesn't have any Orientation tags.\nalso, Stream will be closed without any errors.\n\nFor example, Using non-EXIF images, non-JPEG images as input won't emit a `orientation` event.     \n\n#### Stream Events\n\n##### `orientation`\n\nemitted after parsing orientation.\n\n\n## API (Browser)\n\n### `getOrientation(input: ArrayBuffer | Blob | File)` => `Promise<Orientation>` \n\nreturns Orientation of given image.\n\nIf image is non-jpeg image, or non-image, `getOrientation` will return Orientation.TOP_LEFT (Horizontal - Default value).\n\n## Types\n\n### Orientation\n\n```typescript\nenum Orientation {\n  TOP_LEFT = 1,         // Horizontal (Default)\n  TOP_RIGHT = 2,        // Mirror Horizontal\n  BOTTOM_RIGHT  = 3,    // Rotate 180\n  BOTTOM_LEFT = 4,      // Mirror vertical\n  LEFT_TOP = 5,         // Mirror horizontal and rotate 270 CW\n  RIGHT_TOP = 6,        // Rotate 90 CW\n  RIGHT_BOTTOM = 7,     // Mirror horizontal and rotate 90 CW\n  LEFT_BOTTOM = 8,      // Rotate 270 CW\n}\n```\n\n\n## Changelog\n\nSee [CHANGELOG](/CHANGELOG.md).\n\n\n## Testing\n\n```bash\n$ npm run test\n```\n\n\n## Build\n\n```bash\n$ npm run build\n```\n\n## Related\n\n- [mooyoul/node-webpinfo](https://github.com/mooyoul/node-webpinfo) - Strongly typed, Stream based WebP Container Parser\n\n## License\n[MIT](LICENSE)\n\nSee full license on [mooyoul.mit-license.org](http://mooyoul.mit-license.org/)\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mooyoul/get-orientation.git"
  },
  "bugs": {
    "url": "https://github.com/mooyoul/get-orientation/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "name": "get-orientation",
      "version": "0.1.0",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "^4.1.7",
        "@types/debug": "^4.1.2",
        "@types/mocha": "^5.2.6",
        "@types/node": "^8.10.43",
        "browserstack-local": "^1.3.7",
        "chai": "^4.2.0",
        "intern": "^4.4.2",
        "mocha": "^6.0.2",
        "rollup": "^1.6.0",
        "rollup-plugin-typescript2": "^0.19.3",
        "ts-node": "^8.0.3",
        "tslint": "^5.13.1",
        "typescript": "^3.3.3333"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json index.ts"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "gitHead": "6d621c41127884ebca0dc5e61d07b75fade55bdb",
      "_id": "get-orientation@0.1.0",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "10.15.3",
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "dist": {
        "integrity": "sha512-wPUyJt8Bc6zYjiEBwET+S5TPZzeXXMvQK4L/WTjlKBqmGxI0w5o5URebxDrV1Jl7LLxyw65NuueWZOlTXPg4nw==",
        "shasum": "e47c52af8faf3e4b603e2cef44fca745b49e10cc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-0.1.0.tgz",
        "fileCount": 18,
        "unpackedSize": 45482,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchLp1CRA9TVsSAnZWagAAA4gP/AtLyu61Fjz7Lh3vUn60\n9wFZD9ZDXTaY9fzkt2jpozQr69F6Vp6SN8o6h0bGwJvSsT7fVSUmhrBqcgsk\nrUrG3xp7kt4y2rbWjPwAZfYXQ9W2jGT7SrhN+GZPOHM/9ywSh18zA1oDizUX\nAPLmsjnZQZOH9mdP0mZJRxZmtEa5b2tP7sOldwYiy47AhhZ/2X4XH+rqRdHA\nm6ZtQgoPm0qDtFzZF2/7blH1MLpE9/U3PSLtcnUct7XAqDjaHrRx8FxYpp5P\nWyR+3u57Sclf1nwAp1V6FMYwcXfOoTegYSZbrAuQz0SXNxzzzxirUnAlZQIn\nS9cFvS3nr+nSPtuI90nOdZxnB9fJkB2lif/o7FC9H2DJZHVL5sMVSmxghDIo\nUHjs0+OnM7Ew5/8CS7SG927I1faXBb4UTbdR/tHcTew3effXN2XcFjOLD2h2\nVhEa4fnqPvIyRMaRAP0gJyxzkoDK/VsjM4OMcjov0ibOExCm8tLR/myCx3X8\nmW738QgNvlplMqEyM7BMF9GfbZhU2mH+bl/00kMdc/xjDB7m0ZeSgTAINmPb\n1E4zJhnssNkqZldycvLwgwLkdTl+rvTOK0ZYlXhpElRbhOlLM617b77uvTUx\nH+/YhFelERS9wVrlkAD2wMhOTGOwUf1jr/FU6qj5CkTUktbtul6rx4U0WMFm\nymzC\r\n=BZJq\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDj+JHT6/sV9BLLKVCmbCpcQE40IITT/c/T5XHdjw35+QIhAK1PuWNdbGrQN7gfTsoo/XC0jtMzlLLgVgS3J36mygg7"
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_0.1.0_1552202356192_0.9930166768063042"
      },
      "_hasShrinkwrap": false
    },
    "1.0.0": {
      "name": "get-orientation",
      "version": "1.0.0",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "^4.1.7",
        "@types/debug": "^4.1.2",
        "@types/mocha": "^5.2.6",
        "@types/node": "^8.10.43",
        "browserstack-local": "^1.3.7",
        "chai": "^4.2.0",
        "intern": "^4.4.2",
        "mocha": "^6.0.2",
        "rollup": "^1.6.0",
        "rollup-plugin-typescript2": "^0.19.3",
        "ts-node": "^8.0.3",
        "tslint": "^5.13.1",
        "typescript": "^3.3.3333"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json index.ts"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "gitHead": "e6ab895665b2e2027643b6cc424c328761375f17",
      "_id": "get-orientation@1.0.0",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "8.15.1",
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "dist": {
        "integrity": "sha512-LbxxFfDFztZ8HvqJF8cpJMfCB+hbJc7yZOOcP3C2kQ8N5lzGXnwqbTyc7y1hqJ1IjpFT40ekpRPVVizg/cpUOg==",
        "shasum": "ae7b66f57849aaed18e8f0f0ab260601fca41eb5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-1.0.0.tgz",
        "fileCount": 18,
        "unpackedSize": 46078,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchNLaCRA9TVsSAnZWagAAfK8P/01wBznioIjgBdGk9NbY\ninKPi+aLY500r7c68UsdYk6i/cgT0HzFyf/x8A0tnouRI8oMcVfo2CizOdaL\nkC55QJDRJ+o9jHPgMZgsI+XwKPCBm0wl6qLFpJLJHxg32BiwqUP6qYgNqFKO\nZLyNnJO1NOnZv2r35Rvokzb1zMVTb6zy3mAB4+dhTd0+RCNcatlJbizejgEn\nBN64actj0t8hbA54t3lNMNJ3mKSs/BHl8YTMPBHMeZVZMP7CYgN3ftgecu+V\nV8hCMFvLJ0RfO7VztHJYq84nJaoaT5wGxEaxZSmLgTPxr5Ps+Ood2cX1JZw+\nJxytlTa+i2uS5b9HaJDJnP1AmNJn8q6Qb8dNpD86a2gX7g/APsxrigm+avo+\ntabBtDokbno0F/iLLV3DcRPvAGjwdjxFQS24flCKAYEQ5rxAcdUrzSlPnDlV\nd8QEnuYy/uWGEip3ViBfD/vCQfeOsB9B4Oa7dLy2IlZv4iknPdKVCYFn/D7i\nAiR/MeHqP2OSukA3ely7NZfGbb+Hxh9ChpYiORHWvnsKKOyMdlTKSVOLV2ff\nMQVzBRn3FI+I574z+10aYiO5+K6xP9zi4YcLpzO72nx3NXiRnIQ0nQow8gPp\nooby3fux7aF6m4mCg4/sb0FTg07NDOgX8xobhqbwb6S5s5LheogJkrho+0Jr\n54fJ\r\n=g8sZ\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDvRnFlVB/TA6ydA0Oejwz+iwB77TeGdQbECp1yoIEqfAIhANp/fSiSNnBbBvQAaWkQj86q9t30SFUufKOJUeM4O+ve"
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_1.0.0_1552208601407_0.17216839972914166"
      },
      "_hasShrinkwrap": false
    },
    "1.0.1": {
      "name": "get-orientation",
      "version": "1.0.1",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "^4.1.7",
        "@types/debug": "^4.1.2",
        "@types/mocha": "^5.2.6",
        "@types/node": "^8.10.43",
        "browserstack-local": "^1.3.7",
        "chai": "^4.2.0",
        "intern": "^4.4.2",
        "mocha": "^6.0.2",
        "rollup": "^1.6.0",
        "rollup-plugin-typescript2": "^0.19.3",
        "ts-node": "^8.0.3",
        "tslint": "^5.13.1",
        "typescript": "^3.3.3333"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json index.ts"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "gitHead": "be2f163b42087916cd96aa1b110eba418b2c6898",
      "_id": "get-orientation@1.0.1",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "10.15.3",
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "dist": {
        "integrity": "sha512-xfrimUpp62U8cLSytgJ2zaeGIuFwJMRQViRPJQsKnWrU6bWMs06pIvtKYEK7I0SLM1zpKjoxbGCGzBnKQI6y6A==",
        "shasum": "5383ce508cce31e323ce205e0a1309b4dc0f40ef",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-1.0.1.tgz",
        "fileCount": 18,
        "unpackedSize": 47094,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch2ZLCRA9TVsSAnZWagAAoJ0P/AwSQUEXJbxIGjekH87t\nwuwbL+rwzAQkQkj7PkLYyXIUOYT9yrhSFs+Dwq8ysGKmjGTFzdvVK1QKkkMf\nU9UnMcnsnDbyAP/s1Hs3rnxusr0gDArt2pfYFfDw6KLnfw4B++QlvnxiYw0j\n3WPLXXEPZqKwAA0MDGgVWh7rmSTYzrK+GtAveGiBMNYo6auYOzhe/1DkyDx/\n6xJ5YzBM+ps5cGFPWhTGUzeiBYscdpzNLd+ESsWJR/AWE5oFpR1lSdJU9D61\nC3OiMQKHYO2UxR0WquHIV9bbbkoTkBcQYN7JfgMO5IpAOOOfLJ80Ui0VZQix\n7E0okrFS6yQu9crfiqz6jCPOfSMWePt9J1JlGHebHwFpbEiQKP+EGSPcxgd8\nN8Vvujy5TZqBDr6vYl1BVEx4EGqjcfClHM7xSohOmnZ8KCMwmu0vU4WU2RrK\nP8VY2QnhQAfIDQAEn5HpfPDmi7hgdyZiYn+dhw8mAu4la2PODv0O00PWGFNn\nDUq1VZsSRIAQbGmjFa0GDPR98VMHE94eSg9GEMIUbgJdZR5puLvppUl71AIX\nYBxoX8TSfYZ33G8k0u5awKW+HnEFVR8Zjc4hF4LbKk4hxmuO4p6o3d/Bd4uq\n/wI3TK6fC9QY3N6+EKkLR/2tifMhtJ35pEjntodbVzK0KFw9RvwDfGm5et85\nMqeW\r\n=d9oR\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDDic7H1YhatjZ3i8nwQqMOUimsj8I3Yy8IHCMhgijBUAIhAOFWs5sKvGmPQWbtsvmwdrVMWaC9HM3raiCumbTorL3B"
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_1.0.1_1552377418672_0.7180219611275105"
      },
      "_hasShrinkwrap": false
    },
    "1.1.0": {
      "name": "get-orientation",
      "version": "1.1.0",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "^4.1.7",
        "@types/debug": "^4.1.2",
        "@types/mocha": "^5.2.6",
        "@types/node": "^8.10.43",
        "@types/selenium-webdriver": "^3.0.15",
        "browserstack-local": "^1.3.7",
        "chai": "^4.2.0",
        "intern": "^4.4.2",
        "mocha": "^6.0.2",
        "rollup": "^1.6.0",
        "rollup-plugin-typescript2": "^0.19.3",
        "selenium-webdriver": "^4.0.0-alpha.1",
        "ts-node": "^8.0.3",
        "tslint": "^5.13.1",
        "typescript": "^3.3.3333"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js && rollup -c rollup.config.es5.js && cp browser.d.ts browser.es5.d.ts",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "test:browserstack": "mocha -t 3600000 -r ts-node/register test.e2e.browserstack.ts",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json index.ts"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "gitHead": "73b5861d2f31b7fe303f5152fe66eadc7b3962e4",
      "_id": "get-orientation@1.1.0",
      "_npmVersion": "6.4.1",
      "_nodeVersion": "8.15.1",
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "dist": {
        "integrity": "sha512-AOs9Ofeuj2Hz43bHHj84jcGMamwVVL0oCY4J4S9KHv0xEH+X5cPvqRru8/791JtmPPj1J5pOBwk4nmlPX0/xdA==",
        "shasum": "434683d9d76bb2b950355cdcbfddae421b25a7ab",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-1.1.0.tgz",
        "fileCount": 18,
        "unpackedSize": 65161,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcisyvCRA9TVsSAnZWagAABZgP/2YXj/tL7dtSp6v/0Ga6\ntL0K/DFPdA18lFWlY2OeMmYxMKvUl1AprjannqqlcwsfQEaMo2aDCS45oHn8\nKaU67MPn8ZCymWQarwkJ2zL/DgG4dHHMDaOI1bwygR9dG6Ek4cp8zz451cG/\nhy5zqIVnrnG4Q7PeZ/qOWvYWKUomm1nDPOmBdRazF3CPhcsXrdAxiuhdc3z3\nirRxI4h8RqyfBIyDL8b3PPfZ6s54TvlFOBnLtF+u+T3f3UGYVU15Ouh3mvhz\nW5es64V8wNZpS5yKz+s0DYKt9A+qWicwaICbDEWIijH8i3G3IJ2nIsm0cAFA\npRVB9C7Bp3iwaFqpHAY0djr5GZr5gShdLUS2CDztzG6uhwM64JXpZAE9k9Ow\nPimhwaDQiqfRf3q5/twfY+81zxdEHunFIl/ONdkAuqk0I9R+haNqATlDgn4/\nZSi4L0s3vTtoq3L6b0GJ8CMy2xHqgBDjZB0QyI2poa27i2nC2HctwjL2DROI\nUV6C+THSC62FgpSTIVpOC2YWlt+o1KiorNqd8ME3Ya0xickNbcGsUU6TrIoR\nV4TTpcjkOZo+h8WBINGQBIwtR0qMXajkTQ+9//eCRFS4Mk85mDx9muzS0lC/\nzzRKYMZ6EQucs7xYrPKGdOk2XB+1qsj0QV0zSafLU8way5m8AgSQ+rQwJgvB\n/9Mt\r\n=jvJT\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQCkalghNWFHJK4z6yBeJu2B8Ac2lPmpkofQm2Z9Vc7C/QIhANtI5TBDVQISI8k+YL2oS8EhFCzndvFmqjsUhq1Ls/z8"
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_1.1.0_1552600239116_0.020637269651135437"
      },
      "_hasShrinkwrap": false
    },
    "1.1.1": {
      "name": "get-orientation",
      "version": "1.1.1",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "4.2.3",
        "@types/debug": "4.1.5",
        "@types/mocha": "5.2.7",
        "@types/node": "8.10.54",
        "@types/selenium-webdriver": "4.0.3",
        "@vingle/commitlint-preset": "1.0.3",
        "@vingle/semantic-release-config": "1.0.3",
        "@vingle/tslint-preset": "1.0.0",
        "browserstack-local": "1.4.2",
        "chai": "4.2.0",
        "husky": "3.0.7",
        "intern": "4.4.3",
        "mocha": "^6.2.1",
        "rollup": "1.22.0",
        "rollup-plugin-typescript2": "0.24.3",
        "selenium-webdriver": "4.0.0-alpha.5",
        "ts-node": "8.4.1",
        "tslint": "5.20.0",
        "typescript": "3.6.3"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js && rollup -c rollup.config.es5.js && cp browser.d.ts browser.es5.d.ts",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "test:browserstack": "mocha -t 3600000 -r ts-node/register test.e2e.browserstack.ts",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json '*.ts'"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "config": {
        "commitizen": {
          "path": "cz-conventional-changelog"
        }
      },
      "husky": {
        "hooks": {
          "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
        }
      },
      "commitlint": {
        "extends": [
          "@vingle/commitlint-preset"
        ]
      },
      "gitHead": "2ff6ab0b12992c78a79728f919cd39c8669aa5bb",
      "_id": "get-orientation@1.1.1",
      "_nodeVersion": "8.16.1",
      "_npmVersion": "6.11.3",
      "dist": {
        "integrity": "sha512-yRk7DRWFYtd5V6Ix28s/k1sbdfcuZWFfrBKJDxtSlX6kvxMESPVfEXgU8MlB847kb4YLtLYhkuNUP2M0/gNbfA==",
        "shasum": "d5e55e2a85b2395ca2e52f2ff8ad8e9c6eb1b6a1",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-1.1.1.tgz",
        "fileCount": 21,
        "unpackedSize": 66196,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk122CRA9TVsSAnZWagAAAu8P/jWkPW+fXtz+iH4h6xo+\nfH/BoVz5UhB0OAZJp9ff7PXEBwEDO3tNGIjyNWTTLdCx3G+1KmcOlXkR9MtV\nAALk4XX3mbE8M5mqMtN1WBDUSajWbNiCLxCK/cTERjh6MaN6goTTOOJ6ZxGT\nj8vPjwBzClj+8x1u5BZsPrbDw6tpNjn0bCo8GSOul0Sm2gK/jf3VhegDlZlP\naq8GL0xpheMQbgGXvLTTgFGFl0S9ut+YEAdzwfkV51zldmwgcuhv3d4i3sS2\npibmcigEnoEuP5XB279k16OVE+Vjo7OL+pS5nIVjO6aJaQ7twPRhiGoKm0Vk\n5bx+OZoImYYiWokfzW7EpFWX4F0v6eU5poKy4YNpas7hpmg+mRv0JCgFxmiL\nttZPWTY4NmCZjFu9wx48bk08P4HhNpwWHeh/vC8I051HJI4utJBi3f8ffZtN\nM1OCTJU7scvy3LKheXWNDvmqGacvGhnwqPdbJRdYZduYd1KNY3XEe5ptNDsA\nO2bI8KkGrER4mEPlYNHOKaRltbrtC/FO6iAwkHA8mwFianzImXwXARk+ZLoh\nKPpM3G8qW3icsJBYoZl/Bz7pKMTiCTCVyT6THwTxRUMRYpL6Ld5YU48vDRNn\n23zqPKuyK0tFJ/UjBHlgWk/HocdrBWYvc0vaCcs67/Mez6wj6N9DtsM1fjnE\n+ML+\r\n=1tSl\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIH0fasM/BJGVCjY+bYugcpaDT+X3hZP9Wv/XWYEo7hG3AiA9c9nS6uYlOmS0YjpLQIh2S10kJoRE8GwZBexS9AKHFA=="
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_1.1.1_1569938869979_0.7942361591760669"
      },
      "_hasShrinkwrap": false
    },
    "1.1.2": {
      "name": "get-orientation",
      "version": "1.1.2",
      "description": "Get orientation from image file",
      "main": "index.js",
      "types": "index.d.ts",
      "browser": "browser.js",
      "dependencies": {
        "stream-parser": "^0.3.1"
      },
      "devDependencies": {
        "@types/chai": "4.2.3",
        "@types/debug": "4.1.5",
        "@types/mocha": "5.2.7",
        "@types/node": "8.10.54",
        "@types/selenium-webdriver": "4.0.3",
        "@vingle/commitlint-preset": "1.0.3",
        "@vingle/semantic-release-config": "1.0.3",
        "@vingle/tslint-preset": "1.0.0",
        "browserstack-local": "1.4.2",
        "chai": "4.2.0",
        "husky": "3.0.7",
        "intern": "4.4.3",
        "mocha": "6.2.1",
        "rollup": "1.22.0",
        "rollup-plugin-typescript2": "0.24.3",
        "selenium-webdriver": "4.0.0-alpha.5",
        "ts-node": "8.4.1",
        "tslint": "5.20.0",
        "typescript": "3.6.3"
      },
      "scripts": {
        "clean": "ls *.d.ts *.js *.map | grep -E '(index|base|stream-parser|browser)' | xargs rm -f",
        "build": "npm run clean && tsc && rollup -c rollup.config.js && rollup -c rollup.config.es5.js && cp browser.d.ts browser.es5.d.ts",
        "prepublishOnly": "npm run build",
        "pretest": "npm run clean && npm run build && npm run seed",
        "test": "npm run test:node && npm run test:browser",
        "seed": "test -e fixtures/exif-examples || git clone https://github.com/ianare/exif-samples.git fixtures/exif-examples --depth=1",
        "test:node": "mocha -r ts-node/register index.spec.ts",
        "test:browser": "intern",
        "test:browserstack": "mocha -t 3600000 -r ts-node/register test.e2e.browserstack.ts",
        "posttest": "npm run clean",
        "lint": "tslint -c tslint.json '*.ts'"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/mooyoul/get-orientation.git"
      },
      "keywords": [
        "image",
        "exif",
        "jpeg",
        "jpg",
        "tiff",
        "image-orientation",
        "orientation"
      ],
      "author": {
        "name": "MooYeol Prescott Lee",
        "email": "mooyoul@gmail.com"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/mooyoul/get-orientation/issues"
      },
      "homepage": "https://github.com/mooyoul/get-orientation#readme",
      "config": {
        "commitizen": {
          "path": "cz-conventional-changelog"
        }
      },
      "husky": {
        "hooks": {
          "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
        }
      },
      "commitlint": {
        "extends": [
          "@vingle/commitlint-preset"
        ]
      },
      "gitHead": "7ec1a35f59fb5a0b13c1646c37a6902bd097becc",
      "_id": "get-orientation@1.1.2",
      "_nodeVersion": "8.16.1",
      "_npmVersion": "6.11.3",
      "dist": {
        "integrity": "sha512-/pViTfifW+gBbh/RnlFYHINvELT9Znt+SYyDKAUL6uV6By019AK/s+i9XP4jSwq7lwP38Fd8HVeTxym3+hkwmQ==",
        "shasum": "20507928951814f8a91ded0a0e67b29dfab98947",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/get-orientation/-/get-orientation-1.1.2.tgz",
        "fileCount": 19,
        "unpackedSize": 66289,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk2UrCRA9TVsSAnZWagAAhu8P/RvJbTEB259Q2ikJpMas\n2spj8/N2AFVhwjrt46JFsCIHVyNZbZkbLoXie2GBje0rP+Ps1OivlpkjF0JP\npPqA9m5iwAJ4tQuf3J82VFBk17Hw5StIM86n85XbvVuKCGaI6WXjgFJlNZVr\n5bbuuKwyiq+wfaTr7CMWn4wSuWdXRSxFfCRM5EK/8up9gZw88GrweCKOoZ0j\nN4DzxC5D+gFVa6AWGkgg6Pk2xPM7Nr1cNhOHwg8KwXreiIrBCwqpstTvvA4C\n4XtJqqDfyG3QCyyuz5r/+ZorideUSIgqQJWM8dcOJF7oOLcyBJa/EwIPquY2\nTvA00IJKm8DQAYD53Ms+CUyQCadGhA0AoqH6MZ5v/UxPiDtjmjpBEq6BxB64\narZLkDl3H/+iBqmpruBRQ6fgguAjLXmFIsuxauZVSF1Wl7tn8Qmnomf2cR7x\n4Rew+UqhcqSJLiyRWvNZlouyo2IFldEmgRSkDzY9Z3gx7/JlMkclhA+gI7Sx\niZ7ikloFXMWAGxDv/YaLWLGf8b/Y6w185GkVhaEbRO3uvUtMW2aTsO+k1n10\nm7EfClVnJV+TLEe1ExfgTrWm9U36kBQd/ohU9wpRY0r3bhrzQL/LmktxcLQ/\n5+q8j1VWiAC271xTkJ7BpZtF4qOscVHUb19drAhsSoVniYYYK+yRJNPtuveG\nu8DI\r\n=jm1V\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDqAZVREMuybobFhK7DjoK+u2pvoHzH8HqxQ5ZP1yQJGgIhANN1jbhXS56Gj1kI00wGcFuTmnlhCqdLrQ96A1jVOdq3"
          }
        ]
      },
      "maintainers": [
        {
          "name": "mooyoul",
          "email": "mooyoul@gmail.com"
        }
      ],
      "_npmUser": {
        "name": "mooyoul",
        "email": "mooyoul@gmail.com"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/get-orientation_1.1.2_1569940778779_0.2864568989026708"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "get-orientation",
  "time": {
    "created": "2019-03-10T07:19:16.191Z",
    "0.1.0": "2019-03-10T07:19:16.416Z",
    "modified": "2026-07-05T04:29:10.726Z",
    "1.0.0": "2019-03-10T09:03:21.535Z",
    "1.0.1": "2019-03-12T07:56:58.829Z",
    "1.1.0": "2019-03-14T21:50:39.270Z",
    "1.1.1": "2019-10-01T14:07:50.149Z",
    "1.1.2": "2019-10-01T14:39:38.902Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/mooyoul/get-orientation#readme"
}