Installation
Version Information
This documentation covers cryptographer.js, the latest stable release with:
✅ Production Ready - Fully tested and optimized
✅ TypeScript Support - Complete type definitions
✅ WebAssembly Modules - High-performance Rust implementations
✅ Comprehensive Coverage - All major cryptographic algorithms
Prerequisites
Before installing cryptographer.js, make sure you have:
Node.js >= 14.0.0
npm >= 6.0.0
Installation
Using npm
npm install cryptographer.jsUsing yarn
Using pnpm
Import Methods
CommonJS
ES Modules
TypeScript
Verification
To verify the installation, run this code:
Platform Support
cryptographer.js supports the following platforms:
Linux
x64, arm64
✅ Supported
macOS
x64, arm64
✅ Supported
Windows
x64
✅ Supported
Browser Support
⚠️ Note: cryptographer.js is designed for Node.js environments. Browser support is not a goal due to:
WebAssembly threading limitations
Node.js crypto bindings dependency
Server-side optimization focus
Troubleshooting
Common Issues
1. Module not found error
Solution: Make sure you've installed the package correctly:
2. WebAssembly loading error
Solution: This usually indicates a platform compatibility issue. Check:
Node.js version (>= 14.0.0)
Platform architecture support
File permissions
3. TypeScript errors
Solution: Install TypeScript types:
Getting Help
If you encounter issues:
Check the GitHub Issues
Review the Security Policy
Create a new issue with detailed information
Last updated