JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2619
  • Score
    100M100P100Q113688F
  • License MIT

Packages to help us wrangle images at Shopify.

Package Exports

  • @shopify/images/optimize
  • @shopify/images/optimize.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shopify/images) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@shopify/images

License: MIT npm version

Tools to help us wrangle images at Shopify.

Installation

$ yarn add @shopify/images

API

optimize.js

This package exports helpers for optimizing images. The following members are exported:

  • svgOptions: an object containing our recommended options for using SVGO.