0.0.24 • Published 2 years ago
ts-imgix v0.0.24
ts-imgix
Strongly-typed imgix URL builder function, buildImgixUrl.
import * as assert from 'assert';
import { buildImgixUrl } from 'ts-imgix';
assert.strictEqual(
buildImgixUrl('https://foo.com')({
auto: {
format: true,
},
w: 300,
}),
'https://foo.com/?auto=format&w=300',
);

Installation
yarn add ts-imgix
npm install ts-imgixDevelopment
yarn
npm run start0.0.24
2 years ago
0.0.23
2 years ago
0.0.22
2 years ago
0.0.21
2 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.15-test
4 years ago
0.0.17
4 years ago
0.0.18
4 years ago
0.0.16
4 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago