1.4.4 • Published 4 years ago
colorxjs v1.4.4
colorxjs
Readme before reading the readme
- This is a helper library intended to be used only on development environments.
Documentation
intervalo(seconds,length) - Observable
log(variable)
- logs on the console
('variableName', variable)
range(de,ate) - Observable
from(obj) - Observable
shuffle(array) - Observable
of(obj) - Observable
timer(quanto) - Observable
regressiva(quanto) - Observable
composeString(first, end, middle)
readFile(which) - Promise
readFolder(where) - Promise
readDir2Pack(where, packName) - Promise
write(what, where)
writeUnquoted(what, where)
writeSync(what, where) - Promise
- Returns
true
if successfully written file
emitAfter(howMany, what, showing, during?) - Observable
replaceAt(string, index, replace)
promptToConsole(fileToIterate, identifier, message, howMany) - Promise
promptToWrite(message, errorMessage, id) - Promise
getPostsPromise(page, perPage, endpoint, username, password) - Promise
findPostsPromise(what, page, perPage, endpoint, username, password) - Promise
getArrayOfUniqueNums(arr, to)
getRandomNum(from, to)
replaceWhitespace(string, what)
replacePunctuation(string)
shrink(str, toHowMany)
findAllIndexesOf(what, where)
err(?when)
Just throw an error
Questions?
today@coloringa.com
1.4.4
4 years ago
1.4.3
4 years ago
1.5.0
4 years ago
1.4.2
4 years ago
1.4.0
4 years ago
1.3.8
4 years ago
1.3.7
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.2
4 years ago
1.0.0
4 years ago