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')
 

Package Sidebar

Install

npm i prolix

Weekly Downloads

2

Version

1.0.2

License

none

Last publish

Collaborators

  • abe33