index.js
function Snippets(options) {
  this.options = options || {};
  this.store = store(this.options);

  this.snippets = {};
  this.presets = {};
  this.cache = {};
  this.cache.data = {};

  var FetchFiles = lazy.FetchFiles();
  this.downloader = new FetchFiles(this.options);
  this.presets = this.downloader.presets;

  if (typeof this.options.templates === 'object') {
    this.visit('set', this.options.templates);
  }
}
function Snippets(options) {
  this.options = options || {};
  this.store = store(this.options);

  this.snippets = {};
  this.presets = {};
  this.cache = {};
  this.cache.data = {};

  var FetchFiles = lazy.FetchFiles();
  this.downloader = new FetchFiles(this.options);
  this.presets = this.downloader.presets;

  if (typeof this.options.templates === 'object') {
    this.visit('set', this.options.templates);
  }
}
function Snippets ( options ) { this . options = options || { } ; this . store = store ( this . options ) ; this . snippets = { } ; this . presets = { } ; this . cache = { } ; this . cache . data = { } ; var FetchFiles = lazy . FetchFiles ( ) ; this . downloader = new FetchFiles ( this . options ) ; this . presets = this . downloader . presets ; if ( typeof this . options . templates === 'object' ) { this . visit ( 'set' , this . options . templates ) ; } }
Create an instance of `Snippets` with the given options.

```js
var Snippets = require('snippets');
var snippets = new Snippets();
```
@param {Object} `options`
@api public
Create an instance of Snippets with the given options .