Socket
Book a DemoInstallSign in
Socket

viewnext-payslip-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewnext-payslip-cli

CLI tool to download payslips from GesNext employee portal

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

ViewNext Payslip CLI

ViewNext Payslip CLI is a command line tool written in Node to download payslips from the GesNext employee portal. The portal is an old, slow and not-so-nice website used by Telefónica and presumably other companies mainly to allow employees to download their payslips in PDF format. Thanks to this tool you might never have to look at it again.

Installation

You need Node.js to run this tool.

npm i -g viewnext-payslip-cli

Usage

Usage: viewnext-payslip [options]

Options:

  -h, --host <url>           URL of the portal
  -u, --user <user>          User
  -p, --password <password>  Password
  -o, --otp <otp>            One-time password
  -m, --months [number]      Months back (defaults to last payslip)
  -h, --help                 output usage information

This will download the payslip PDF file to your current folder. If you don't want to manually run this command every time, you could for example set up a cron job to do it for you once a month.

Kudos

Kudos to @soyguijarro for the original idea and the first version of this tool

FAQs

Package last updated on 21 Feb 2024

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