# formula-lib

> Data Structures and Algorithms Node.js implementation.

Latest version **0.0.2** (published 2015-09-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install formula-lib
pnpm add formula-lib
yarn add formula-lib
bun add formula-lib
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-09-28 |
| First published | 2015-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jacopo Daeli |
| Maintainers | jacopodaeli |
| Keywords | formula, data, structures, algorithms, javascript |

## Links

- npm: https://www.npmjs.com/package/formula-lib
- Repository: https://github.com/JacopoDaeli/formula
- Homepage: https://github.com/JacopoDaeli/formula#readme
- Issues: https://github.com/JacopoDaeli/formula/issues
- npm.io page: https://npm.io/package/formula-lib

## Alternatives

- [@libsql/sqlite3](https://npm.io/package/@libsql/sqlite3.md) — 39.8K weekly downloads
- [@fortemi/core](https://npm.io/package/@fortemi/core.md) — 461 weekly downloads
- [cdb-converter](https://npm.io/package/cdb-converter.md) — 341 weekly downloads
- [@uplo/adapter-prisma](https://npm.io/package/@uplo/adapter-prisma.md) — 75 weekly downloads
- [typeorm-aios](https://npm.io/package/typeorm-aios.md) — 30 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2015-09-28
- 0.0.1 — 2015-09-28

## README

[![Build Status](https://travis-ci.org/JacopoDaeli/formula.svg?branch=master)](https://travis-ci.org/JacopoDaeli/formula)

# formula
Data Structures and Algorithms Javascript implementation.


## FMath (static)

### Static Methods
- static Integer #factorial (Integer number)
- static Integer #recursiveFactorial (Integer number)
- static String #toBaseN (Integer number, Integer base)
- static Boolean #checkUnbalancedParenthesesExpression (String expression)


## FString (static)

### Static Methods
- static Boolean #isPalindrome (String phrase)


## List

### Constructor
List (function comparator)

### Methods
- void #clear ()
- Integer #find (Object element)
- Boolean #prev ()
- Boolean #next ()
- void #front ()
- void #end ()
- Boolean #insert (Object element, Object after)
- Boolean #remove (Object element)
- Boolean #append (Object element)
- Integer #currPos ()
- Boolean #moveTo (Integer position)
- Object #getElement ()
- Boolean #contains (Object element)
- String #toString ()
- Integer #length ()


## FIFO

### Constructor
FIFO ()

### Methods
- void #enqueue (Object element)
- Object #dequeue ()
- Object #peek ()
- Integer #length ()
- Boolean #isEmpty
- void #clear ()
- String #toString ()


## PriorityQueue

### Constructor
PriorityQueue ()

### Methods
- void #enqueue (Object element, priority)
- PQElement #dequeue ()
- PQElement #peek ()
- Integer #length ()
- Boolean #isEmpty
- void #clear ()
- String #toString ()


## LIFO

### Constructor
LIFO ()

### Methods
- void #push (Object element)
- Object #pop ()
- Object #peek ()
- Integer #length ()
- void #clear ()

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