Call js functions in website

hello there , I want to call the frappe.ui.scanner() function in a webpage . but it seems not accessible from website , how can I import it ?