Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

noko-overtime

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noko-overtime

Overtime calculation for nokotime.com

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

noko-overtime

Node.js CLI tool for calculating overtime for nokotime.com.

NOTE: Currently does not support selecting a user. This tool will only be beneficial to you if you are the sole person making entries in your Noko sub-domain.

How to use

To install:

npm install noko-overtime -g

To run the initial setup:

noko-overtime configure

To calculate overtime:

noko-overtime

For help:

noko-overtime -h

FAQ

Where do I get my Noko API authentication token?

  • Log in to your Noko sub-domain
  • From the bar on the left select Integrations & Apps
  • Click the Noko API tab
  • Click on the Settings... button next to API v1 Token
  • Click on click to reveal to get the token
  • Then copy/paste the token into the command line

How does the overtime calculation work?

  • If there is at least one time entry on a work-day (default: Mon, Tue, Wed, Thu, Fri), we assume it is an actual work day
  • If there is no time entry on a work-day, we assume it is a holiday or vacation. Might seem dangerous at first, but this makes using the tool a lot easier.
  • If it is a work day then calculate overtime: daily overtime = sum(all time entries for that day) - configured working hours per day
  • For non work-days (default: Sat, Sun) we do not subtract the configured working hours. Basically all time entries on such a day will be added to overtime. The calculation becomes: daily overtime = sum(all time entries for that day)

How do I use overtime in the tool?

Just work less than you are supposed to. If you are supposed to work 8 hours each day and you only make time entries for 6 hours, then 2 hours will be deducted from your overtime.

If you want to take a full day off then just add a time entry with zero hours.

FAQs

Package last updated on 12 Sep 2019

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