# nv-array-more-less

> nv-array-more-less ============ - nv-array-more-less

Latest version **1.0.0** (published 2021-04-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install nv-array-more-less
pnpm add nv-array-more-less
yarn add nv-array-more-less
bun add nv-array-more-less
```

## 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.0 |
| Published | 2021-04-15 |
| First published | 2021-04-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ihgazni2 |

## Links

- npm: https://www.npmjs.com/package/nv-array-more-less
- npm.io page: https://npm.io/package/nv-array-more-less

## Recent versions

- 1.0.0 (latest) — 2021-04-15

## README

nv-array-more-less
============
- nv-array-more-less 


install
=======
- npm install nv-array-more-less 

usage
=====

    const ary_mole = require("nv-array-more-less")
    var ary = [10,20,30,40,50,60]
    var [more,current,less] = ary_mole.from_fst(ary)


    
example
-------

    const ary_mole = require("nv-array-more-less")
    var ary = [10,20,30,40,50,60]
    var [more,current,less] = ary_mole.from_fst(ary)
    > more()
    [ 10 ]
    > more(2)
    [ 20, 30 ]
    > more(3)
    [ 40, 50, 60 ]
    > more(3)
    [ 10, 20, 30 ]
    > less()
    [ 20 ]
    > less(4)
    [ 40, 50, 60, 10 ]
    > less(3)
    [ 10, 20, 30 ]
    > less(2)
    [ 50, 60 ]
    > less()
    [ 40 ]
    > more()
    [ 50 ]
    > less()
    [ 40 ]
    > current()
    40
    > more()
    [ 50 ]
    >


API
====
- ary\_mole.from\_fst(ary)
- ary\_mole.from\_lst(ary)
- ary\_mole.more\_less(ary,start=0)

- more(offset=1)
- current()
- less(offset=1)

LICENSE
=======
- ISC

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