{
  "_args": [
    [
      {
        "raw": "html2canvas",
        "scope": null,
        "escapedName": "html2canvas",
        "name": null,
        "rawSpec": "html2canvas",
        "spec": "/var/www/html/cmirclust/tools/html2canvas",
        "type": "directory"
      },
      "/var/www/html/cmirclust/tools"
    ]
  ],
  "_from": "html2canvas",
  "_id": "html2canvas@1.4.1",
  "_inCache": true,
  "_location": "/html2canvas",
  "_phantomChildren": {},
  "_requested": {
    "raw": "html2canvas",
    "scope": null,
    "escapedName": "html2canvas",
    "name": null,
    "rawSpec": "html2canvas",
    "spec": "/var/www/html/cmirclust/tools/html2canvas",
    "type": "directory"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "file:html2canvas",
  "_shasum": "5bb39a8928917ac864ca86bca829eb4b406a644a",
  "_shrinkwrap": null,
  "_spec": "html2canvas",
  "_where": "/var/www/html/cmirclust/tools",
  "author": {
    "name": "Niklas von Hertzen",
    "email": "niklasvh@gmail.com",
    "url": "https://hertzen.com"
  },
  "browser": "dist/html2canvas.js",
  "bugs": {
    "url": "https://github.com/niklasvh/html2canvas/issues"
  },
  "dependencies": {
    "css-line-break": "^2.1.0",
    "text-segmentation": "^1.0.3"
  },
  "description": "Screenshots with JavaScript",
  "devDependencies": {
    "@babel/cli": "^7.4.3",
    "@babel/core": "^7.4.3",
    "@babel/preset-env": "^7.4.3",
    "@babel/preset-flow": "^7.0.0",
    "@rollup/plugin-commonjs": "^19.0.0",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^13.0.0",
    "@rollup/plugin-typescript": "^8.2.1",
    "@types/chai": "^4.1.7",
    "@types/express": "^4.17.13",
    "@types/glob": "^7.1.1",
    "@types/jest": "^26.0.24",
    "@types/jest-image-snapshot": "^4.3.1",
    "@types/karma": "^6.3.0",
    "@types/mocha": "^8.2.3",
    "@types/node": "^16.3.1",
    "@types/platform": "^1.3.4",
    "@types/promise-polyfill": "^6.0.3",
    "@typescript-eslint/eslint-plugin": "^4.28.2",
    "@typescript-eslint/parser": "^4.28.2",
    "appium-ios-simulator": "^3.10.0",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.5",
    "babel-plugin-add-module-exports": "^1.0.2",
    "babel-plugin-dev-expression": "^0.2.1",
    "base64-arraybuffer": "1.0.1",
    "body-parser": "^1.19.0",
    "chai": "4.1.1",
    "chromeless": "^1.5.2",
    "cors": "^2.8.5",
    "es6-promise": "^4.2.8",
    "eslint": "^7.30.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "3.4.0",
    "express": "^4.17.1",
    "filenamify-url": "1.0.0",
    "glob": "7.1.3",
    "html2canvas-proxy": "1.0.1",
    "jest": "^27.0.6",
    "jest-image-snapshot": "^4.5.1",
    "jquery": "^3.5.1",
    "js-polyfills": "^0.1.42",
    "karma": "^6.3.2",
    "karma-chrome-launcher": "^3.1.0",
    "karma-edge-launcher": "^0.4.2",
    "karma-firefox-launcher": "^2.1.0",
    "karma-ie-launcher": "^1.0.0",
    "karma-junit-reporter": "^2.0.1",
    "karma-mocha": "^2.0.1",
    "karma-safarinative-launcher": "^1.1.0",
    "karma-sauce-launcher": "^2.0.2",
    "mocha": "^9.0.2",
    "node-simctl": "^5.3.0",
    "platform": "^1.3.6",
    "prettier": "^2.3.2",
    "replace-in-file": "^3.0.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.53.1",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "serve-index": "^1.9.1",
    "slash": "1.0.0",
    "standard-version": "^8.0.2",
    "ts-jest": "^27.0.3",
    "ts-loader": "^8.3.0",
    "ts-node": "^10.1.0",
    "tslib": "^2.3.0",
    "typescript": "^4.3.5",
    "uglify-js": "^3.13.10",
    "uglifyjs-webpack-plugin": "^2.2.0",
    "webpack": "^4.46.0",
    "webpack-cli": "^3.3.12",
    "yargs": "^17.0.1"
  },
  "engines": {
    "node": ">=8.0.0"
  },
  "gitHead": "6020386bbeed60ad68e675fdcaa6220e292fd35a",
  "homepage": "https://html2canvas.hertzen.com",
  "license": "MIT",
  "main": "dist/html2canvas.js",
  "module": "dist/html2canvas.esm.js",
  "name": "html2canvas",
  "optionalDependencies": {},
  "readme": "html2canvas\n===========\n\n[Homepage](https://html2canvas.hertzen.com) | [Downloads](https://github.com/niklasvh/html2canvas/releases) | [Questions](https://github.com/niklasvh/html2canvas/discussions/categories/q-a)\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/niklasvh/html2canvas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) \n![CI](https://github.com/niklasvh/html2canvas/workflows/CI/badge.svg?branch=master)\n[![NPM Downloads](https://img.shields.io/npm/dm/html2canvas.svg)](https://www.npmjs.org/package/html2canvas)\n[![NPM Version](https://img.shields.io/npm/v/html2canvas.svg)](https://www.npmjs.org/package/html2canvas)\n\n#### JavaScript HTML renderer ####\n\n The script allows you to take \"screenshots\" of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.\n\n\n### How does it work? ###\nThe script renders the current page as a canvas image, by reading the DOM and the different styles applied to the elements.\n\nIt does **not require any rendering from the server**, as the whole image is created on the **client's browser**. However, as it is heavily dependent on the browser, this library is *not suitable* to be used in nodejs.\nIt doesn't magically circumvent any browser content policy restrictions either, so rendering cross-origin content will require a [proxy](https://github.com/niklasvh/html2canvas/wiki/Proxies) to get the content to the [same origin](http://en.wikipedia.org/wiki/Same_origin_policy).\n\nThe script is still in a **very experimental state**, so I don't recommend using it in a production environment nor start building applications with it yet, as there will be still major changes made.\n\n### Browser compatibility ###\n\nThe library should work fine on the following browsers (with `Promise` polyfill):\n\n* Firefox 3.5+\n* Google Chrome\n* Opera 12+\n* IE9+\n* Safari 6+\n\nAs each CSS property needs to be manually built to be supported, there are a number of properties that are not yet supported.\n\n### Usage ###\n\nThe html2canvas library utilizes `Promise`s and expects them to be available in the global context. If you wish to\nsupport [older browsers](http://caniuse.com/#search=promise) that do not natively support `Promise`s, please include a polyfill such as\n[es6-promise](https://github.com/jakearchibald/es6-promise) before including `html2canvas`.\n\nTo render an `element` with html2canvas, simply call:\n` html2canvas(element[, options]);`\n\nThe function returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) containing the `<canvas>` element. Simply add a promise fulfillment handler to the promise using `then`:\n\n    html2canvas(document.body).then(function(canvas) {\n        document.body.appendChild(canvas);\n    });\n\n### Building ###\n\nYou can download ready builds [here](https://github.com/niklasvh/html2canvas/releases).\n\nClone git repository:\n\n    $ git clone git://github.com/niklasvh/html2canvas.git\n\nInstall dependencies:\n\n    $ npm install\n\nBuild browser bundle\n\n    $ npm run build\n\n### Examples ###\n\nFor more information and examples, please visit the [homepage](https://html2canvas.hertzen.com) or try the [test console](https://html2canvas.hertzen.com/tests/).\n\n### Contributing ###\n\nIf you wish to contribute to the project, please send the pull requests to the develop branch. Before submitting any changes, try and test that the changes work with all the support browsers. If some CSS property isn't supported or is incomplete, please create appropriate tests for it as well before submitting any code changes.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/niklasvh/html2canvas.git"
  },
  "scripts": {
    "build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run build:create-reftest-list && npm run build:testrunner && npm run build:minify",
    "build:create-reftest-list": "ts-node scripts/create-reftest-list.ts tests/reftests/ignore.txt build/reftests.ts",
    "build:minify": "uglifyjs --compress --comments /^!/ -o dist/html2canvas.min.js --mangle -- dist/html2canvas.js",
    "build:reftest-preview": "webpack --config www/webpack.config.js",
    "build:reftest-result-list": "ts-node scripts/create-reftest-result-list.ts",
    "build:testrunner": "rollup -c tests/rollup.config.ts",
    "format": "prettier --write \"{src,www/src,tests,scripts}/**/*.ts\"",
    "karma": "ts-node tests/karma",
    "lint": "eslint src/**/*.ts --max-warnings 0",
    "prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist && mkdirp build",
    "reftests-diff": "mkdirp tmp/snapshots && jest --roots=tests --testMatch=**/reftest-diff.ts",
    "release": "standard-version",
    "start": "ts-node tests/server --port=8080 --cors=8081",
    "test": "npm run lint && npm run unittest && npm run karma",
    "unittest": "jest",
    "watch": "rollup -c rollup.config.ts -w",
    "watch:unittest": "mocha --require ts-node/register --watch-extensions ts -w src/**/__tests__/*.ts"
  },
  "title": "html2canvas",
  "typings": "dist/types/index.d.ts",
  "version": "1.4.1",
  "warnings": [
    {
      "code": "ENOTSUP",
      "required": {
        "node": ">=8.0.0"
      },
      "pkgid": "html2canvas@1.4.1"
    },
    {
      "code": "ENOTSUP",
      "required": {
        "node": ">=8.0.0"
      },
      "pkgid": "html2canvas@1.4.1"
    }
  ]
}
