
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.
@johnqh/lib
Advanced tools
React Native-compatible shared utilities library for 0xmail.box projects with Optional<T> type safety patterns and comprehensive blockchain integration
Shared utilities and common functions for 0xmail.box projects.
npm install @johnqh/lib
Platform-agnostic environment variable management that works across web and React Native environments.
import { env, getAppConfig } from '@johnqh/lib';
// Check environment
if (env.isDevelopment()) {
console.log('Running in development mode');
}
// Get environment variables
const apiToken = env.get('VITE_WILDDUCK_API_TOKEN', 'default-value');
// Get full app configuration
const config = getAppConfig();
console.log(config.wildDuckApiToken);
import { WebEnvProvider, createWebAppConfig } from '@johnqh/lib';
const envProvider = new WebEnvProvider();
const config = createWebAppConfig(envProvider);
import { ReactNativeEnvProvider, createReactNativeAppConfig } from '@johnqh/lib';
import Config from 'react-native-config'; // Optional
const envProvider = new ReactNativeEnvProvider(Config);
const config = createReactNativeAppConfig(envProvider);
VITE_WILDDUCK_API_TOKENVITE_REVENUECAT_API_KEYVITE_WALLETCONNECT_PROJECT_IDVITE_PRIVY_APP_IDVITE_FIREBASE_* (Firebase configuration)VITE_USE_CLOUDFLARE_WORKERVITE_CLOUDFLARE_WORKER_URLVITE_USE_MOCK_FALLBACK# Build the library
npm run build
# Watch for changes
npm run build:watch
# Clean build directory
npm run clean
MIT
FAQs
React Native-compatible shared utilities library for 0xmail.box projects with Optional<T> type safety patterns and comprehensive blockchain integration
We found that @johnqh/lib demonstrated a healthy version release cadence and project activity because the last version was released less than 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.