Package Exports
- ultrax
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ultrax) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ℹ️ About
ultrax is a simple package make by UltraX, it's simply made to make your coding process faster by some functions, it's not fully released yet only 1 function is available right now!
🔶 Support
In case you have idea's to improve the package, or maybe you found some bugs or you need help, you can contact us from our Discord Server
📥 Installation
To install ultrax package all you need is Node.js.
Then you can open your application terminal and type there:
$ npm install ultrax
➡️ Functions
Right now the package is beta, that mean it is not fully released yet.
The available function is:
- sleep - Function to set timeouts easily
sleep
sleep is a simple function, where is make it easier and faster to make a timeout in your code. Example:
// Importing the package
const ultrax = require('ultrax')
// Destructure the sleep function from the package
const sleep = ultrax.sleep
// this will log "Start!" once i run the application
console.log('Start!')
// using the package sleep function to set a timeout
sleep(5000) // sleep(milliseconds)
// after the 5 seconds (5000 milliseconds) it will log "5 Seconds passed"
console.log('5 Seconds passed')