1.0.13 • Published 9 months ago

@dwidge/node-common v1.0.13

Weekly downloads
-
License
BSL-1.0
Repository
github
Last release
9 months ago

@dwidge/node-common

Useful functions for NodeJS.

Installation

npm install @dwidge/node-common

Usage

const { create } = require("@dwidge/node-common/s3");
const s3 = create({ endpoint: "localhost:9000" });
const cron = require("@dwidge/node-common/cron");
await cron(
  [
    {
      name: "JobA",
      cron: "*/1 * * * *",
      startup: true,
      test: () => console.log("Running JobA..."),
    },
  ],
  { startup: false, logError: console.log }
);

License

Copyright DWJ 2023.
Distributed under the Boost Software License, Version 1.0.
https://www.boost.org/LICENSE_1_0.txt

1.0.13

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.1

2 years ago

1.0.0

2 years ago