
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@leather.io/features
Advanced tools
This package contains shared utilities for Leather Wallet's features for our web + React Native applications.
This package contains shared utilities for Leather Wallet's features for our web + React Native applications.
No platform-specific knowledge: Components and hooks in this package do not contain any logic or imports that are specific to React Native or web platforms. All code is strictly platform-agnostic.
Uses only React primitives: Functionality is built using core React primitives such as hooks (useState, useEffect, etc.) and contexts (React.createContext, useContext), ensuring compatibility and reusability.
Headless components: There are no presentational components or JSX outputs. All business logic and state management are handled in headless hooks and context providers. You bring your own UI.
Render pattern: All state and actions are exposed via render prop or hook return signatures. The consumer is responsible for supplying rendering logic and defining UI.
// Usage of a headless feature hook
const { value, setValue } = useSomeFeature();
return (
<CustomUIComponent value={value} onChange={setValue} />
);
Or with a render prop:
<SomeFeatureProvider>
{({ value, setValue }) => <CustomUI value={value} onChange={setValue} />}
</SomeFeatureProvider>
Note: No JSX or UI is shipped—every API is logic-only and fully controlled by consumers.
FAQs
This package contains shared utilities for Leather Wallet's features for our web + React Native applications.
The npm package @leather.io/features receives a total of 19 weekly downloads. As such, @leather.io/features popularity was classified as not popular.
We found that @leather.io/features demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.