Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thecymaera/suvat-js
https://github.com/thecymaera/suvat-js
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thecymaera/suvat-js
- Owner: TheCymaera
- Created: 2022-11-12T15:44:13.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-12T15:44:16.000Z (about 2 years ago)
- Last Synced: 2024-12-16T02:22:47.481Z (12 days ago)
- Language: TypeScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SUVAT
A small TypeScript/JavaScript library for solving the SUVAT equations.## Installation
Install via [npm](https://www.npmjs.com/package/suvat):
```shell
npm install suvat
```## Example usage
```typescript
import * as suvat from "suvat";// enter 3 known variables to find the other 2
const completed = suvat.complete({
s: 1,
u: 2,
v: 3,
});// use a specific formula
// - solve for s, where u as the 2nd unknown.
const s = suvat.formulas.s.u;
```