Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

newton-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newton-cli

A CLI for the Newton API

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Newton-CLI

A CLI of the awesome Newton API.

to-do: clean up dependencies

Installation

$ npm i -g newton-cli

Usage

Using newton is simple - all you need is an operation and an expression

$ newton -o derive x^2
  2x

newton

Usage: newton <operation> <expression>

Options:

  -h, --help                   output usage information
  -V, --version                output the version number
  -o, --operation <operation>  Type of operation to be executed

There are a variety of operations you can use:

Operation      Eg. Expression      Result        
simplify2^2+2(2)8
factorx^2 + 2xx (x + 2)
derivex^2+2x2 x + 2
integratex^2+2x1/3 x^3 + x^2 + C
zeroesx^2+2x[-2, 0]
tangent2 , x^312 x + -16
area2:4 , x^360
cospi-1
sin00
tan00
arccos10
arcsin00
arctan00
abs-11
log2 , 83

FAQs

Package last updated on 08 Apr 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc