
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@ffsm/native-animate
Advanced tools
Simple animation for React Native, only React native and JavaScript
npm i @ffsm/native-animate
OR
yarn add @ffsm/native-animate
import { Pressable, StyleSheet, useWindowDimensions } from "react-native";
import { Animated, flattenStyle, useNativeAnimate } from "@ffsm/native-animate";
export default function App() {
const { width, height } = useWindowDimensions();
const animated = useNativeAnimate();
const animate = animated.animate({
opacity: [0, 0.5, 1],
scale: [0.4, 0.8, 1.2, 1.6],
});
const handlePress = async () => {
// Timing to opacity: 0.5
await animated.timing(1/2).start();
// Timing to scale 0.8
await animated.timing(1/3).start();
// Timing to scale 1.2
await animated.timing(2/3).start();
};
return (
<View style={flattenStyle([
styles.screen,
{
width,
height,
}
])}>
<Animated.View style={flattenStyle([
styles.box,
animate
])}>
<Animated.Text>
Box
</Animated.Text>
</Animated.View>
<Pressable style={styles.button} onPress={handlePress}>
<Animated.Text>Press animate</Animated.Text>
</Pressable>
</View>
)
}
const styles = StyleSheet.create({
screen: {
justifyContent: "center",
alignItems: "center",
},
box: {
width: 100,
height: 100,
backgroundColor: "#86EFAC",
},
button: {
paddingVertical: 8,
paddingHorizontal: 16,
backgroundColor: '#86EFAC',
marginTop: 16,
},
});
{index_of_value}/{last_index_of_outputs}. Inside of timing function, value will be handle with .toFixed(6).Make a component with initilize animate via nativeAnimate props.
import { Pressable, Text } from "@ffsm/native-animate";
export default function App() {
return (
<Pressable
nativeAnimate={{
opacity: [0.5, 1],
auto: true,
back: true
}}
>
<Text>Auto animate</Text>
</Pressable>
);
}
FAQs
Simple animation for React Native, only React native and JavaScript
We found that @ffsm/native-animate 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.