0.0.7 • Published 4 years ago
f3rno64-lib v0.0.7
@f3rno/lib - Personal JS utility library
A library of methods I often write in repos I work on.
README & DOCS TODO
Installation

TODO
Developing
yarn gen-readme // update README.md
yarn docs // update DOCUMENTATION.md
yarn test // lint & mocha
yarn update-deps // bump all depsRelease History
See CHANGELOG.md for more information.
License
Distributed under the MIT license. See LICENSE.md for more information.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
API Reference
The standalone JSDoc reference can be found in DOCUMENTATION.md
Functions
getLogger(scope) ⇒ Signale
Returns a scoped Signale logger. Any provided scope is prefixed with the environment-defined base logger scope.
Kind: global function
Returns: Signale - l
| Param | Type | Description |
|---|---|---|
| scope | string | logger scope |
Example
const l = getLogger(`api-server:${id}`)getTimer() ⇒ function
Returns a function that returns the elapsed time in milliseconds from the
initial getTimer call.
Kind: global function
Returns: function - f - end