1.2.3 • Published 5 years ago

n-commons v1.2.3

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

n-commons

Node Commons Utilities

Api:

  • init
  • ok
  • noop
  • async
  • asyncObject
  • getObjectFn
  • compareArray
  • getUniqueId
  • finallyCall
  • ellipsis
  • stringifyParams

env name : process.env.APP_NAME,

  • 1 - error, 2 - info, 3 - debug

    */ function isDebug() { return (process.env.LOG_LEVEL && process.env.LOG_LEVEL >= 3); return process.env.LOG_PATH + '/' + process.env.APP_NAME.toLowerCase() + suffix;

REDIS_SESSION_PREFIX REDIS_LOCK_TTL

const TIMEOUT = (process.env.CACHE_TIMEOUT) ? process.env.CACHE_TIMEOUT : (5 60 1000);

TODO: merge protocol from n-commons-server di amproker-core replace require logger, redis, cache di semua project terutama ams ans amproker-core amproker-server

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago