mng-easy-util v1.7.3
mng-easy-util contains some useful utils, algorithms(Genetic algorithm, ma, ema, macd...), data structures(HashMap) for js and ts developers, worked on browser and node.js
github
https://github.com/Mng12345/mng-easy-util
HashMap can store object key like {a: 1, b: 2}
see > ./lib/hashmap.test.ts
HashSet can store object like {a: 1, b: 2}
see > ./lib/hashset.test.ts
GA general genetic algorithm
see > ./lib/algorithm/ga.test.ts
math randomInt, sample, mean, sum, add, multiply, ma, ema, dif, macd, round, range, dotMultiply, variance, std, covariance, correlation, r2, convertColorToHexNumberArray, convertColorToHexCharArray, parseHexColorToNumber
see > ./lib/math.test.ts
min max find value in array by extract and comparator
see > ./lib/min-max.test.ts
Stream stream api like java8
see > ./lib/stream.test.ts
merge easy to plot for echarts
see > ./lib/algorithm/merge-axis.test.ts
func-util some util to statistic func call, copyFunc
see > ./lib/func-util.test.ts
file add async sleep, download Uint8Array file
see > ./lib/file.test.ts
curve-fit by GA algorithm
see > ./lib/algorithm/curve-fit
mapObject
see > ./lib/object.test.ts
Pointer the address pointer like other language like c/c++
see > ./lib/pointer.test.ts
event communication between components for react and vue and others..., add fireAsync for async handlers, add priority for event
see > ./lib/events.test.ts
stringifyNoCircle
see > ./lib/json.test.ts
async runners, AsyncRunner
see > ./lib/async-runners.test.ts
change promise to be a new promise with timeout
see > ./lib/promise.test.ts
add algorithm LinkedNode
see > ./lib/algorithm/linked.ts
add lru cache
see > ./lib/algorithm/cache.lru.test.ts
add retry for sync and async functions
see > ./lib/retry.test.ts
add AsyncPool for pooling async tasks
see > ./lib/co.test.ts
add async LineReadr
see > ./lib/io.test.ts
add Queue SimpleQueue
see > ./lib/queue.test.ts
add Option
see > ./lib/option.test.ts
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago