Gathering detailed insights and metrics for expo-asset-utils
Gathering detailed insights and metrics for expo-asset-utils
Gathering detailed insights and metrics for expo-asset-utils
Gathering detailed insights and metrics for expo-asset-utils
npm install expo-asset-utils
Typescript
Module System
Node Version
NPM Version
TypeScript (75.99%)
JavaScript (24.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
43 Stars
65 Commits
7 Forks
24 Watchers
23 Branches
21 Contributors
Updated on Oct 05, 2024
Latest Version
3.0.0
Package Id
expo-asset-utils@3.0.0
Size
4.17 kB
NPM Version
6.14.13
Node Version
15.14.0
Published on
Sep 30, 2021
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This package is no longer required for parsing assets, use
expo-asset
andexpo-file-system
instead.
1yarn add expo-asset-utils
Import the library into your JavaScript file:
1import * as AssetUtils from 'expo-asset-utils';
Given a reference to some asset, this will return a promise that resolves to an Expo.Asset that has been cached.
Expo.Asset.fromModule(require('./image.png'))
require('./image.png')
'https://upload.wikimedia.org/wikipedia/en/1/17/Batman-BenAffleck.jpg'
'file:///var/image.png'
'asset-library:///var/image.png'
{uri: 'https://upload.wikimedia.org/wikipedia/en/1/17/Batman-BenAffleck.jpg'}
Property | Type | Description |
---|---|---|
fileReference | Expo.Asset , number , string , {uri: string} | This will resolve into a downloaded Expo.Asset |
Given a image URI string
, this will return a base64 encoded string and the image size: { data: string, size: { width: number, height: number } }
Property | Type | Description |
---|---|---|
uri | string | This URI will be converted to base64 |
Deprecated: Use
(await resolveAsync()).localUri
Deprecated: Use
Asset.fromURI('...')
fromexpo-asset
Deprecated
Deprecated
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/3 approved changesets -- score normalized to 3
Reason
branch protection is not maximal on development and all release branches
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
74 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More