ts-imgix
ts-imgix copied to clipboard
feat: support secure images
- Adds
sparam support. If the user already has a signature, this allows passing it through. - Adds a second argument to
buildImgixUrlto take in a secret URL token. If this is provided andsis not provided, ansparameter is generated.
If you think these make sense to add to this library, I can update the README.
Related documentation
- Securing Images - Imgix docs on securing image URLs
- Securing URLs Blueprint - Imgix Blueprint docs on how to create a signature