Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-native-icon
Advanced tools
Automatic icon resizing for React Native. Inspired by cordova-icon.
Automatic icon resizing for React Native. Inspired by cordova-icon.
This simple tool allows you to create a single icon in your react-native project, then create icons of all required sizes from it. It currently works for iOS and Android.
This project is inspired by Alex Disler's superb cordova-icon project.
Install with:
npm install react-native-icon
You will need imagemagick installed:
brew install imagemagick # OSX
sudo apt-get install imagemagick # Debian/Ubuntu/etc
sudo yum install imagemagick # CentOS/etc
Add an icon named icon.png
to your project root. Then run:
./node_modules/.bin/react-native-icon
The image should be at least 192x192 pixels and square.
If an iOS project is present, then the icon will be copied at all required sizes to:
./ios/<ProjectName>/Images.xcassets/AppIcon.appiconset
If an Android project is present, then the icon will be copied at all required sizes to:
./android/app/src/main/res
This section will guide you on how to develop with this project.
To create a release.
nvm version
to bump, e.g. nvm version patch
git push --tags && git push && npm deploy
MIT
FAQs
Automatic icon resizing for React Native. Inspired by cordova-icon.
The npm package react-native-icon receives a total of 6 weekly downloads. As such, react-native-icon popularity was classified as not popular.
We found that react-native-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.