# cell-orientation

> Computes the orientation of a cell

Latest version **1.0.1** (published 2015-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install cell-orientation
pnpm add cell-orientation
yarn add cell-orientation
bun add cell-orientation
```

## 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.0.1 |
| Published | 2015-06-20 |
| First published | 2015-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko |
| Keywords | orientation, simplex, cell, complex, topology |

## Links

- npm: https://www.npmjs.com/package/cell-orientation
- Repository: https://github.com/mikolalysenko/cell-orientation
- Issues: https://github.com/mikolalysenko/cell-orientation/issues
- npm.io page: https://npm.io/package/cell-orientation

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-06-20

## README

cell-orientation
================
Computes the orientation of a cell, given by a list of integer indices.

# Example

```javascript
var orientation = require('cell-orientation')

console.log(orientation([0, 1, 2]))
console.log(orientation([1, 0, 2]))
console.log(orientation([1, 1, 2]))
```

# API

#### `require('cell-orienation')(s)`
Computes the orientation of the cell

* `s` is a list of integers

**Returns** `0` if `s` has any duplicates (ie is degenerate), otherwise `+/-` depending on the ordering of `s`

# License
(c) 2015 Mikola Lysenko. MIT License

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