
Security News
/Company News
Securing the Financial Frontier: How Capital One Uses Socket for Open Source Security
Capital One is partnering with Socket to proactively secure its open source supply chain.
@react-native/asset-utils
Advanced tools
Android resource-path helpers used when copying React Native assets into drawable-* / raw folders. Consumed by bundling and build tooling; most apps never import this directly.
import {
getAndroidResourceFolderName,
getAndroidResourceIdentifier,
} from '@react-native/asset-utils';
| Export | Signature | Notes |
|---|---|---|
getAndroidResourceFolderName | (asset: PackagerAsset, scale: number) => string | e.g. drawable-xhdpi; non-drawable types resolve to raw |
getAndroidResourceIdentifier | (asset: PackagerAsset) => string | Sanitised resource name |
drawableFileTypes | Set<string> | Asset types that map to a drawable-* folder |
FAQs
Asset path utilities for React Native.
The npm package @react-native/asset-utils receives a total of 520,568 weekly downloads. As such, @react-native/asset-utils popularity was classified as popular.
We found that @react-native/asset-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
/Company News
Capital One is partnering with Socket to proactively secure its open source supply chain.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.