New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@react-native/asset-utils

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/asset-utils

Asset path utilities for React Native.

latest
Source
npmnpm
Version
0.87.1
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@react-native/asset-utils

npm npm downloads

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.

API

import {
  getAndroidResourceFolderName,
  getAndroidResourceIdentifier,
} from '@react-native/asset-utils';
ExportSignatureNotes
getAndroidResourceFolderName(asset: PackagerAsset, scale: number) => stringe.g. drawable-xhdpi; non-drawable types resolve to raw
getAndroidResourceIdentifier(asset: PackagerAsset) => stringSanitised resource name
drawableFileTypesSet<string>Asset types that map to a drawable-* folder

Keywords

react-native

FAQs

Package last updated on 26 Aug 2026

Related posts