Releases: NoNameLmao/emberutils
Releases · NoNameLmao/emberutils
Release v1.3.0
+ Split "characters" into "string" and "array" formats
+ Added "minecraft" as a soon-to-be-expanded collection of useful code utils for minecraft!
+ minecraft.getRandomCoordinates(preCavesAndCliffs: boolean, format: 'array' | 'object' | 'string'): (whatever format you picked) - Get pseudo-random minecraft coordinates in a range from -29999984 to 29999984 on both X and Z axies and from 0 to 256 on Y axis (from -64 to 320 if "preCavesAndCliffs" is "true")
+ `npm test` for this package testing is now colorful! (Added "colors" package)
+ Added all above to the testing files (test.js and test.ts)
* Slight change in test.json
* Fixed node:13712 "Accessing non-existant property of module exports inside circular dependency" by changing jsdoc
Release v1.2.0
+ Added formatBytes()
+ Added DateExtended class that extends Date
+ Added DateExtended.customFormat()
+ Added a jsdoc note to getRandomInt()'s "num" parameter (-1 will always return -1 and 0 or 1 will always return 0)
+ Useless changes to README.md
+ Update edit.js
- getRandomInt() no longer throws an error if parameter "num" is equal to -1, 0, 1
Release v1.1.0
new things.
-
chance(), randomRgb(), hexToRgb(), rgbToHex(), randomHex()
-
No longer have ts-node as dependency, instead detect it when running
npm test
using shelljs -
change testing procedures
-
more types in index.d.ts 🥱
Release v1.0.1
New function:
shuffleArray(array: any[]): any[]
Shuffle an array in pseudo-random order.
Release v1.0.0
After finishing migrating jsdoc into README.md I present to you, my npm package thats just garbage code.
Install with:
npm i --save [email protected]