time-span is a lightweight JavaScript library for measuring the duration of code execution. It provides a simple, fluent interface to start, stop, and query elapsed time. Useful for performance profiling and benchmarking, time-span offers precise measurements in milliseconds by default, with options for higher precision. It's ideal for developers seeking an easy-to-integrate, zero-dependency solution for monitoring code performance within their JavaScript applications or Node.js projects.