New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

tiink

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiink

Tiink is NodeJS Job Schedule!

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Tiink

Tiink is a simple Job Schedule for NodeJS.

Installation:

npm install tiink --save

Usage:

Import the module into your project

const Tiink = require('tiink');
// OR
import { Tiink } from 'tiink';

Create a new TeaTime

const manager = new Tiink();
const options = {
  hour: 3,
  weekday: []
};

manager.addJob('<JOB_NAME>', options, async () => {
  /*...YOUR LOGIC GOES HERE ...*/
});

Specifications:

Methods:

MethodsDescriptionReady
addJob()Creates a job in the manager
stopJob()Only stops a job in the manager
deleteJob()Deletes a job from the manager
restartJob()Restarts job in the manager

Options:

OptionDescription
minuteRepresents minute in numbers
hourRepresents hour in numbers
weekdayRepresents weekday in numbers

Keywords

tiink

FAQs

Package last updated on 27 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts