Socket
Book a DemoInstallSign in
Socket

@uploadcare/cname-prefix

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uploadcare/cname-prefix

Helpers for working with Uploadcare CNAME-prefixed URLs in browser environments.

latest
Source
npmnpm
Version
6.17.0
Version published
Weekly downloads
13K
26.08%
Maintainers
4
Weekly downloads
 
Created
Source

Uploadcare CNAME Prefix

This package provides a helper for working with Uploadcare CDN CNAME prefixes.

API Reference

Build Status NPM version GitHub release Uploadcare stack on StackShare

Install

npm install @uploadcare/cname-prefix

Usage

import { getPrefixedCdnBase } from '@uploadcare/cname-prefix'

const prefixedCdnBase = getPrefixedCdnBase('demopublickey', 'https://ucarecd.net')
// prefixedCdnBase === 'https://1s4oyld5dc.ucarecd.net'

Security issues

If you think you ran into something in Uploadcare libraries that might have security implications, please hit us up at bugbounty@uploadcare.com or Hackerone.

We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.

Feedback

Issues and PRs are welcome. You can provide your feedback or drop us a support request at hello@uploadcare.com.

Keywords

uploadcare

FAQs

Package last updated on 10 Jul 2025

Did you know?

Socket

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.

Install

Related posts