{"_id":"wasm-imagemagick","_rev":"10-99bf4ccbcb8dcd836af8d2540ee8cd8d","name":"wasm-imagemagick","dist-tags":{"latest":"1.2.8"},"versions":{"1.1.0":{"name":"wasm-imagemagick","version":"1.1.0","description":"Webassembly compilation of ImageMagick","main":"dist/magickApi.js","scripts":{"test":"echo \"No tests :(\" && exit 1","postinstall":"npm i --no-save download-github-release && npx download-github-release knicknic wasm-imagemagick","prepare":"tsc --skipLibCheck --allowJs magickApi.js --outDir dist"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick#readme","devDependencies":{"@types/node":"^10.10.3","typescript":"^3.0.3"},"gitHead":"ac28c61597f177252e44ecab1ab6a4e662c3351e","_id":"wasm-imagemagick@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"dist":{"integrity":"sha512-yPu7olNNr1OHZDuDLoDefIijp22m5HTWPhrOCv66kwQlMAhOGLlBK0FAls3F+/R1X45QhLRgdvy95hxrKVbLhA==","shasum":"60278a23b7b56a25b4167d4e2583824f06333f42","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.1.0.tgz","fileCount":6,"unpackedSize":4401586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbp0PcCRA9TVsSAnZWagAAOGUQAJA1R0YM9YhddT9sHAy9\nlW7s638N+5WXp5gP5fFEsx+n6VCqan4T47VpPG4AEUAL9zlc1/g7uD+RakdA\nJRps83WT144n+xUj7ncsp6/OKvO8dMqi6H753xCfVii8pVfA6PYyGQGAdf4f\nK26+T/D8uD90nF+zMIBSlca/RLTvY2BfR2gGj2qP5+kDLp+7Vre0MHfWF0kF\nDtguKvRKwTbM3ycZYR85UOdhw7JRIwoX/Hid4iSkj6nVtNZEJ/+tKlnxkAd/\n5ZIz5430lKb03M8JDfFyPy7pEuU7VAoPHfGio/uA6MCszzG2KjVxloTaLWpe\nIgzrE/+wqhVP4acS2ltgcSecEy6gtLhW6/WvvxANRKcLnzvAiIfgmhupf8MU\n78JhwfFu0kHT5VG2Xu3XIFXUjAqUrU1PWyFOEsWxnB2P7OKmyUOFoO1VVabP\nyfOw1ztKO3b3rr1JkVImXQyn4IC9DYXmZ7Qx8LG5jBofnrOip7vYefjKbT+D\nItrOcgOA8IPDH8reCTWyDnFwA8lSar7FsreG+ixmkiHHxtN3CoS+UV1oy5w5\n63k/Xt0kYWRdgeS0yP2Xvy3Pd4QaC17M0h9bbW9DF+uElvLMWNjcon9kicjD\nlQ+b8BJ9wURlHKrp0XaM0y1Bx48WGMUKD0wPZB+evNVNreXYurVLHCswJwh1\nK1uf\r\n=0u7B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCh686BfaltcwvoyORg70ekDq5DMlxu3DZ7UayiOem0ogIgAYbDj5sktxd8N6H7cn0QtUUCBvIN8UOczwqAJd197bE="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.1.0_1537688540133_0.8171660245829595"},"_hasShrinkwrap":false},"1.1.1":{"name":"wasm-imagemagick","version":"1.1.1","description":"Webassembly compilation of ImageMagick","main":"dist/magickApi.js","scripts":{"test":"node tests/rotate/node","build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm -it --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"tsc --skipLibCheck --allowJs magickApi.js --outDir dist","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && cp magick.js magick.wasm dist","clean":"sh clean.sh"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@types/node":"^10.10.3","typescript":"^3.0.3"},"dependencies":{},"gitHead":"86f6d011134d1bec92580a54129a5aa37b3d22ff","_id":"wasm-imagemagick@1.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"dist":{"integrity":"sha512-+6jH61U4ncN03mVen7YpHynlRG/l7JkqZxo44E/zSeGvlYSFMefPcLvIM0HB2bGeX6QR2HmNTVtP3GbFrDtKSg==","shasum":"384938311eff5b1565761bcef38cc74355ec3436","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.1.1.tgz","fileCount":6,"unpackedSize":4403751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbreGdCRA9TVsSAnZWagAA1pMP/3FufB2iYSTdkpPIeK1e\nmnmQB9ohu5rnyvvY2tRcuIzR6yszBz1wPg8ZlExiML5w5E/cO9njJwoSIK/x\nu4zdLcKE2xKWGk+VCEmYQI8G+spIKfKmLoU3+AKsAUzC2xFyJzN+GBh7S+Ex\n4bYaiM3DfcQCdQQ8Ndzj38yRjGDhI1+qiaB+6gJpnUMCrjvGpmd+8C6ZodTH\na8a1E7wJbhU/bRl9WUJx5/YBMBTveSkFKhSoZ1aobcEyPp0X8QU4IOw6ziWl\njvoRgZMv8jVw1WBfy334ap7NJlKlcNpwtHcL/z6KFYVyFVubWtRIYQLl6/Hm\nVsI3ablbO8GGmNOP5n701gArDwtDEMU5t3sr92lugC+almmhGNW2Pj836/vu\nwi2xuiI3Z5NpTlbY/W3b3zU71mTk/H5x+u25NxoU2xUVjo9PAugIhq1HCC8l\n3MQWGj82oLmMFFrwJndYYa5pMqBJbJgCKpp98/y7v5uNcBxTFWs+4hp9+IGa\n9Gp+9WKzqKNJXSYk8SbVvDxAosnxvYjWHsL4BDb6GEeAxoioSx4LQFo2XkWz\n2lMhkkIEtmlwFjH8lFoiKgTFDOe2Jk3ckbCQLGcVg1hBYpUnytfuxf97TDh7\n1dFXRFr5WFeyKIanPT7RPsl2xP0yA08dM/M29M/CkmwKVHeFiUGlrx9Kb/2Q\niAQn\r\n=f1+g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDeCMhG1U5QvfNXpfS6t16jLAnwOJ1JosYfW1solzvPBAiBFsLv9/GgTO6HNr/TZurtulBAGX6B7CgoxuZk0rBeQKg=="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.1.1_1538122140926_0.39732866857739846"},"_hasShrinkwrap":false},"1.2.0":{"name":"wasm-imagemagick","version":"1.2.0","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","scripts":{"test":"(cd tests/rotate && node node)","build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"tsc","build":"npm run build-wasm && npm run build-ts && npm run magickApiJs","prepare":"npm run build && cp magick.js magick.wasm dist && cp magick.js magick.wasm spec/assets","magickApiJs":"tsc src/magickApi.ts --lib dom,es6 --target es2018 --outdir .","clean":"sh clean.sh","test-browser":"npm run test-browser-build && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"npm run test-browser-build && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-build":"rm -rf dist && npm run build-ts && cp -r spec/assets dist && npm run bundle","bundle":"browserify -d dist/spec/index.js -o dist/bundle.js","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@types/jasmine":"^2.8.11","@types/node":"^10.12.3","browserify":"^16.2.3","gulp":"^3.9.1","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","puppeteer":"^1.3.0","tslint":"^5.11.0","typescript":"^3.1.6"},"dependencies":{"p-map":"^2.0.0"},"gitHead":"eec902ef684c49af0836c6d3cf543e4c6ea35c49","_id":"wasm-imagemagick@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"12.0.0-nightly20181117344a46ad03","_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"dist":{"integrity":"sha512-OWaNDaVWNJuKcnRvrQNtdnak0Md01lR1+PhBamETZvqV6OHkRWhZN2r3srGfSEP0e8DT1o0P20l1pkkpXw/sQA==","shasum":"3ceb5c25e65d8fa1f6d0171dbed923bc0326d81c","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.0.tgz","fileCount":35,"unpackedSize":3622249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8LpPCRA9TVsSAnZWagAALxMQAIRcqZVkPz3TxeY4duht\nBY/4j1pLb278KZEGzJfBbbyK+Y3XT6rhObTctIWbJIqivCyuwXo2HHw8dfcB\nQnJspECub42kBFINDZVsFB4oIIWi0BXKax/dEKpXryFeqlz4ayB8euSN3bMT\nPOCvlxL1i46W9zeGrRGHzc1SMZ3FRjz3FFKVycXxNWOLNrUxeY28a+A7T1Oj\ngR4hBLGPpgLYmVqqJaCVB4PLyKGzpecLgLmWW88GzD2J97Ce1GesxB9LDe2Q\ntURn/7w9lqOTDe59t233wCSzyfbNkEyGJeSq4IW+mSCbblDoGdMGQAbDnLMh\n0+KeVOAV4JeU4kWY4bS1LTFimYrIO+hapM+oTUpGU4qs7YIM3qg6gt+kss+W\neXuD3xG132p6nn5egNPCoPzcl3/DBQsrjx5L+Mu+w3lG6jc04wF5D1C3/Agc\nx3KJwsOl1fiyKn0IN2bIXvgzNKuFloc4kuw2ekhI5HZoTkbGZqwamaGxYOx9\nlWrSd209z79v6DpJHFZImVupaMd1TOHCr6g31Ne7FS57bVfARiKJa/4AMpy8\nlJqbrR2Gds/7kpKaCarRawbCUvZo8w5Ua/M6KKQqKiXNLis5QcbHOXQTXt3/\nGRAVYo6oqChgChBpx/GA09VrGV0iS7ugE+WCG3HPV7960KrkEHAf4nJdUR/k\ngz5w\r\n=juJN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR1sDsHUda1PdXKyj3qbrTr1dO/1cGw58wKLpoCmTglwIga9CuP+gDpM2PQegkWUA5G1qmN5knNc7w4+Jz2XgPMSs="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.0_1542502990342_0.41710401220727245"},"_hasShrinkwrap":false},"1.2.1":{"name":"wasm-imagemagick","version":"1.2.1","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run copy && npm run magickApiJs","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magick.wasm dist && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0"},"gitHead":"eecea681df4ec9dcb1a603ec9da530cc5bfc2c73","_id":"wasm-imagemagick@1.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"dist":{"integrity":"sha512-7XqelM+x4z0acYoWf9jnAoABgzH3wU/INWqdVXQwNwsr9c1Rw7Ilm4LRhRhJ4IO2D5W0YRTt4o/Qac6n/CFF0A==","shasum":"798504601c2f802eb95627f600a22fa7cbf57664","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.1.tgz","fileCount":275,"unpackedSize":6750939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9Nv5CRA9TVsSAnZWagAAirMP/jS51ItWfNIma+G4c2c0\ntYNx+D6aDTOhHoicPmC//BFmBPF1B9blGq6hYCOjSwECVSUtJGWk52NwKV+2\nCR5cB76MiDrlbKZXHHcaAYhVTJ1MmIBqDzwt1aKqhdhPTaN2+75rakiFE4E3\nUVng65pZKJ3pUP+y0oOMNRoK0/+AHgCGEQygeDb676+mT4fT2fN+ko0OKXaz\nHvvC/zaTJPk7/kcP2rzF9QEXTjeRdI/ETdksrUFIcXDEG8EkF2RCjxbccsAN\nKziTUzMtVEW0HraywLt6ult6VUcSEWU1djLDzc2jwhiymntKqobpKzBLz3+e\nECS0E30i8lRPife/No1KZ/jcW+KHehOtXx5O1O9RkBldqH4Tgt8e6b3QtSWY\nZAZtakExZbvp1UlmgJfWawPF0kJomxx9zVdLSmkqtQmCTZoW+QYdqdTz2uL6\nkn68Zw57kbHc8X2E52Vdxtis4++Gq85o1TzSJ+jmGgHvsMPMvUbG0QNv/GWI\nTg/4JKoNC8Sbehax/Om6G2UsdbvbpYeDTqEGL/PXRJmO1xaHgHYMLKggjBJ5\nhLKSopCsj5XXXyhTnY4U8RLd8g8yCMlP7/Osx7qhz2FAulizjxb0cZZPZtD7\nNUPIB5Uu0osLjnmvy5nHOx0CWKcbONV8TGgCt34j9V5g68vswAYttFs1WetL\nCjgO\r\n=s8m+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzRwuL1GUM3JMKgYkLzYdFgJ7pGI4htJrW/laerNSoagIgRiJ/nQzmS1HGJdUujN7rCMpXcgROzwdvPA87y/7x5To="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.1_1542773752543_0.7177933238955891"},"_hasShrinkwrap":false},"1.2.2":{"name":"wasm-imagemagick","version":"1.2.2","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run copy && npm run magickApiJs","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"92f3f7559e3b52fd23e94ed5a0321a0eaac4d4db","_id":"wasm-imagemagick@1.2.2","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ZWRt9y+W1B3M+py/3j8iIF0GYAxSsmg65C1ZG8MbzWGr0pK6ISBQmlbp+Eb9oFESf8LpBl6y3i7XjV2oysPKpA==","shasum":"409b6b7924f21f6ce48a258771c5714b32c84015","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.2.tgz","fileCount":257,"unpackedSize":8566841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDxOPCRA9TVsSAnZWagAA2EEP/iWIapPp7EXVTAVAFqY4\nAktSmcbvvuoR1guMU12ZosFstwXZB/mHTLLWWHh8ELPajL7rabEhCk1u1h+C\nqJKHI5DUn0Rw/Tr+lUl5w7GVSy4Yf6qvgq7bM29wH9xIabTbzeVUs4uOl6/G\nq3mteCgcvmzG0J0EwY2p2TrRwRflqiJduU2cib3WrnofwdtsQjPEXarNpBJg\nQZ6149TZx9eiIfLuaKBiFVBwCH0Guwloc/CCLequ1IXnAYjKQsMg1ezJ+Hwv\nw0ot12xkDvMYTVT8FX9sPPyQHRX7w560OY0UfY7SSKnmBf0c0LAtkq5m8qtP\nRWSo3FVcjrmJ5ZstQ0C7SjIkhK4L+zPYWJPxY8C6QPqt4pifPv04StASO36m\n5hUDDIvGo1K8EgO8l9+kc1UEglw4u/eqAt6P1tTPw6qyUsGt25KqU2BluLNS\nS56U3SeDC0g9p/KMUutRw0yANV2FA8c5B37/r4GzxHlG2ncx1xl4JhJ1ogW2\nf7hHPfpSGAs80heMTQ4N7i+jJMWgqPHbJhXymkHZzliSlQIxizivxtgi/aBW\nHPxTDLhPLkyhXDG8ppzEfxe/pEuzi5q5RUzq29F7v4xnEjgGplhEt1L92lts\ntBEKim09SBE314qLyTTkJBJYAoDUA+jqWwi055wEAOmgvwshAEkNnlPUAelA\nGyDy\r\n=ISTZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbddjpSHRIkcwzDvlgdCMkEfPcqA87CIgmdRG9nFOSkAiADP2KOxAUovhnAJmQQs47VZAwUq3rlOJtFMTFCyDJTuw=="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.2_1561269134586_0.09580317215787959"},"_hasShrinkwrap":false},"1.2.3":{"name":"wasm-imagemagick","version":"1.2.3","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run magickApiJs && npm run copy","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"e763c5699b8096191f539d266be566cd8828c2cf","_id":"wasm-imagemagick@1.2.3","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-fwnaSpAryG5zGdMyUPnxFbyY6Wa+RRuL5ESlBDoe58Qu+003uiCD7XSg/38kBD6j8RqGoSmL6qsYmeuPn9QDgw==","shasum":"3cca935a2179020e9565c78eef08126e6473f39a","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.3.tgz","fileCount":259,"unpackedSize":8970073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdD2LFCRA9TVsSAnZWagAAw7AQAJgxhmM/5L+n5xzRpEPA\nphCzBHYaDhd6JvgiprTr/aW0bXbsl7AAkBwENbMlLntBweZDeYKoyJi6tnvU\niU9RUK6jvV3Jygc/GRxC8FHURU+lwiC+bvURM9+ZR4chZOA/O8MiBcfc1Vqf\n+bZjAOCt/PV7vb34UFDtR2iROWedD4yD8kwiNXooBL7enZoVbFBbuKPemp6d\nCbTkqRcs2eSDdx97hdo7Mv3BXBHr6HF0S9MYYZLfdyC0sRsfwVGCN14Th1YG\nuyjlLgtYCxChCT0F7hjqOEFsrgNG4BPDWioot86nhi8DQZq/Q1O6Ct6iiXQ7\n0YpzEBlhOkw8VDV9dxWA5jnYi/c0xUJJN/IkrscrnjFMAmYx5F2ubEoKaOSV\nR2B5AIdn++hvS+NDnJDCuVzr72rfXBjfFNtq8ylLtrPBLj0AAEM2kFtFcl8m\nXbmw16DOML2wUatCG5yyi0wlTymWvm0ECsMmhVgcS/JglwHcA8b6HEdUPr6g\nZDYa/Y/F3H7QLVsOYbRH+fu7Eqe5wXCReFr5SR7XoPvrlaDc6tsP0pVup9sc\nIAtYqckXcFJPpg+5WCHUgVxxca44k3y5rUJDl+sK36cvcq9aHHillh6Fmp3H\nWRXXzJ648pMtm9DeKlGuw5PQRK2oSyZD6XGouErBk/WsWQV2TjRGM27AjxZs\nE1f4\r\n=5EDh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGITr4QiPUGtfvVpiwpgxDwpmB42xcBPR7MZPHHwOU6BAiEAwzielEJVE9Tt1G57NR0BGTrpsKhXRcd5N3c0W1BObLE="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.3_1561289412465_0.19833456878698708"},"_hasShrinkwrap":false},"1.2.4":{"name":"wasm-imagemagick","version":"1.2.4","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run magickApiJs && npm run copy","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"441f7d49436098eb80b9e054480ee2b2a3441199","_id":"wasm-imagemagick@1.2.4","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-LawFqIBa6Lv//D80rEMpC6Es3E+EzId+JrIWkW1sDwrjeSgVKa6H4RPDi+E6BAXPScaY+T2vle9Ro+965H6ZoQ==","shasum":"7434dc65a974b0bd6869d96621dffb71a58d2a6d","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.4.tgz","fileCount":259,"unpackedSize":8970102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZhxZCRA9TVsSAnZWagAA0QMQAIE5C+TKki51yarVZsvu\nzj+sjpj3NicpIlY07GdeO3NegvmZK8NFelz6mP/6VI8mkvzhHjWVioPT4RgS\n9fTl6femaQQkgDNPPoRUhxyROHqY5zaNkzVFdAAoIajeGUi6lrAPNKWZXsnH\ndx/3Re5S3PO40zjcG2hHQvI9d8bjDMwxZGdRm6Jc4LzStBA24Qvlb+UPQjcn\nQEHjAjCxaNdR43ywhBYUl6faszkj0l76yew6La3sFa3lL0VAJusrsKM0sp9O\nw1irLX53cSQ/Q0bM+15qNQUKUDxFcqRUj9mT2lOGAX5TY9eNwFX8TOcZgbfW\nS+vZDx09jqmtjfa1mH59nS5UL5wcE8FHA4cok34XVPVH2o4gNXohc9gZ3AKV\nW+cDYRv+iIDwjVxzqiZAXX8Dbi0txK41LfMaSEPUsDQNOdzg7Kv832OEmAb4\nBtsmj25MVLmEHksVDys7xdGO7k5V5dOwN50XTN3CerMiKPeAq1HfZX7EMmLy\n+q0sVfT7a3och8x0atu1wDaELvrDicHARAK3kl4kowacvZytrUht98RaOFAC\nHiiCAJ/3iAznCS/oTl+7+8b3kKoqrvBvODt3E6Rf1MFNWFuWBKfMBIeOI75L\nwp0PoN4MhkTF9q7yd7DmEchanJtg00nnm9PL5zN3dYyODf4N36INyugEJy25\n3F2S\r\n=UH7r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHehS+Tog3QIHCmHTB7z8nzz4mzb6lZl5NqvOulZ44F1AiEAmdJQyRbAwH1AD2JPT7TCVY0Co0YUrv7LNqnIzlLC+lM="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.4_1566973016752_0.36315332792799526"},"_hasShrinkwrap":false},"1.2.5":{"name":"wasm-imagemagick","version":"1.2.5","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker build -t wasm-imagemagick-build-tools . && docker run --rm --workdir /code -v \"$PWD\":/code wasm-imagemagick-build-tools bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run magickApiJs && npm run copy","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"a6c34525bc51addd02394a2189ab372d517b074b","_id":"wasm-imagemagick@1.2.5","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-vZmSH2aqCHip1rRjCZoxJmanOsb8IOGtzmjYDIizteKgQG06fPNdyR5y713VAZ0xw2lsyqEPZaNV0pKVMi/cMQ==","shasum":"ba86d58a758e53c331fa1db151bc2c50463e0029","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.5.tgz","fileCount":259,"unpackedSize":8970126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZjicCRA9TVsSAnZWagAA8DcP/2tzfRTo/qh+wVcMWM6A\nwCvEgCQ04oENuS8zeY0g7ULuS7pex3ulxENn5k6JrUdEs/MyzgtnBRfxNoBP\nUjNWNP653TYWcDKi0qNghINWMe2YBTgMhun7xi17sgqvCQ+k6Z+Z3XXyq0k5\nJKeuDeHI/O8u3MXuUfG/xZI0k6Dnv5jJ6ZtAoxsFp7fs/3Qbn7rED69RAGOr\nmMRRWCZlqKu1UvHikPzMWiUo/Rn9ggKSKeF51QDbOR7yZGm+JSnpQaeq04fL\nxg46YvNJ/+ClOGEaLTyqgk3CajjxwVJjseeRWRojzisKiomvhOJIycN1q4Pk\n0dhrqUtN8TVog0RKgIuftYYUojCTCkC+Fnd5jse0LRNtxdX5cEd4S1IO34K8\nUnT344d+1toR+aLPG3K0Yi4PEFWkWzkbUmvT2uoludXbjDW6CesLXSZZCZ5T\no4lgziK4q0ISf0Xbia4cDFvHfnRbtND30MBO6NHDc6Gam7uWWYN9KZKiTHcD\nics4+VkWGiOQkaMZFGrgtG4SqxE4fvEPvnx6e01PaxIlnK7RVgW37O1SgUDz\nVNz7GEIg0L8qyobK9vf702zxqW15NqI/tbi8tT/w84l3J4unzP17wX7EAbKJ\nzdL1+G1b/oewGz+w+uIes+evQ9sFEsTuKmcuAnS3dxWnDExi0bqZGL9ObtSH\n7iLh\r\n=0Xon\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDra614clEeOVkSFTYmXMQkd4T8QPln1F/7WPGPGy56FQIhAPT/cRipfSpGt6qF5wMm0r0S+0/8V5FEM3IuuiVtrIXH"}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.5_1566980251971_0.8093291818970401"},"_hasShrinkwrap":false},"1.2.7":{"name":"wasm-imagemagick","version":"1.2.7","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker run --rm --workdir /code -v \"$PWD\":/code knicknic/wasm-imagemagick-build-tools:sdk-tag-1.38.12-64bit bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run magickApiJs && npm run copy","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"c84aadbff767d40e2c0c227b1d91d98e88198133","_id":"wasm-imagemagick@1.2.7","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-I3VIzcKE1n3IrsmYfouLff0NfB+3TKEn2gNRfvSuBDIORSNL+3ukl0mC3pmt5p6X5QNCaksuaZNGJvmc0Oto7w==","shasum":"3ca570a5914fdf2adfff21861678665f460cc8d0","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.7.tgz","fileCount":259,"unpackedSize":9355033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddRPKCRA9TVsSAnZWagAAGkEP/0n/JOPYL0N68mfhlra+\nBM7xTG2sz/Ex0eXQySJ1i4HXi+cvz118+0T0k+SvZNl4s0LvUbGPMVryqQbS\n8CmtL+fBRlIZ2Js/rtWIPwIqPW5V1WGc3VWgvjryyLMnRVMTlbH6ZmNFiLlR\nkutLcn9sT4tFTHGjrgTezpW+CKF7d3h6DRTZtzaArtAvH7Vamiq+Vjc50yYD\nfWW5gIaqUYkyqzEAM6UT56xYlDcVmx3ruWxWi9qyFAkMr+I4MDzMfj2wfqzB\nXX+mWu95ggZRvhsW9uCz8OwrV6/+VL8PgnvPAuSYR6mHLngXXy1jF+XSNjst\nSxQxJGp4qtUo2AYOJxQ91YjkQULTLCRuIwraZPCGgZQcn6UfnBoWy6UAMuOa\n3vCLBOggfM143uj0Sr6/XQd4PMMlRpmnbstrhpqM6ugv28fiSpwd4zop5PMq\nSk8DIU9ednfGpGKqBSHb0HkP/CrpvuP+M/o1D6EkEGvdaIBHzUVEp8Ixl+M2\n0B1KOuA0FN3oedHrEw4gyTMENPOvjeqTnsTdm5PjIZF55a1n5I7msGryF/vn\nZ1RK7dZBd2qeY4LfKvklAkiz4NaHN9GS2953diyyFCKUv8iQqEnP13J1MLzt\nMMDT94Pod4DMe9I1ybavK7QN/7+/oGnMai8bzmSUCGkJ0akBq8am0W81nhkC\nnISG\r\n=KP2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjDY8JTDqHXIvB1ECdqlpFwbgKZW0lT3QR0EEhWsy+gwIhAN5qf90O8pbjAXWLjue+Ek9qkpQpYD6vPGqroCeQMpPa"}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.7_1567953865576_0.6285291269005095"},"_hasShrinkwrap":false},"1.2.8":{"name":"wasm-imagemagick","version":"1.2.8","description":"Webassembly compilation of ImageMagick","main":"dist/src/index.js","typings":"dist/src/index.d.ts","module":"dist/bundles/wasm-imagemagick.esm-es5.js","scripts":{"build-wasm":"docker run --rm --workdir /code -v \"$PWD\":/code knicknic/wasm-imagemagick-build-tools:sdk-tag-1.38.12-64bit bash ./build.sh","build-ts":"rm -rf dist && tsc && npm run bundle","bundle":"npx tsc --project tsconfig-esm5.json && npx tsc --project tsconfig-esm6.json && npx tsc --project tsconfig-esm2018.json && mkdir -p dist/bundles && npx rollup -c rollup.config.js && npx rollup -c rollup.config.js --environment NODE_ENV:production","build":"npm run build-wasm && npm run build-ts","prepare":"npm run build && npm run magickApiJs && npm run copy","copy":"npm run copy-magickJs && npm run copy-magickWasm && mkdir -p dist && cp magick.js magickApi.js magick.wasm dist && mkdir -p dist/bundles && cp magick.js magickApi.js magick.wasm dist/bundles && cp magick.js magick.wasm spec/assets && cp -r spec/assets dist","copy-magickJs":"rm -rf magick.js && cp webworker.js magick.js && cat ImageMagick/utilities/magick.js >> magick.js","copy-magickWasm":"rm -rf magick.wasm && cp ImageMagick/utilities/magick.wasm .","magickApiJs":"cp dist/bundles/wasm-imagemagick.esm-es6.js magickApi.js","clean":"sh clean.sh","lint":"tslint \"src/**/*.ts\" \"spec/**/*.ts\"","lint-and-fix":"tslint \"src/**/*.ts\" \"spec/**/*.ts\" --fix","generateImEnums":"npx ts-node scripts/generateImEnums.ts","test":"npm run test-node && npm run test-browser","test-node-prepare":"cp tests/rotate/node_header.js tests/rotate/node.js && cat ImageMagick/utilities/magick.js >> tests/rotate/node.js && cp magick.wasm tests/rotate","test-node":"npm run test-node-prepare && cd tests/rotate && node node","test-browser-build":"tsc && browserify -d dist/spec/index.js -o dist/bundle.js","test-browser":"rm -rf dist && npm run test-browser-build  &&  npm run copy && ls -R && gulp --gulpfile spec/gulpfile.js jasmine","test-browser-server":"rm -rf dist && npm run test-browser-build && npm run copy && gulp --gulpfile spec/gulpfile.js jasmine-server","test-browser-start":"rm -rf dist && tsc && npm run copy && npm run test-browser-watch-all","test-browser-watch-all":"concurrently 'npm run test-browser-watch-build' 'npm run test-browser-watch-server' ","test-browser-watch-build":"onchange -i -v 'src/**/*' 'spec/**/*' -- npm run test-browser-build","test-browser-watch-server":"onchange  -k -v 'dist/bundle.js' -- gulp --gulpfile spec/gulpfile.js jasmine-server","apidocs":"typedoc --options typedoc.js --theme markdown","doc":"doctoc && npm run apidocs"},"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"author":{"name":"KnicKnic"},"license":"Apache-2.0","bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"homepage":"https://github.com/KnicKnic/WASM-ImageMagick","devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","@types/jasmine":"^2.8.11","@types/node":"^10.12.3","@types/shelljs":"^0.8.0","browserify":"^16.2.3","concurrently":"^4.0.1","doctoc":"^1.3.1","gulp":"^4.0.0","gulp-jasmine-browser":"^4.0.2","jasmine":"^3.3.0","onchange":"^5.1.0","puppeteer":"^0.13.0","rollup":"0.66.6","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"9.2.0","rollup-plugin-json":"3.1.0","rollup-plugin-node-resolve":"3.4.0","rollup-plugin-replace":"2.1.0","rollup-plugin-sourcemaps":"0.4.2","rollup-plugin-terser":"3.0.0","rollup-plugin-uglify-es":"0.0.1","shelljs":"^0.8.3","ts-node":"^7.0.1","ts-simple-ast":"^19.0.0","tslint":"^5.11.0","typedoc":"^0.13.0","typedoc-plugin-markdown":"^1.1.18","typescript":"^3.1.6","webpack-config-utils":"^2.3.1"},"dependencies":{"p-map":"^2.0.0","stacktrace-js":"^2.0.0"},"gitHead":"884d628a6bcc336fa6872c786f7662ad0dab800b","_id":"wasm-imagemagick@1.2.8","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-V7u80n7g+iAoV7sYgQKGSdG59J6/aSMGO0DDK0zxKnwOGjmVXyjP0yU4tX4cMrfC0t/Wk3I8TX7cmdbFQOYHpg==","shasum":"218e3d5cad9ccc2ebef30ad01fbe090814b38f33","tarball":"https://registry.npmjs.org/wasm-imagemagick/-/wasm-imagemagick-1.2.8.tgz","fileCount":259,"unpackedSize":9361276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPpexCRA9TVsSAnZWagAATnYP/1CqBHNMNOrJ9gQ/R2lf\nCzU3oasjPSObvyoEUu/ZljXZ69MhLhUpFq3TrQN3yTXZzP4FFd6QuZpBQpYK\nlboyVfyJ+Pv2EgFRJSjGekGo8SvBpdVRWnPKUXgxiorb9A8suzgr8zDcYXRt\n9PWHbzerxhYvozr6+X1QfhxqqT1hqqvqJyGbEDYK7GiPW4Swdnzu8V46tgj3\nwasyeC49HRxXvg7ZVX7rwf+j1P/aJbhNrDsE7CC4gLhMo3NYGscEbrEtwEDB\ndJcYrcvt4GXIbGn7QdR6R/TssEZDAIH2E8zIYPt2rSWEaGDHXFG/Wy7msOKR\nJ6sdT7jW0Mco5OjKDQjMoR67PNYXcAfVs4S3i4JiS1+EXSjwMbk8ul6M8Dhc\ncnvzOzHSso62gJO45OvZ1BpakOjhTk9osUajCyHCkOwD/oTB/VdFKkNvaZsS\nwnOrFvxpecuk8roAZ7YKigZkvJmyjsnp7+CPNhw2Hm5/9FC+9qKjEvz1QRTY\n1ASTZ1kZJ5rXfZCMICDVDG8BiymeJ8YRv7RuhNV0W6hbvGYG5wpMWjOEqdQQ\nEPvNlQhLkRlTilq1VKfMNrKY8RS/beG8p7u54HySYv974Or5wE+xacs+bADy\n4f6fCrU2YJ2hpsfFSIbPcl1cF+ohtzrkQ27LyfAP4f24KEa/hb7hCmUXOdP0\njxqW\r\n=2TDY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBjBfLU5To6bFVzve5Bw/DdZZHuGfgtJHlIEVSbvz4vqAiEAkqTeK0ecpw9zjskHc3haPD4cFcCX0lqNP8K/ulHnAOA="}]},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"_npmUser":{"name":"knicknic","email":"knicknic@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-imagemagick_1.2.8_1597937584219_0.6064134688059817"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-23T07:42:20.132Z","1.1.0":"2018-09-23T07:42:20.483Z","modified":"2022-05-24T01:41:44.446Z","1.1.1":"2018-09-28T08:09:01.319Z","1.2.0":"2018-11-18T01:03:10.577Z","1.2.1":"2018-11-21T04:15:52.795Z","1.2.2":"2019-06-23T05:52:14.934Z","1.2.3":"2019-06-23T11:30:12.841Z","1.2.4":"2019-08-28T06:16:56.985Z","1.2.5":"2019-08-28T08:17:32.205Z","1.2.7":"2019-09-08T14:44:25.869Z","1.2.8":"2020-08-20T15:33:04.514Z"},"maintainers":[{"name":"knicknic","email":"knicknic@gmail.com"}],"description":"Webassembly compilation of ImageMagick","homepage":"https://github.com/KnicKnic/WASM-ImageMagick","keywords":["wasm","webassembly","imagemagick","browser","image","processing"],"repository":{"type":"git","url":"git+https://github.com/KnicKnic/WASM-ImageMagick.git"},"author":{"name":"KnicKnic"},"bugs":{"url":"https://github.com/KnicKnic/WASM-ImageMagick/issues"},"license":"Apache-2.0","readme":"# Web assembly ImageMagick [![Build Status](https://dev.azure.com/oneeyedelf1/wasm-imagemagick/_apis/build/status/KnicKnic.WASM-ImageMagick)](https://dev.azure.com/oneeyedelf1/wasm-imagemagick/_build/latest?definitionId=1)\r\nThis project is not affiliated with [ImageMagick](https://www.imagemagick.org) , but is merely recompiling the code to be [WebAssembly](https://webassembly.org/). I did this because I want to bring the power of ImageMagick to the browser.\r\n\r\n**Table of Contents**\r\n\r\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\r\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\r\n- [Demos and examples](#demos-and-examples)\r\n- [Status](#status)\r\n  - [Image formats supported](#image-formats-supported)\r\n  - [Features **not** supported](#features-not-supported)\r\n- [API](#api)\r\n  - [High level API and utilities](#high-level-api-and-utilities)\r\n  - [Accessing stdout, stderr, exitCode](#accessing-stdout-stderr-exitcode)\r\n  - [low-level example](#low-level-example)\r\n- [Importing the library in your project](#importing-the-library-in-your-project)\r\n  - [With npm](#with-npm)\r\n  - [Loading directly from html file](#loading-directly-from-html-file)\r\n    - [Importing it as JavaScript standard module:](#importing-it-as-javascript-standard-module)\r\n    - [Using the UMD bundle in AMD projects (requirejs)](#using-the-umd-bundle-in-amd-projects-requirejs)\r\n    - [Using the UMD bundle without libraries](#using-the-umd-bundle-without-libraries)\r\n- [Build instructions](#build-instructions)\r\n- [Run tests](#run-tests)\r\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\r\n\r\n\r\n## Demos and examples\r\n\r\n * Simplest example. See [samples/rotate#code](samples/rotate#code). A simple webpage (plain javascript) that has image in array and loads magickApi.js to rotate file. Demonstration site [https://knicknic.github.io/imagemagick/rotate/](https://knicknic.github.io/imagemagick/rotate/)\r\n\r\n * Basic playground (React & TypeScript project): [![Basic playground (React & TypeScript project)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/wasm-imagemagick-basic-demo-y00u2).\r\n\r\n * Image Diff Example (React & TypeScript project): [![Basic playground for image diff (React & TypeScript project)](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/yvn6rkr16z).\r\n\r\n * [Interactive execute context demo](https://cancerberosgx.github.io/demos/WASM-ImageMagick/interactive-execute-context/). Add images, execute commands using different syntaxes, manage and reuse output/input images, and choose commands examples to learn ImageMagick. [Project lives here](./samples/interactive-execute-context)\r\n\r\n * [Playground with several transformation examples and image formats](https://cancerberosgx.github.io/autumn-leaves/#/convertDemo). It also shows the output of transformations made with ImageMagick in the browser to verify wasm-imagemagick output the right thing.  \r\n\r\n * [Picture Frame editor](https://cancerberosgx.github.io/autumn-leaves/#/imageFrame).\r\n\r\n * [https://knicknic.github.io/imagemagick/](https://knicknic.github.io/imagemagick/) a commandline sample of using ImageMagick\r\n    * For code see [samples/cmdline](samples/cmdline)\r\n\r\n * Used in [Croppy](https://knicknic.github.io/croppy/) to split webcomics from one long vertical strip into many panels.\r\n    * For code see https://github.com/KnicKnic/croppy.\r\n\r\n\r\n\r\n## Status\r\n\r\n### Image formats supported\r\n\r\nSupports PNG, TIFF, JPEG, BMP, GIF, [PhotoShop](https://www.adobe.com/products/photoshop.html), [GIMP](https://www.gimp.org/), and more! \r\n\r\nSee a list of known supported formats in this [demo](https://cancerberosgx.github.io/demos/WASM-ImageMagick/supported-formats/)\r\n\r\n### Features **not** supported \r\n\r\n * [Text](https://www.imagemagick.org/Usage/text/)\r\n * [Fourier Transforms](https://www.imagemagick.org/Usage/fourier/)\r\n * Formats not listed above, particularly webp.\r\n \r\n\r\n\r\n## API\r\n\r\n### Reference API Documentation\r\n\r\n[Reference API Documentation](./apidocs)\r\n\r\n\r\n### High level API and utilities\r\n\r\n`wasm-imagemagick` comes with some easy to use APIs for creating image files from urls, executing multiple commands reusing output images and nicer command syntax, and utilities to handle files, html images, input elements, image comparison, metadata extraction, etc. Refer to [API Reference Documentation](./apidocs) for details.\r\n\r\n```ts\r\nimport { buildInputFile, execute, loadImageElement } from 'wasm-imagemagick'\r\n\r\nconst { outputFiles, exitCode} = await execute({\r\n  inputFiles: [await buildInputFile('http://some-cdn.com/foo/fn.png', 'image1.png')],\r\n  commands: [\r\n    'convert image1.png -rotate 70 image2.gif',\r\n    // heads up: the next command uses 'image2.gif' which was the output of previous command:\r\n    'convert image2.gif -scale 23% image3.jpg',\r\n  ],\r\n})\r\nif(exitCode !== 0)\r\n    await loadImageElement(outputFiles[0], document.getElementById('outputImage'))\r\n```\r\n\r\n### Accessing stdout, stderr, exitCode\r\n\r\nThis other example executes `identify` command to extract information about an image. As you can see, we access `stdout` from the execution result and check for errors using `exitCode` and `stderr`: \r\n\r\n```ts\r\nimport { buildInputFile, execute } from 'wasm-imagemagick'\r\n\r\nconst { stdout, stderr, exitCode } = await execute({\r\n    inputFiles: [await buildInputFile('foo.gif')], \r\n    commands: `identify foo.gif`\r\n})\r\nif(exitCode === 0) \r\n    console.log('foo.gif identify output: ' + stdout.join('\\n'))\r\nelse \r\n    console.error('foo.gif identify command failed: ' + stderr.join('\\n'))\r\n```\r\n\r\n### low-level example\r\n\r\nAs demonstration purposes, the following example doesn't use any helper provided by the library, only the low level `call()` function which only accept one command, in array syntax only:\r\n\r\n```js\r\nimport { call } from 'wasm-imagemagick'\r\n\r\n// build an input file by fetching its content\r\nconst fetchedSourceImage = await fetch(\"assets/rotate.png\")\r\nconst content = new Uint8Array(await fetchedSourceImage.arrayBuffer());\r\nconst image = { name: 'srcFile.png', content }\r\n\r\nconst command = [\"convert\", \"srcFile.png\", '-rotate', '90', '-resize', '200%', 'out.png']\r\nconst result = await call([image], command)\r\n\r\n// is there any errors ?\r\nif(result.exitCode !== 0)\r\n    return alert('There was an error: ' + result.stderr.join('\\n'))\r\n\r\n// response can be multiple files (example split) here we know we just have one\r\nconst outputImage = result.processedFiles[0]\r\n\r\n// render the output image into an existing <img> element\r\nconst outputImage = document.getElementById('outputImage')\r\noutputImage.src = URL.createObjectURL(outputImage.blob)\r\noutputImage.alt = outputImage.name\r\n```\r\n\r\n\r\n## Importing the library in your project\r\n\r\n### With npm\r\n\r\n```sh\r\nnpm install --save wasm-imagemagick\r\n```\r\n\r\n**IMPORTANT:  \r\n\r\n**Don't forget to copy `magick.wasm` and `magick.js`** files to the folder where your `index.html` is being served:\r\n\r\n```sh\r\ncp node_modules/wasm-imagemagick/dist/magick.wasm .\r\ncp node_modules/wasm-imagemagick/dist/magick.js .\r\n```\r\n\r\nThen you are ready to import the library in your project like this: \r\n\r\n```ts\r\nimport { execute} from 'wasm-imagemagick'\r\n```\r\n\r\nor like this if you are not using standard modules:\r\n\r\n```ts\r\nconst execute = require('wasm-imagemagick').execute\r\n```\r\n\r\n\r\n### Loading directly from html file\r\n\r\nIf you are not working in a npm development environment you can still load the library bundle .js file. It supports being imported as JavaScript standard module or as a UMD module.\r\n\r\n#### Importing magickApi.js as a JavaScript standard module: \r\n\r\nBasic version, just reference online https://knicknic.github.io/wasm-imagemagick/magickApi.js no files needed at all.\r\n\r\nSee [samples/rotate#code](samples/rotate#code).\r\n\r\nRelevant portions called out below `\"...\"` means code is missing from example\r\n```html\r\n  <script type='module'>\r\n    //import the library to talk to imagemagick\r\n    import * as Magick from 'https://knicknic.github.io/wasm-imagemagick/magickApi.js';\r\n\r\n    // ...\r\n\r\n    // Fetch the image to rotate, and call image magick\r\n    let DoMagickCall = async function () {\r\n      // ....\r\n\r\n      // calling image magick with one source image, and command to rotate & resize image\r\n      let processedFiles = await Magick.Call([{ 'name': 'srcFile.png', 'content': sourceBytes }], [\"convert\", \"srcFile.png\", \"-rotate\", \"90\", \"-resize\", \"200%\", \"out.png\"]);\r\n\r\n      // ...\r\n    };\r\n    DoMagickCall();\r\n  </script>\r\n``` \r\n\r\n[Working example source code](samples/rotate/index.html).\r\n\r\n\r\n#### Below examples need additional files coppied: \r\n\r\nCopy `magick.js`, `magick.wasm` in the same folder as your html file.:\r\n\r\n#### Importing a bundle as a JavaScript standard module: \r\n\r\n\r\n```html\r\n<script type=\"module\">\r\n    import { execute, loadImageElement, buildInputFile } from '../../dist/bundles/wasm-imagemagick.esm-es2018.js'\r\n    // ... same snippet as before\r\n</script>\r\n```\r\n\r\n[Working example source code](./tests/bundles/esm-test.html)\r\n\r\n\r\n#### Using the UMD bundle in AMD projects (requirejs)\r\n\r\n```html\r\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\"></script>\r\n<script src=\"../../dist/bundles/wasm-imagemagick.umd-es5.js\"></script>\r\n<script>\r\nrequire(['wasm-imagemagick'], function (WasmImagemagick) {\r\n    const { execute, loadImageElement, buildInputFile } = WasmImagemagick\r\n    // ... same snippet as before\r\n```\r\n\r\n[Working example source code](./tests/bundles/umd-test-requirejs.html)\r\n\r\n\r\n#### Using the UMD bundle without libraries\r\n\r\n```html\r\n<script src=\"../../dist/bundles/wasm-imagemagick.umd-es5.js\"></script>\r\n<script>\r\n    const { execute, loadImageElement, buildInputFile } = window['wasm-imagemagick']\r\n    // ... same snippet as before\r\n```\r\n\r\n[Working example source code](./tests/bundles/umd-test-nolibrary.html)\r\n\r\n\r\n\r\n## Build instructions\r\n\r\n```sh\r\ngit clone --recurse-submodules https://github.com/KnicKnic/WASM-ImageMagick.git\r\n\r\ncd WASM-ImageMagick\r\n\r\n#ubuntu instructions\r\n#   install node\r\nsudo snap install --edge node --classic\r\n#   install typescript\r\nsudo npm install typescript -g\r\n#   install docker\r\ncurl -fsSL https://get.docker.com -o get-docker.sh\r\nsh get-docker.sh\r\n#   be sure to add your user to the to the docker group and relogin\r\n\r\n# install and run build\r\nnpm install\r\n\r\n\r\n#windows instructions\r\n# currently broken\r\n# If you really want a build, create a PR, \r\n# a build will get kicked off, click show all checks -> Details -> top right of the details page (in artifcats) \r\n\r\n# docker run --rm -it --workdir /code -v %CD%:/code wasm-imagemagick-build-tools bash ./build.sh\r\n```\r\n\r\nProduces `magick.js`, `magickApi.js`, & `magick.wasm` in the current folder.\r\n\r\n## Run tests\r\n\r\n`npm test` will run all the tests.\r\n\r\n`npm run test-browser` will run spec in a headless chrome browser. These tests are located at `./spec/`. \r\n\r\n`npm run test-browser-server` will serve the test so you can debug them with a browser. \r\n\r\n`npm run test-browser-start` will run the server and start watching for file changes, recompile and restart the server for agile development.\r\n\r\n`npm test-node` will run some tests with nodejs located at `./tests/rotate`.\r\n","readmeFilename":"Readme.md"}