🎯 A set of javascript most used utils📑
npm i sagittarius-core
const { random, isEmpty } = require('sagittarius-core')
// Or install needed utils separately
// const random = require('sagittarius-random')
// check if argument is empty
console.log(isEmpty({})) // true
// get a random nr
console.log(random(12, 21))
Or use via cdn:
<!--index.html-->
<script src="https://cdn.jsdelivr.net/npm/sagittarius-core@latest/build/index.js"></script>
<script>
// check if argument is empty
console.log(sagittarius.isEmpty({ a: 21 })) // false
// get a random nr
console.log(sagittarius.random(12, 21))
</script>
See more utils in description below
prefix
is given, the ID is appended to it.func
until after wait
milliseconds have elapsed since the last time the debounced function was invoked.git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
@Gherciu/sagittarius © GHERCIU, Released under the MIT License.
Authored and maintained by GHERCIU with help from contributors (list).