socketstream/socketstream

View on GitHub
docs/partials/api/client.formatters.formatters.html

Summary

Maintainability
Test Coverage
<a href="https://github.com/socketstream/socketstream/edit/master/lib/client/index.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/socketstream/socketstream/blob/3f3f67a/lib/client/index.js#L122" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">formatters</code>
<div><span class="hint">service in module <code ng:non-bindable="">client</code>
</span>
</div>
</h1>
<div><h2 id="description">Description</h2>
<div class="description"><div class="client-formatters-page client-formatters-formatters-page"><p>This is for the module returned by <code>require(&#39;socketstream&#39;).client.formatters</code>.</p>
</div></div>
<div class="member method"><h2 id="methods">Methods</h2>
<ul class="methods"><li><a href="https://github.com/socketstream/socketstream/blob/3f3f67a/lib/client/formatters.js#L25" class="view-source icon-eye-open"> </a><h3 id="methods_add">add(nameOrModule, config)</h3>
<div class="add"><h5 id="methods_add_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>nameOrModule</td><td><a href="" class="label type-hint type-hint-string">string</a><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="client-formatters-page client-formatters-formatters-add-page"><p>the formatter object or name</p>
</div></td></tr><tr><td>config</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="client-formatters-page client-formatters-formatters-add-page"><p>parameters configuring the formatter</p>
</div></td></tr></tbody></table></div>
</li>
</ul>
</div>
</div>