Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
cloudinary-microurl
Advanced tools
Readme
This is a simple library to generate cloudinary URLs from an options object.
Cloudinary's official JS library is ~600k (including all of lodash). Its much too big for use in the browser. This one minifies to under 1k.
npm install cloudinary-microurl
Then:
const cloudurl = require('cloudinary-microurl');
// 'https://res.cloudinary.com/demo/image/upload/fl_progressive,g_face,q_80/my_cool_image'
const url = cloudurl('my_cool_image', {
secure: true,
cloud_name: 'demo',
gravity: 'face',
flags: 'progressive',
quality: 80
});
// Then use it.
const img = new Image;
img.src = url;
This library only supports the following cloudinary features:
Adding more cloudinary features is super easy, but I can't find a master list so I just added the features I use. If you need more features, please submit a PR.
Set {source: 'fetch'} to activate cloundinary fetch mode. You need to enable it in the security options. The image name should be a full URL.
This is a library bourne of necessity, not love. I don't want to maintain this library going forward. If you want to maintain it, send me an email.
FAQs
A tiny library to generate cloudinary URLs from options objects
The npm package cloudinary-microurl receives a total of 572 weekly downloads. As such, cloudinary-microurl popularity was classified as not popular.
We found that cloudinary-microurl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.