0.1.1 • Published 4 years ago

okitchen v0.1.1

Weekly downloads
-
License
GPL-2.0-only
Repository
github
Last release
4 years ago

Okitchen

This module provides a warpper around fundamental function used in server, such as initiation, SQL actions and logger.

note: this module uses promise for all functions. callback is not supported by this module.

Warning: This module is highly biased towards my own preference. Read the documentation carefully before you use it. It is recommended to fork from this and to tweak it for your own convenience.

Design

The functions include:

  1. configuration management
  2. database actions
  3. logger
  4. hash and jwt
  5. commonly used utilities by a website

Usage

This module exports a core object to access all above functionalities.

Before any function is called the init(prop) function needs to be called to initiate the database/files. Any use of this module without calling init(prop) first is not guaranteed to work.

Contribute

Anyone is welcomed to submit pull requests or open issues.

It is recommended to run npm test after modification. Remember, the test script itself may be buggy.

0.1.1

4 years ago

0.1.0

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago