1.0.11 • Published 1 year ago

@simpleimg/src-builder v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Simple Image Cloud - Src Builder for Javascript

This module helps you build image src for Simple Image Cloud easily. It allows you to serve images from Simple Image Cloud CDN with transformations and variations easily.

Install

yarn add @simpleimg/src-builder

or

npm install @simpleimg/src-builder

Documentation

You can find the documentation for the Src Builder here.

Quick Usage

import srcBuilder from '@simpleimg/src-builder';

const src = srcBuilder({
	account: '[YOUR_ACCOUNT_ID]',
	src: 'image-1.jpg',
	width: 500
});

console.log(src);
// https://[YOUR_ACCOUNT_ID].simpleimg.io/image-1.jpg?w=500

Feedback

We want to hear your issue reports and feature requests at support@simpleimagecloud.com

1.0.11

1 year ago

1.0.10

2 years ago

1.0.2

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

3 years ago