@t-xx/void
v0.1.0-main.20251008111421
Published
Cross-platform void application with automatic binary selection
Maintainers
Readme
@t-xx/void
High-performance messaging automation binary for Linux systems.
Installation
npm install @t-xx/voidUsage
Command Line
# Using npx (recommended)
npx void [arguments]
# If installed globally
npm install -g @t-xx/void
void [arguments]Programmatic Usage
const { getVoidBinaryPath, executeVoid, getVoidPlatformInfo } = require('@t-xx/void');
// Get the platform-specific binary path
const binaryPath = getVoidBinaryPath();
console.log('void binary located at:', binaryPath);
// Execute void with arguments
await executeVoid(['--help']);
// Get platform information
const platform = getVoidPlatformInfo();
console.log(`Running on: ${platform.platform}-${platform.arch}-${platform.libc}`);Platform Support
| Platform | Architecture | libc | Status | |----------|-------------|------|--------| | Linux | x64 | glibc | ✅ Supported | | Linux | x64 | musl | ✅ Supported | | Linux | ARM64 | glibc | ✅ Supported |
Automatic Platform Detection
This package automatically:
- Detects your Linux distribution and libc implementation
- Downloads the appropriate binary package
- Provides fallback compatibility (musl → glibc)
- Handles development environments with local builds
★ Technical Details
- glibc builds: Compatible with Ubuntu, CentOS, Fedora, Debian
- musl builds: Optimized for Alpine Linux and container environments
- Static linking: musl builds are fully static, glibc builds use selective static linking
- Cross-compilation: ARM64 binaries built with cross-compilation toolchains
Troubleshooting
Common Issues
"No compatible void binary found"
# Check your platform
node -e "console.log(require('@t-xx/void').getVoidPlatformInfo())"
# Install platform-specific package manually
npm install @t-xx/void-linux-x64-glibc
# For development, build locally
npm run buildBinary execution fails
# Check binary permissions and path
node -e "console.log(require('@t-xx/void').getVoidBinaryPath())"
# Enable debug output
DEBUG_VOID_INSTALL=1 npm testPlatform Package Names
@t-xx/void-linux-x64-glibc- Ubuntu, CentOS, Fedora, Debian@t-xx/void-linux-x64-musl- Alpine Linux, minimal containers@t-xx/void-linux-arm64-glibc- ARM64 servers and development boards
Technical Details
This package provides pre-compiled binaries optimized for different Linux distributions:
- Binary optimization with LTO and platform-specific compilation
- Automatic platform detection for seamless installation
- Minimal dependencies for maximum compatibility
- Regular updates with security patches and improvements
License
This is proprietary software. All rights reserved.
Support
For technical support, please contact the package maintainer.
