title: How to gracefuly try to load packages in Lua?
body: <p>I would like to try to load a package in Lua.
  The package is <code>ansicolors</code> and is only to have a better looking console output.</p>
  
  <p>This is sugar and I don't want users to be forced to install this package.</p>
  
  <p>So I tryed something like:</p>
  
  <pre><code>ansicolors = require 'ansicolors' or nil
  </code></pre>
  
  <p>But as I thought, it raise a module not found error and stops the execution.</p>
  
  <p>So my question is: Is there a graceful solution to try to load packages and fallback on simpler solutions when it is not possible?</p>