{"_id":"wasm-vips","_rev":"4217333","name":"wasm-vips","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","dist-tags":{"latest":"0.0.16"},"maintainers":[{"name":"kleisauke","email":""}],"time":{"modified":"2026-03-04T17:12:36.000Z","created":"2020-09-01T10:58:06.029Z","0.0.16":"2025-11-07T13:00:53.317Z","0.0.15":"2025-09-17T13:40:19.585Z","0.0.14":"2025-07-10T12:36:14.354Z","0.0.13":"2025-04-16T10:54:29.413Z","0.0.12":"2025-03-16T13:51:50.751Z","0.0.11":"2024-10-31T14:09:59.232Z","0.0.10":"2024-08-14T08:15:23.678Z","0.0.9":"2024-06-01T12:24:51.818Z","0.0.8":"2024-03-17T11:25:55.640Z","0.0.7":"2023-11-12T13:34:22.827Z","0.0.6":"2023-11-11T17:51:00.721Z","0.0.5":"2023-04-27T10:39:13.474Z","0.0.4":"2022-11-03T11:02:36.175Z","0.0.3":"2022-07-25T19:18:55.554Z","0.0.2":"2022-04-04T13:06:57.018Z","0.0.1":"2020-09-01T10:58:06.029Z"},"users":{},"author":{"name":"Kleis Auke Wolthuizen"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"versions":{"0.0.16":{"name":"wasm-vips","version":"0.0.16","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.5"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"gitHead":"263bcedf4484deb487c1902c4b8fac5926b0b348","_id":"wasm-vips@0.0.16","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"4519f25fdb07234cd0ec10850972c4a42773173d","size":4904856,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.16.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65b977ba-8e73-474e-9c44-738c89215609"}},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-vips_0.0.16_1762520452966_0.6416165350375056"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-07T13:00:53.317Z","publish_time":1762520453317,"_source_registry_name":"default","_cnpm_publish_time":1762520453317},"0.0.15":{"name":"wasm-vips","version":"0.0.15","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.5"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.15","gitHead":"ed31b2bc2cc28beb5556ea793a1973997398067a","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"abc0d2f946fe2b784857657e55855705493d039d","size":4909018,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.15.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65b977ba-8e73-474e-9c44-738c89215609"}},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-vips_0.0.15_1758116419325_0.9797435285066163"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-17T13:40:19.585Z","publish_time":1758116419585,"_source_registry_name":"default","_cnpm_publish_time":1758116419585},"0.0.14":{"name":"wasm-vips","version":"0.0.14","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.4"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.14","gitHead":"6cdc99f478ac9f6d7e8c40b549ab1449ae35a798","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"shasum":"97958c9bda1dbe99fda27199c0089cc80bb9f18d","size":4900936,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.14.tgz"},"_npmUser":{"name":"kleisauke","actor":{"name":"kleisauke","type":"user","email":"npm@kleisauke.nl"},"email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-vips_0.0.14_1752150974067_0.9579578602711707"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-10T12:36:14.354Z","publish_time":1752150974354,"_source_registry_name":"default","_cnpm_publish_time":1752150974354},"0.0.13":{"name":"wasm-vips","version":"0.0.13","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.4"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.13","gitHead":"ace364887af43745f1b4e2e3932f0d7b84726d30","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"bc0d99b83f325f9504d5ca03ebef1b7b8f400578","size":4895538,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.13.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-vips_0.0.13_1744800869114_0.5920878414043496"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-16T10:54:29.413Z","publish_time":1744800869413,"_source_registry_name":"default","_cnpm_publish_time":1744800869413},"0.0.12":{"name":"wasm-vips","version":"0.0.12","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.4"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.12","gitHead":"ebceee8d0c222b6c436b9a57543817aab1de25c5","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"717bc8de941d5021639469ff7ef4c96060825df3","size":4894816,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.12.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-vips_0.0.12_1742133110473_0.883542589434527"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-16T13:51:50.751Z","publish_time":1742133110751,"_source_registry_name":"default","_cnpm_publish_time":1742133110751},"0.0.11":{"name":"wasm-vips","version":"0.0.11","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.4"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.11","gitHead":"c2da7a2f49e08d32798f0858494a5cd5f607cca4","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"shasum":"d147f54ef19c6f110135958acae6004968488950","size":4853758,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.11.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.11_1730383798941_0.24015090208942702"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-31T14:09:59.232Z","publish_time":1730383799232,"_source_registry_name":"default","_cnpm_publish_time":1730383799232},"0.0.10":{"name":"wasm-vips","version":"0.0.10","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json","./vips.wasm":"./lib/vips.wasm","./vips-heif.wasm":"./lib/vips-heif.wasm","./vips-jxl.wasm":"./lib/vips-jxl.wasm","./vips-resvg.wasm":"./lib/vips-resvg.wasm"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.3"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/modules-pre.js","src/vips-library.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.10","gitHead":"e0c3cc954d605273973413a92a8ba29645a3fcd8","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"shasum":"5e2f883cd6fdc6b15d5b25bbf9e82f6e82848449","size":4806676,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.10.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.10_1723623323473_0.3490248302127479"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-14T08:15:23.678Z","publish_time":1723623323678,"_source_registry_name":"default","_cnpm_publish_time":1723623323678},"0.0.9":{"name":"wasm-vips","version":"0.0.9","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.3"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/fixed-threadpool-web.js","src/modules-pre.js","src/workaround-cors-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.9","gitHead":"c1f4c95614cfc82e56ce765f6d4b3cda3d5009d0","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"shasum":"c37755a0b465b65f838bd8de8759ba26b559baf3","size":4736057,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.9.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.9_1717244691560_0.31336408794297865"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-01T12:24:51.818Z","publish_time":1717244691818,"_source_registry_name":"default","_cnpm_publish_time":1717244691818},"0.0.8":{"name":"wasm-vips","version":"0.0.8","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.1"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/fixed-threadpool-web.js","src/locatefile-cors-pre.js","src/modules-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.8","gitHead":"136c45ec70debe2653f7482fd1a4764e73dc2c5c","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"6f52244d03e95cf155481b64a08d59f1e2e3e149","size":4716317,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.8.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.8_1710674755376_0.4177319687013512"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-17T11:25:55.640Z","publish_time":1710674755640,"_source_registry_name":"default","_cnpm_publish_time":1710674755640},"0.0.7":{"name":"wasm-vips","version":"0.0.7","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.1"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/fixed-threadpool-web.js","src/locatefile-cors-pre.js","src/modules-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.7","gitHead":"ba68f82dc7a8ecc36a7f6d1b1b5b9155dc1642d1","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"shasum":"9a745dc6720c67281bf5a3f8bc160f77afaaf025","size":4603656,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.7.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.7_1699796062562_0.8471295205693792"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-12T13:34:22.827Z","publish_time":1699796062827,"_source_registry_name":"default","_cnpm_publish_time":1699796062827},"0.0.6":{"name":"wasm-vips","version":"0.0.6","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{".":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"./versions":"./versions.json"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^17.0.0","serve":"^14.2.1"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips"],"ignore":["src/closure-externs/wasm-vips.js","src/fixed-threadpool-web.js","src/locatefile-cors-pre.js","src/modules-pre.js"],"env":["browser","node","mocha"]},"_id":"wasm-vips@0.0.6","gitHead":"bee852a2b142dff17490d27575f0631e9c249bc0","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"shasum":"4ca05e8e1b9cb798c9fa116183d6a2b5f298bd03","size":4833317,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.6.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.6_1699725060299_0.9876876759811442"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-11T17:51:00.721Z","publish_time":1699725060721,"_source_registry_name":"default","_cnpm_publish_time":1699725060721},"0.0.5":{"name":"wasm-vips","version":"0.0.5","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/vips-node.mjs","require":"./lib/vips-node.js"},"default":"./lib/vips.js"},"main":"lib/vips-node.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run -it --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^16.0.1","serve":"^14.2.0"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips","expect","cleanup"],"ignore":["src/closure-externs/wasm-vips.js","src/fixed-threadpool-web.js","src/locatefile-cors-pre.js","src/modules-pre.js","test/bench/perf.js"],"env":["browser","node","mocha"]},"gitHead":"ea1c5d170fa994861556d1899414f5f15ada37f4","_id":"wasm-vips@0.0.5","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"d595e7adbb58fed7d70b8b81b77b7c38350e3467","size":4609246,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.5.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.5_1682591953195_0.6341348407498069"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-27T10:39:13.474Z","publish_time":1682591953474,"_source_registry_name":"default","_cnpm_publish_time":1682591953474},"0.0.4":{"name":"wasm-vips","version":"0.0.4","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/node-es6/vips.mjs","require":"./lib/node-commonjs/vips.js"},"default":"./lib/vips.js"},"main":"lib/node-commonjs/vips.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^16.0.1","serve":"^14.0.1"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips","expect","cleanup"],"ignore":["src/closure-externs/wasm-vips.js","src/locatefile-cors-pre.js","src/modules-node-pre.js","src/modules-web-pre.js","test/bench/perf.js"],"env":["browser","node","mocha"]},"gitHead":"4584bd9fe872b068f6fc8f4a8cfda918d79be68c","_id":"wasm-vips@0.0.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"shasum":"ce8a0588a7ee8e4d7ce024f23037393a1fafff38","size":2753723,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.4.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.4_1667473355894_0.4989503614781652"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T11:34:27.379Z","publish_time":1667473356175,"_cnpm_publish_time":1667473356175},"0.0.3":{"name":"wasm-vips","version":"0.0.3","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{"browser":{"import":"./lib/vips-es6.js","require":"./lib/vips.js"},"node":{"import":"./lib/node-es6/vips.mjs","require":"./lib/node-commonjs/vips.js"},"default":"./lib/vips.js"},"main":"lib/node-commonjs/vips.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^16.0.1","serve":"^14.0.1"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips","expect","cleanup"],"ignore":["src/closure-externs/wasm-vips.js","src/locatefile-cors-pre.js","test/bench/perf.js"],"env":["browser","node","mocha"]},"gitHead":"3b202b4d8e68e679065d81252791776d7b24074e","_id":"wasm-vips@0.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"5f106369b6dfe6819928b25dc164db0ee68e8475","size":1941574,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.3.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.3_1658776735299_0.07396923934741162"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-25T19:19:00.391Z","publish_time":1658776735554,"_cnpm_publish_time":1658776735554},"0.0.2":{"name":"wasm-vips","version":"0.0.2","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"type":"commonjs","exports":{"node":{"import":"./lib/node-es6/vips.mjs","require":"./lib/node-commonjs/vips.js"},"default":"./lib/vips.js"},"main":"lib/node-commonjs/vips.js","browser":"lib/vips.js","types":"lib/vips.d.ts","scripts":{"build":"docker build -t wasm-vips . && docker run --rm -v $(pwd):/src wasm-vips ./build.sh","test":"npm run test:lint && npm run test:node","test:lint":"semistandard","test:node":"npm --prefix test/unit test","test:web":"serve -c test/unit/serve.json","bench":"npm run bench:node","bench:node":"npm --prefix test/bench test","bench:web":"serve -c test/bench/serve.json"},"devDependencies":{"semistandard":"^16.0.1","serve":"^13.0.2"},"engines":{"node":">=16.4.0"},"semistandard":{"globals":["vips","expect","cleanup"],"ignore":["src/closure-externs/wasm-vips.js","src/locatefile-cors-pre.js","test/bench/perf.js"],"env":["browser","node","mocha"]},"gitHead":"3ac8ebbaaeee6ba2152ef27504e831fa6d7e7170","_id":"wasm-vips@0.0.2","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"8fba1489943b6f6fb999c8135cf66de1d8d83dc0","size":1950782,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.2.tgz"},"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"maintainers":[{"name":"kleisauke","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.2_1649077616786_0.5909135114237944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-04T13:40:32.002Z","publish_time":1649077617018,"_cnpm_publish_time":1649077617018},"0.0.1":{"name":"wasm-vips","version":"0.0.1","description":"libvips for the browser and Node.js, compiled to WebAssembly with Emscripten","homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"repository":{"type":"git","url":"git+https://github.com/kleisauke/wasm-vips.git"},"license":"MIT","author":{"name":"Kleis Auke Wolthuizen"},"main":"lib/node/vips.js","scripts":{"build:dockerimage":"docker build -t wasm-vips .","build:emscripten":"docker run --rm -v $(pwd):/src wasm-vips ./build.sh -e web","build":"npm run build:dockerimage && npm run build:emscripten","test:browser":"serve -c test/unit/serve.json","test":"node --experimental-wasm-threads --experimental-wasm-simd --experimental-wasm-bulk-memory node_modules/mocha/bin/mocha -s 5000 -t 60000 ./test/unit/*.js -r test/unit/node-helper.js","bench:browser":"serve -c test/bench/serve.json","bench":"cd test/bench && npm run test"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.1.3","serve":"^11.3.2"},"gitHead":"e285fbe91a167e741648b31c0249593bcbe3a90b","_id":"wasm-vips@0.0.1","_nodeVersion":"14.9.0","_npmVersion":"6.14.3","dist":{"shasum":"bd2639ae47f956d575936a4e22c4357a3c5b9d6a","size":1774490,"noattachment":false,"key":"/wasm-vips/-/wasm-vips-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wasm-vips/download/wasm-vips-0.0.1.tgz"},"maintainers":[{"name":"kleisauke","email":""}],"_npmUser":{"name":"kleisauke","email":"npm@kleisauke.nl"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wasm-vips_0.0.1_1598957885778_0.9245194053975545"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-26T12:33:09.317Z","publish_time":1598957886029,"_cnpm_publish_time":1598957886029}},"readme":"# wasm-vips\n\n[libvips](https://www.libvips.org/) for the browser and Node.js, compiled\nto WebAssembly with Emscripten.\n\nPrograms that use wasm-vips don't manipulate images directly, instead\nthey create pipelines of image processing operations building on a source\nimage. When the end of the pipe is connected to a destination, the whole\npipeline executes at once, streaming the image in parallel from source to\ndestination a section at a time. Because wasm-vips is parallel, it's quick,\nand because it doesn't need to keep entire images in memory, it's light.\n\n> [!NOTE]\n> This library is still under early development. See: [#1](\nhttps://github.com/kleisauke/wasm-vips/issues/1).\n\n## Engine support\n\nAn engine that supports [WebAssembly SIMD](https://webassembly.org/features/).\nThis is present on most major browser engines and is part of [Baseline 2023](\nhttps://web.dev/baseline/2023).\n\nFor V8-based engines, at least version 9.1.54 is required to match the final\nSIMD opcodes, this corresponds to Chrome 91, Node.js 16.4.0 and Deno 1.9.0.\n\nFor Spidermonkey-based engines, the JavaScript engine used in Mozilla Firefox\nand whose version numbers are aligned, at least version 89 is required.\n\nFor JavaScriptCore-based engines, the built-in JavaScript engine for WebKit,\nat least version 615.1.17 is required. This corresponds to Safari 16.4.\n\n| ![Chrome](https://github.com/alrra/browser-logos/raw/main/src/chrome/chrome_32x32.png)<br>Chrome | ![Firefox](https://github.com/alrra/browser-logos/raw/main/src/firefox/firefox_32x32.png)<br>Firefox | ![Safari](https://github.com/alrra/browser-logos/raw/main/src/safari/safari_32x32.png)<br>Safari | ![Edge](https://github.com/alrra/browser-logos/raw/main/src/edge/edge_32x32.png)<br>Edge | ![Node.js](https://github.com/alrra/browser-logos/raw/main/src/node.js/node.js_32x32.png)<br>Node.js | ![Deno](https://github.com/alrra/browser-logos/raw/main/src/deno/deno_32x32.png)<br>Deno |\n|:---:|:---:|:---:|:---:|:---:|:---:|\n| :heavy_check_mark:<br>[version 91+](https://chromestatus.com/feature/6533147810332672) | :heavy_check_mark:<br>[version 89+](https://bugzil.la/1695585) | :heavy_check_mark:<br>[version 16.4+](https://webkit.org/blog/13966/webkit-features-in-safari-16-4/#javascript-and-webassembly) | :heavy_check_mark:<br>[version 91+](https://chromestatus.com/feature/6533147810332672) | :heavy_check_mark:<br>[version 16.4+](https://github.com/nodejs/node/pull/38273) | :heavy_check_mark:<br>[version 1.9+](https://github.com/denoland/deno/pull/10152) |\n\n## Installation\n\nwasm-vips can be installed with your favorite package manager.\n\n```shell\nnpm install wasm-vips\n```\n\n```shell\nyarn add wasm-vips\n```\n\n## Usage\n\n### Browser\n\nRequires `vips.js` (or `vips-es6.js`) and `vips.wasm` to be served from\nthe same directory.\n\nSince wasm-vips requires [the `SharedArrayBuffer` API](\nhttps://caniuse.com/sharedarraybuffer), the website needs to opt-in to\na cross-origin isolated state, by serving the following HTTP headers on\nboth the main document and `vips*.js` script:\n\n```http\nCross-Origin-Embedder-Policy: require-corp\nCross-Origin-Opener-Policy: same-origin\n```\n<sup>See <https://web.dev/coop-coep/> for more information.</sup>\n\nAfter that, wasm-vips can be imported and initialized like this:\n\n```html\n<script src=\"vips.js\"></script>\n<script type=\"module\">\n  const vips = await Vips();\n</script>\n```\n\nOr, if you prefer to use ES6 modules:\n\n```html\n<script type=\"module\">\n  import Vips from './vips-es6.js';\n  const vips = await Vips();\n</script>\n```\n<sup>This requires support for [ES6 modules in workers](https://caniuse.com/mdn-api_worker_worker_ecmascript_modules).</sup>\n\n### Node.js\n\nOn Node.js, wasm-vips is published as [a dual-package](\nhttps://nodejs.org/api/packages.html#packages_conditional_exports), so it\ncan be imported as both CommonJS and ES6 module:\n\n```js\n// ES6 module\nimport Vips from 'wasm-vips';\n\n// CommonJS module\nconst Vips = require('wasm-vips');\n```\n\nThen, wasm-vips can be initialized like this:\n\n```js\n// Usage with top-level await\nconst vips = await Vips();\n\n// Usage with .then\nVips().then(vips => {\n  // Code here\n});\n```\n\n### Deno\n\nOn Deno, the web ES6 module can be reused and imported from a CDN such as\n[jsDelivr](https://www.jsdelivr.com/):\n\n```js\nimport Vips from 'https://cdn.jsdelivr.net/npm/wasm-vips/lib/vips-es6.js';\n\nconst vips = await Vips();\n```\n\n## Example\n\n```ts\n// Load an image from a file\nusing im = vips.Image.newFromFile('owl.jpg');\n\n// Put im at position (100, 100) in a 3000 x 3000 pixel image,\n// make the other pixels in the image by mirroring im up / down /\n// left / right, see\n// https://www.libvips.org/API/current/method.Image.embed.html\nusing embed = im.embed(100, 100, 3000, 3000, {\n  extend: 'mirror'\n});\n\n// Multiply the green (middle) band by 2, leave the other two alone\nusing multiply = embed.multiply([1, 2, 1]);\n\n// Make an image from an array constant, convolve with it\nusing mask = vips.Image.newFromArray([\n  [-1, -1, -1],\n  [-1, 16, -1],\n  [-1, -1, -1]\n], 8.0);\n\nusing convolve = multiply.conv(mask, {\n  precision: 'integer'\n});\n\n// Finally, write the result to a buffer\nconst outBuffer = convolve.writeToBuffer('.jpg');\n```\n<sup>If not transpiling, this requires support for the [`using`](\nhttps://caniuse.com/mdn-javascript_statements_using) keyword. On Node.js,\nyou can enable it with the `--js-explicit-resource-management` CLI flag.\n</sup>\n","_attachments":{},"homepage":"https://github.com/kleisauke/wasm-vips","bugs":{"url":"https://github.com/kleisauke/wasm-vips/issues"},"license":"MIT"}