helper-function
v1.0.2
Published
common javascript helper functions used in every project
Downloads
1
Readme
helper-function
Examples
queryBuilder
import { queryBuilder } from "helper-function"
const params = {
id:null,
name:'anmol',
dob:undefined,
phone:0,
}
console.log(queryBuilder("https://anmol-fzr.web.app/",params))
// result "https://anmol-fzr.web.app?name=anmol"
removeFalsyValues
import { removeFalsyValues } from "helper-function"
const params = {
id:null,
name:'anmol',
dob:undefined,
phone:0,
}
console.log(removeFalsyValues(params))
// result
// { "name":'anmol' }