A set of lighter packages for using Cloudinary
Build URL for images and videos based on configurations.
import { buildUrl } from 'cloudinary-build-url'
const src = buildUrl('example', {
  cloud: {
    cloudName: 'demo',
  },
  transformations: {
    resize: {
      type: 'scale',
      width: 500,
      height: 500,
      aspectRatio: "16:9"
    }
  }
})
console.log(src)
To use cloudinary-build-url:
npm i cloudinary-build-url
#OR
yarn add cloudinary-build-urlcloudinary-build-url supports TypeScript. In order to start using the lib with TypeScript, please install @cld-apis/types as devDependencies.
npm i -D @cld-apis/types
#OR
yarn add -D @cld-apis/typesConstants for transformations used in Cloudinary APIs, and other helper functionalities.
Defined types used in cloudinary-build-url for TypeScript
Cloudinary API plugin for Vue-cli created projects
Maintained by Maya Shavin