This lightweight, dependency-free JavaScript SDK is designed specifically for browser use. It provides utility functions to generate image and video src
URLs using ImageKit transformations and to upload files to the ImageKit media library.
For server-side applications with Node.js, please refer to our official Node.js SDK.
You can install the SDK in your project using npm or yarn.
npm install @imagekit/javascript
The SDK is written in TypeScript, offering first-class TypeScript support. Enjoy excellent type safety and IntelliSense in your IDE. You can use it in your TypeScript projects without any additional configuration.
To enable type checking in JavaScript projects, add //@ts-check
at the top of your JavaScript files. This will activate type checking in your IDE.
Refer to the ImageKit official documentation for more details on how to use the SDK.
For a detailed history of changes, refer to CHANGELOG.md.