code: function $path(params) {
      if (params == null) {
          return params;
      }
      if (typeof params === 'string') {
          const path = require('path');
          if (path.isAbsolute(params)) {
              return params;
          }
  
          return path.resolve(process.cwd(), params);
      }
      throw new Error('$path expects a string');
  }
docs: Resolve the path to absolute from current working directory
  
  @param {string} params
  @returns {string}