libvips and its dependencies are provided as pre-compiled shared libraries for the most common operating systems and CPU architectures.
During npm install
, these binaries are fetched as tarballs from
this repository via HTTPS and stored locally within node_modules/sharp/vendor
.
The base URL can be overridden using the SHARP_DIST_BASE_URL
environment variable.
Most people will not need to do this; proceed with caution.
Run the top-level build script without parameters for help.
One build script is used to (cross-)compile the same shared libraries within multiple containers.
The output of libvips' build-win64 "web" target is post-processed within a container.
These scripts are licensed under the terms of the Apache 2.0 Licence.
The shared libraries contained in the tarballs are distributed under the terms of various licences, all of which are compatible with the Apache 2.0 Licence.