Plato on Github
Report Home
node_modules/cli-color/test/__playground/throbber.formatted.js
Maintainability
68.56
Lines of code
10
Difficulty
3.11
Estimated Errors
0.07
Function weight
By Complexity
By SLOC
//#!/usr/bin/env node 'use strict'; var setupThrobber = require('../../throbber') , format = require('../../index').red , throbber = setupThrobber(process.stdout.write.bind(process.stdout), 200, format); process.stdout.write('START'); throbber.start(); setTimeout(throbber.stop, 1100);