A simple, synchronous, implementation of require