robutils
v0.2.8
Published
A utility to support personal projects
Downloads
3
Readme
ROBUTIL
A small utility library for my projects
Installation
npm install @dennisjade/robutils
Usage
var robutils = require('@dennisjade/robutils');
Available methods
- token = robutils.token.verify(source, req.headers)
- logger = robutils.logger.log.<info/error/warn>('you msg')
- parser = robutils.
- config = robutils.config.get(owner, environment, configObject)
configObject = {
CONFIG_URL: ''https://localhost:6062,
HEADER_TOKEN: 'abcdefghijklmnopqrstwxyz'
}
Tests
npm test