typescript-imgix-url-params
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

typescript-imgix-url-params

TypeScript definitions of imgix's URL parameters.

NPM version NPM downloads Follow JamieMason on GitHub Follow fold_left on Twitter

🌩 Installation

npm install --save-dev typescript-imgix-url-params

⚠️ Status

This package was created on 15 Nov 2022, it is new but please give it a try and give your feedback.

🕹 Usage

import type { ImgixUrl } from 'typescript-imgix-url-params';

const params: ImgixUrl.Params = {
  w: 100,
  h: 100,
  fm: 'pjpg',
};

⚙️ Contributing

To update this package we regenerate the schema based on the latest contents from https://github.com/imgix/imgix-url-params:

  1. Bump imgix-url-params in package.json.
  2. yarn install
  3. yarn build
  4. npm publish .

Readme

Keywords

Package Sidebar

Install

npm i typescript-imgix-url-params

Weekly Downloads

48

Version

0.3.1

License

MIT

Unpacked Size

39.1 kB

Total Files

4

Last publish

Collaborators

  • fold_left