Skip to content

Releases: NoNameLmao/emberutils

Release v1.3.0

13 Feb 14:04
Compare
Choose a tag to compare
+ 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

27 Jan 18:32
Compare
Choose a tag to compare
+ 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

22 Jan 18:44
Compare
Choose a tag to compare

new things.

  1. chance(), randomRgb(), hexToRgb(), rgbToHex(), randomHex()

  2. No longer have ts-node as dependency, instead detect it when running npm test using shelljs

  3. change testing procedures

  4. more types in index.d.ts 🥱

Release v1.0.1

15 Jan 16:03
Compare
Choose a tag to compare

New function:

shuffleArray(array: any[]): any[]

Shuffle an array in pseudo-random order.

Release v1.0.0

15 Jan 12:49
Compare
Choose a tag to compare

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]