Has Anyone Written a Line Search in the Wolfram Language?

Line search is used by the various optimization functions but is not available as a stand-alone function.