Update to require L for node usage

exports function that takes L