1.4.4 • Published 5 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
5 years ago
1.4.3
5 years ago
1.5.0
5 years ago
1.4.2
5 years ago
1.4.0
5 years ago
1.3.8
5 years ago
1.3.7
5 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.5
5 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.2
5 years ago
1.0.0
5 years ago