Gathering detailed insights and metrics for @cloudinary/html
Gathering detailed insights and metrics for @cloudinary/html
Gathering detailed insights and metrics for @cloudinary/html
Gathering detailed insights and metrics for @cloudinary/html
cloudinary
Cloudinary NPM for node.js integration
cloudinary-core
Cloudinary Client Side JS library. Cloudinary streamlines your web application’s image manipulation needs. Cloudinary's cloud-based servers automate image uploading, resizing, cropping, optimizing, sprite generation and more.
cloudinary-video-player
Cloudinary Video Player
@cloudinary/react
Cloudinary React SDK
npm install @cloudinary/html
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
44 Stars
407 Commits
15 Forks
17 Watching
55 Branches
17 Contributors
Updated on 14 Nov 2024
TypeScript (83.97%)
JavaScript (6.44%)
Vue (4.05%)
CSS (2.92%)
HTML (2.28%)
Shell (0.34%)
Cumulative downloads
Total Downloads
Last day
0.4%
7,365
Compared to previous day
Last week
0.9%
36,755
Compared to previous week
Last month
29.5%
152,647
Compared to previous month
Last year
32.4%
1,399,487
Compared to previous year
6
This project contains SDKs designed to work with Cloudinary url-gen.
These SDKs render CloudinaryImage or CloudinaryVideo objects into the DOM.
The React SDK used to render an image & video component. NPM | {@link ReactSDK|Reference}
The Angular SDK used to render an image & video component. NPM | {@link AngularSDK|Reference}
Each SDK also contains advanced features in the form of plugins, which extend the native HTMLImage and HTMLVideo elements.
To build and link project:
To get started, install the npm client package of your choice along with our base package. For example, to use Cloudinary in a React environment, the following packages should be installed:
1npm i @cloudinary/react @cloudinary/url-gen
Note: To use Angular install @cloudinary/ng
.
The following is a simple example using React. For more information on React and other frameworks, navigate to the specific reference using the Packages menu.
1import React from 'react' 2// Cloudinary is used to configure your account and generate urls for your media assets 3import {Cloudinary} from "@cloudinary/url-gen"; 4// Import the cloudinary media component (AdvancedImage / AdvancedVideo), 5// and the plugins you want to use. 6import {AdvancedImage, accessibility, responsive} from '@cloudinary/react'; 7 8// Once per project/app - configure your instance. 9// See the documentation of @cloudinary/url-gen for more information. 10const myCld = new Cloudinary({cloud: {cloudName: 'demo'}}); 11 12export const App = () => { 13 // Create a new image object: 14 const img = myCld.image('sample'); 15 16 // Render your component. 17 return ( 18 <div> 19 <AdvancedImage cldImg={img} plugins={[responsive(), accessibility()]}/> 20 </div> 21 ) 22};
1<AdvancedImage plugins={[lazyload(), responsive(), accessibility(), placeholder()]}/>
You can omit any plugin, but the order from above should remain.
Repository is using Conventional Commits. To publish packages please read instructions in sdk-scripts.
No vulnerabilities found.
Reason
12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 10/15 approved changesets -- score normalized to 6
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
49 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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