Socket
Socket
Sign inDemoInstall

cloudinary-microurl

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "cloudinary-microurl",
"version": "1.0.0",
"version": "1.0.1",
"description": "A tiny library to generate cloudinary URLs from options objects",

@@ -5,0 +5,0 @@ "main": "url.js",

@@ -6,2 +6,34 @@ # Cloudinary URL

Cloudinary's official JS library is ~600k (including all of lodash). Its much
too big for use in the browser.
too big for use in the browser. This one is ~1k.
## Usage
```
npm install cloudinary-microurl
```
Then:
```javascript
const url = require('cloudinary-microurl');
// ...
const img = new Image;
img.src = url('my_cool_image', {
cloud_name: 'demo',
gravity: 'face',
flags: 'progressive',
quality: 80
});
```
### Missing features
This library is missing a bunch of cloudinary features. If you want to add them, fork the library or submit a PR. I've only added the cloudinary features I actually use.
### Maintainance
I never wanted to write this library. If you want to maintain it, [send me an email](mailto:me@josephg.com).

@@ -1,2 +0,1 @@

// Example options:

@@ -53,2 +52,1 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc