Gathering detailed insights and metrics for imagekit-media-library-widget
Gathering detailed insights and metrics for imagekit-media-library-widget
Gathering detailed insights and metrics for imagekit-media-library-widget
Gathering detailed insights and metrics for imagekit-media-library-widget
edited-imagekit-uppy-plugin
A plugin for Uppy, which allows you to upload files directly to ImageKit.io media library.
imagekit-uppy-plugin
A plugin for Uppy, which allows you to upload files directly to ImageKit.io media library.
imagekit-ckeditor5-plugin
CKEditor 5 integration for ImageKit, including Media Library Widget
npm install imagekit-media-library-widget
Typescript
Module System
Node Version
NPM Version
TypeScript (87.87%)
JavaScript (12.13%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
4 Stars
72 Commits
10 Forks
5 Watchers
2 Branches
6 Contributors
Updated on Jul 10, 2025
Latest Version
2.1.2
Package Id
imagekit-media-library-widget@2.1.2
Unpacked Size
87.22 kB
Size
11.48 kB
File Count
14
NPM Version
10.8.2
Node Version
18.20.8
Published on
Jul 10, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This plugin provides access to ImageKit Media Library through an embeddable UI within your own CMS or website.
1<script src="https://unpkg.com/imagekit-media-library-widget/dist/imagekit-media-library-widget.min.js"></script>
Install imagekit-media-library-widget
:
1npm install --save imagekit-media-library-widget
Now include it in your JS code:
1// ES6 module 2import IKMediaLibraryWidgetCore from 'imagekit-media-library-widget'; 3 4// Common JS syntax 5const IKMediaLibraryWidgetCore = require("imagekit-media-library-widget");
Check out our detailed guide on ImageKit Docs: Media Library Widget
Include the script in your HTML:
1<script src="https://unpkg.com/imagekit-media-library-widget/dist/imagekit-media-library-widget.min.js"></script>
Define a DOM container for the plugin. This accepts any CSS selector:
1<div id="container"></div>
or
1<div class="container"></div>
Configure and instantiate the plugin:
1// configuration options 2var config = { 3 container: '#container', // the element in which the Media Library Widget will be rendered 4 className: 'media-library-widget', 5 dimensions: { 6 height: '100%', 7 width: '100%', 8 }, 9 view: 'modal', // inline | modal (default) 10 renderOpenButton: true, // false | true (default) 11 /* 12 mlSettings: { // optional 13 initialView: { 14 15 // sets initial state of Media Library, refer to the ImageKit Docs for more information 16 // https://docs.imagekit.io/sample-projects/embeddable-media-library-widget 17 18 // only one of the following parameters can be passed at a time 19 20 folderPath: "<your-folder-path>", 21 fileId: "<file_id>", 22 searchQuery: "<search-query>", 23 collection: { 24 // pass empty object to open Media Collections page 25 id: "<collection-id>" // open specific Media Collection 26 }, 27 fileType: "images" | "videos" | "cssJs" | "others" 28 }, 29 multiple: true // false | true (default), 30 maxFiles: 20 // relevant when `multiple` is true 31 toolbar: { 32 // sets the visibility of the toolbar buttons 33 // defaults to true for all buttons 34 showCloseButton: false, 35 showInsertButton: false 36 } 37 } 38 */ 39}; 40 41// define callback handler 42function callback(payload) { 43 // this is the callback handler 44 // … consume json payload … 45} 46 47// instantiate the Media Library Widget plugin 48var mediaLibraryWidget = new IKMediaLibraryWidget(config, callback);
Note: Google Chrome (Incognito)
To use this plugin on Google Chrome in Incognito mode, you need to enable third-party cookies:
Run following commands:
1npm install 2npm run sample
It will install dependencies and serve the included demo: sample-app
.
The sample app should be available on http://localhost:3000
.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
8 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 9
Reason
Found 6/8 approved changesets -- score normalized to 7
Reason
branch protection is not maximal on development and all release branches
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More