👍 a URL builder for Thumbor

Usage no npm install needed!

<script type="module">
  import mtucoursesThumbor from 'https://cdn.skypack.dev/@mtucourses/thumbor';




🏗 Usage

import {Thumbor} from '@mtucourses/thumbor';

const thumbor = new Thumbor({url: 'https://thumbor.example.com', key: 'a-sample-key'});

const url = thumbor
  .resize(500, 0)

🧰 Development

# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch

To publish a new package version, run npm version [patch|minor|major] and then git push && git push --tags on the master branch.

Adapted from this package.