How to use the cloudinary-core.Util.withSnakeCaseKeys function in cloudinary-core

To help you get started, we’ve selected a few cloudinary-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cloudinary / cloudinary-vue / src / helpers / attributes.js View on Github external
export function normalizeConfiguration(cfg) {
  return Util.withSnakeCaseKeys(
    formatObject(compact(pick(cfg, configuration)), {
      secure: v => (typeof v === "boolean" ? v : v === "true")
    })
  );
}
github cloudinary / cloudinary-vue / src / helpers / attributes.js View on Github external
export function normalizeConfiguration(cfg) {
  return Util.withSnakeCaseKeys(
    formatObject(normalizeObject(pick(cfg, configuration)), {
      secure: v => (typeof v === "boolean" ? v : v === "true")
    })
  );
}
github cloudinary / cloudinary-vue / src / helpers / attributes.js View on Github external
export function normalizeTransformation(cfg) {
  return Util.withSnakeCaseKeys(normalizeObject(pick(cfg, transformation)));
}
github cloudinary / cloudinary-vue / src / helpers / attributes.js View on Github external
export function normalizeTransformation(cfg) {
  return Util.withSnakeCaseKeys(compact(pick(cfg, transformation)));
}