Ensure a function is only executed once. This simple yet effective utility prevents accidental or malicious double-execution. one-time wraps your function, returning a proxy that ensures the original function logic runs only on the first call. Subsequent calls return the original result, guaranteeing consistency and preventing side effects. Ideal for initialization routines, resource allocation, and preventing redundant operations, one-time is a small, dependency-free module for reliable one-time execution in Node.js and browser environments.