Nutritious Pumpkin Mash

    prolix

    1.0.2 • Public • Published

    Prolix

    Build Status

    A debug and benchmark mixin for Atom modules.

    Prolix = require 'prolix'
     
    module.exports =
    class MyModule
      Prolix('my_module_channel').includeInto(this)
     
      someFunction: ->
        @log "in the function"
     
        @startBench()
     
        # do stuff 
     
        @markIntermediateTime('some stuff done')
     
        # do more stuff 
     
        @endBench('someFunction execution')
     

    Install

    npm i prolix

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    none

    Last publish

    Collaborators

    • abe33