Package Exports
- bastools
- bastools/index.js
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 (bastools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bas Tools
- Simple Tools for Better Coding Experience
Functions
Random
const { Random } = require('bastools')
const array = ["hello" , "hi"]
const randomised = Random(array)
console.log(randomised)
// Returns a Random String From The ArrayRandomIDGen Deprecated
const { RandomIDGen } = require('bastools')
const final = RandomIDGen(20)
console.log(final)
// Returns A String full of Random CharactersDupCheck
const { DupCheck } = require('bastools')
const final = Dupcheck("hello" "hello")
console.log(final)
// Returns A BooleanStringToNumber
const { StringToNumber } = require('bastools')
const final = StringToNumber("123")
console.log(final)
// Returns NumberRemoveDup
const { RemoveDup } = require('bastools')
const array = ["BasTools" , "TestTools" , "BasTools"]
const final = RemoveDup(array)
console.log(final)
// Removes Duplicates from an Array and Returns a New Set- At This Point I Am Very lazy to explain all the functions so just try to get it by the function name pls