🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

sci-calc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sci-calc

Command-line cientific calculator based on node REPL, with the possibility to declare functions and variables, and save them and load them. This command-line calculator possesses a permanent history.

1.0.3
latest
Source
npm
Version published
Weekly downloads
16
700%
Maintainers
1
Weekly downloads
 
Created
Source

sci-calc

Command-line scientific calculator based on node REPL, with the possibility to declare functions and variables, and save them and load them. This command-line calculator possesses a permanent history.

Getting Started

Install the module with: npm install sci-calc, then from the sci-calc package directory run: npm link Then use it with the command: sc For help, use: help

Documentation

Available commands:

save x: save declared variable or function x

load x: load saved variable or function x

show [opt]: show [-s --saved] and [-d --declared] variables and functions

search x: search if variable or function x is saved

remove: remove saved variable or function x

forget x: forget declared variable or function x

reset: forget all declared variables and functions

flushistory: clear all history

help [opt]: show this help, or special sections [opt]:

   -g --general general help

   -c --commands list of commands

   -m --math list of available math functions

   -p --protected list of protected names

exit: exit sci-calc

Contributing

Feel free to contribute to this project

License

Copyright (c) 2018 François Risoud Licensed under the MIT license.

By the way

Power operator ** is now part of the ES6 spec and is implemented in recent node versions. But to support older versions of node, x**n is parsed and cast it into pow(x, n).

Keywords

math

FAQs

Package last updated on 22 Jun 2018

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