Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 434 Bytes

File metadata and controls

12 lines (9 loc) · 434 Bytes

Transformation engine (callback mode)

var transform = require('streamline/lib/callbacks/transform')

  • version = transform.version
    current version of the transformation algorithm.
  • transformed = transform.transform(source, options)
    Transforms streamline source.
    The following options may be specified:
    • sourceName identifies source (stack traces, transformation errors)
    • lines controls line mapping