 
 class Mappings
   constructor: (@maps = []) ->
+  @from: (data) ->
+    if data instanceof Mappings
+      data
+    else if data instanceof Mapping
+      new Mappings [data]
+    else if Array.isArray data
+      new Mappings data
+    else
+      throw new SVGTilerException "Could not convert into Mapping(s): #{data}"
   push: (map) ->
     @maps.push map
   lookup: (key) ->

  '.css': CSSStyle
  '.styl': StylusStyle

sanitize = true
bufferSize = 16*1024


  Style, CSSStyle, StylusStyle,
  extensionMap, Input, Mappings, Context,
  SVGTilerException, SVGNS, XLINKNS, escapeId,
  main, convertSVG, renderDOM, renderDOMDefaults,
  version: metadata.version
}
module?.exports = svgtiler
