ultrasoundx
v1.0.0
Published
Welcome To SoundX! ==== **What does SoundX do?** **UltraX is an easy to use Test facility package, allowing you to test functions easily.** *Here are some examples* ```js const SoundX = require('SoundX')
Downloads
1
Readme
Welcome To SoundX!
What does SoundX do? UltraX is an easy to use Test facility package, allowing you to test functions easily. Here are some examples
const SoundX = require('SoundX')
// Console.Log
console.log(SoundX.calculator(15,"*",2))
// Will Log 30
console.log(SoundX.calculator(15,"+",2))
// Would Log 17
console.log(SoundX.calculator(15,"-",2))
// Would Log 13
console.log(SoundX.calculator(3,"/",15))
// Would Log 5
// Replacement
let Regex = new RegExp(/hi/gi)
let Str = 'This is a regex str test!'
console.log(SoundX.replace(Str,Regex,"hello"))
// This would check all capitilisations of what ever is in our regex, the capitilisation does not matter because of the "/gi"
// Would Log: Welcome!
Thank you! How to install
Like any other package just run:
npm i SoundX
Thank you, I hope you install the package!