Emulate Minecraft's seed selection system.
Install
npm install mcseed
Usage
const mcseed = ; ; // Random seed (blank seed box)//=> -47201340728604373n ; // Numerical seed//=> 12345n ; // Text seed//=> 96354n
Why BigInt?
For random seeds, the generated number could be higher than what javascript supports with the native Number object. Therefore, BigInt is essential to store the full seed.
API
mcseed(seed?)
seed
Type: string | number
The seed to input in the "seed box".