# nodephysics

> Physics tools

Latest version **1.1.4** (published 2018-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install nodephysics
pnpm add nodephysics
yarn add nodephysics
bun add nodephysics
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2018-05-28 |
| First published | 2018-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alex Reed |
| Maintainers | alexreedyt |
| Keywords | physics, tools, calculators, math |

## Links

- npm: https://www.npmjs.com/package/nodephysics
- Repository: https://github.com/alexreedyt/node-physics
- Homepage: https://github.com/alexreedyt/node-physics#readme
- Issues: https://github.com/alexreedyt/node-physics/issues
- npm.io page: https://npm.io/package/nodephysics

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2018-05-28
- 1.1.3 — 2018-04-23
- 1.1.2 — 2018-04-22
- 1.1.0 — 2018-04-22
- 1.0.7 — 2018-04-22
- 1.0.5 — 2018-04-20
- 1.0.4 — 2018-04-20
- 1.0.2 — 2018-04-19
- 1.0.1 — 2018-04-19
- 1.0.0 — 2018-04-19

## README

# Node Physics
[![npm version](https://img.shields.io/npm/v/nodephysics.svg?style=flat-square)](https://img.shields.io/npm/v/nodequadratic.svg?style=flat-square)
[![downloads per month](https://img.shields.io/npm/dm/nodephysics.svg?style=flat-square)](https://img.shields.io/npm/dm/nodequadratic.svg?style=flat-square)
[![downloads all time](https://img.shields.io/npm/dt/nodephysics.svg)](https://img.shields.io/npm/dt/nodephysics.svg)
> Physics is the natural science that studies matter and its motion and behavior through space and time and that studies the related entities of energy and force.

## Installation

This is a Node.js module available through the npm registry.

Before installing `nodephysics`, [download and install Node.js](https://nodejs.org/en/download/)

Installation is accomplished using the [npm install command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm i nodephysics
```

## Usage

Node Physics is a very simple package to use:

```javascript
var nodephysics = require("nodephysics");

var velocity = nodephysics.velocity(20, 5, true);

console.log(velocity);

// 4 m/s
```

## Functions

Every function has a boolean input that allows you to choose whether or not to include units. You do not have to include the boolean, if you do not want the units listed.

Below is the list of possible functions, as well as their different inputs.

1. .velocity(∆ position, ∆ time, boolean)
2. .acceleration(∆ velocity, ∆ time, boolean)
3. .weight(mass, gravity, boolean)
4. .momentum(mass, velocity, boolean)
5. .power(∆ work, ∆ time, boolean)

---
_Source: https://npm.io/package/nodephysics · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
