0.0.7 • Published 2 years ago

f3rno64-lib v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@f3rno/lib - Personal JS utility library

NPM Version Build Status Downloads Stats

A library of methods I often write in repos I work on.

README & DOCS TODO

Installation

npm badge

TODO

Developing

yarn gen-readme // update README.md
yarn docs // update DOCUMENTATION.md
yarn test // lint & mocha
yarn update-deps // bump all deps

Release History

See CHANGELOG.md for more information.

License

Distributed under the MIT license. See LICENSE.md for more information.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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

ParamTypeDescription
scopestringlogger 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

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago