Nicely Presented Misnomer

    ts-imgix
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.18 • Public • Published

    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-imgix

    Development

    yarn
    npm run start
    

    Keywords

    none

    Install

    npm i ts-imgix

    DownloadsWeekly Downloads

    708

    Version

    0.0.18

    License

    none

    Unpacked Size

    73.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • unsplash