npm.io
1.0.0-beta.11 • Published 5 years ago

@cloudinary/svelte

Licence
MIT
Version
1.0.0-beta.11
Deps
1
Size
146 kB
Vulns
0
Weekly
0
Stars
49
DeprecatedThis package is deprecated

Cloudinary Svelte SDK

Overview

This sdk includes an AdvancedImage component that renders an image and supports multiple plugins.

Install

npm i @cloudinary/svelte

Development

  1. clone repo
  2. npm run quickstart

Usage

<script>
    import {CloudinaryImage} from '@cloudinary/url-gen';
    import { AdvancedImage } from '@cloudinary/svelte';
    const img = new CloudinaryImage('sample', {cloudName: 'demo'});
</script>

<AdvancedImage cldImg={img}/>

Keywords