
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
react-native-image-tagging
Advanced tools
This package allows you to add multiple tags to an image
Tag your images with a responsive package that returns x & y coordinates respectively. Supports RTL.
Install React Native Image Tagging package.
yarn add react-native-image-tagging
# or using npm
npm install react-native-image-tagging --save
Install React Native Vector Icons package and make sure fonts are included on the native project - more info: https://github.com/oblador/react-native-vector-icons
yarn add react-native-vector-icons
# or using npm
npm install react-native-vector-icons --save
Example:
import Tagging from "react-native-image-tagging";
const [tags, setTags] = useState([]);
const [availablePersons, setAvailablePersons] = useState([
{ id: 1, name: "John Doe" },
{ id: 2, name: "Jane Doe" },
{ id: 3, name: "John Doe 2" },
{ id: 4, name: "Jane Doe 2" },
]);
return (
<View style={{ flex: 1, justifyContent: "center" }}>
<Tagging
tagsState={[tags, setTags]}
availablePersonsState={[availablePersons, setAvailablePersons]}
>
<Image
style={{
height: WP(100),
width: WP(100),
resizeMode: "contain",
}}
source={require("./image.png")}
/>
</Tagging>
</View>
);
Pass tags & available persons state and setter as tagsState & availablePersonsState. Pass an image as the child for the Tagging JSX
FAQs
This package allows you to add multiple tags to an image
The npm package react-native-image-tagging receives a total of 0 weekly downloads. As such, react-native-image-tagging popularity was classified as not popular.
We found that react-native-image-tagging demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.