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

calctt

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
Package was removed
Sorry, it seems this package was removed from the registry

calctt

terminal_calculator

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Calctt

Calctt is a command-line calculator tool built with Node.js. It supports basic arithmetic operations, mathematical functions, and more complex calculations.

Features

  • Perform basic arithmetic operations (+, -, *, /, %, ^).
  • Evaluate mathematical functions such as square root, sine, cosine, tangent, logarithm, exponential, absolute value, rounding, floor, ceiling, factorial, greatest common divisor (GCD), and least common multiple (LCM).
  • Read expressions from command-line arguments or interactively from the user.

Usage

Installation

You can install Calctt globally using npm:

npm install -g calctt

Command-line Usage

Run Calctt with an expression as a command-line argument:

calctt 2 + 3

Interactive Mode

If no arguments are provided, Calctt will enter interactive mode, where you can input expressions directly:

calctt

Enter expressions like 2 + 3 and press Enter to see the result. To exit interactive mode, type exit.

Options

  • -h, --help: Display usage instructions.
  • -v, --version: Display the version of Calctt.

Examples

  • Addition: 2 + 3
  • Square root: sqrt(16)
  • Sine function: sin(30)
  • Factorial: factorial(5)

License

This project is licensed under the MIT License.

Support

For support, contact fornet.ovi@gmail.com

Keywords

terminal_calculator

FAQs

Package last updated on 15 Mar 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