npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

newtonian

0.1.1 • Public • Published

newtonian

A Universal JavaScript library of newtonian functions.

Build Status codecov

NPM

Features

  • Tested with Jest

  • Bundled for node, jsnext, and umd

Usage

import { gravitationalForce } from 'newtonian'
 
const force = gravitationalForce( { G: 1
                                  , m_i: 100
                                  , m_j: 100
                                  , q_i: { x: 10, y: 75, z: 0 }
                                  , q_j: { x: 60, y: 5, z: 0 }
                                  }
                                )
 
// typeof force === 'number'

Note: newtonian is in active development and is accepting PRs for any Newton related science or documentation.

install

npm i newtonian

Downloadsweekly downloads

6

version

0.1.1

license

none

last publish

collaborators

  • avatar
Report a vulnerability