code: function Fortune (recordTypes, options) {
    if (!(this instanceof Fortune))
      return new Fortune(recordTypes, options)
  
    this.constructor(recordTypes, options)
  }
docs: This is the default export of the `fortune` package. It implements a
  [subset of `EventEmitter`](https://www.npmjs.com/package/event-lite), and it
  has a few static properties attached to it that may be useful to access:
  
  - `Adapter`: abstract base class for the Adapter.
  - `adapters`: included adapters, defaults to memory adapter.
  - `errors`: custom error types, useful for throwing errors in I/O hooks.
  - `methods`: a hash that maps to string constants. Available are: `find`,
  `create`, `update`, and `delete`.
  - `events`: names for events on the Fortune instance. Available are:
  `change`, `sync`, `connect`, `disconnect`, `failure`.
  - `message`: a function which accepts the arguments (`id`, `language`,
  `data`). It has properties keyed by two-letter language codes, which by
  default includes only `en`.
  - `Promise`: assign this to set the Promise implementation that Fortune
  will use.