# nv-cli-loop

> cli,to write many for/while

Latest version **1.0.17** (published 2021-07-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install nv-cli-loop
pnpm add nv-cli-loop
yarn add nv-cli-loop
bun add nv-cli-loop
```

Provides the command `nv_loop`.

## 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.17 |
| Published | 2021-07-07 |
| First published | 2021-07-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ihgazni2 |
| Keywords | cli, for, while |

## Links

- npm: https://www.npmjs.com/package/nv-cli-loop
- npm.io page: https://npm.io/package/nv-cli-loop

## Dependencies (5)

- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [nv-cli-basic](https://npm.io/package/nv-cli-basic.md) ^1.0.5
- [nv-string-basic](https://npm.io/package/nv-string-basic.md) ^1.0.24
- [nv-facutil-basic](https://npm.io/package/nv-facutil-basic.md) ^1.0.55
- [nv-data-tree-csp-node](https://npm.io/package/nv-data-tree-csp-node.md) ^1.0.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.17 (latest) — 2021-07-07

## README

nv-cli-loop
===============
- nv-cli-loop    
- cli tool, quickly generate for/while blocks 


install
=======
- npm install nv-cli-loop -g 

usage
=====

        nv-cli-loop# node loop-cli.js -h
        Usage: nv_loop [options]
        Options:
            -d, --depth          nest depth, default 3
            -i, --indent         indent,default 1
            -f, --for            for loop
            -n, --forin          for in loop
            -o, --forof          for of loop
            -a, --awaitof        for await of loop
            -w, --while          while loop
            -h, --help           usage
        
        nv-cli-loop#



for 
-----

        nv-cli-loop# node loop-cli.js -f -d 4
            let ilngth=;
            let jlngth=;
            let klngth=;
            let l3lngth=;
            \\\\
            for(let i=0;i<ilngth;i++){

                for(let j=0;j<jlngth;j++){

                    for(let k=0;k<klngth;k++){

                        for(let l3=0;l3<l3lngth;l3++){

                        }

                    }

                }

            }
        nv-cli-loop#



while
-----

        nv-cli-loop# node loop-cli.js -w -d 4
            let ilngth=;
            let jlngth=;
            let klngth=;
            let l3lngth=;
            \\\\
            let i=0;

            while(i<ilngth){

                let j=0;

                while(j<jlngth){

                    let k=0;

                    while(k<klngth){

                        let l3=0;

                        while(l3<l3lngth){

                            l3=l3+1

                        }

                        k=k+1

                    }

                    j=j+1

                }

                i=i+1

            }
        nv-cli-loop#




forin
-----


        nv-cli-loop# node loop-cli.js -n -d 4
            let d=;
            for(let i in d ){

                for(let j in i ){

                    for(let k in j ){

                        for(let l3 in k ){

                        }

                    }

                }

            }
        nv-cli-loop#



forof
------

        nv-cli-loop# node loop-cli.js -o -d 4
            let o=;
            for(let i of o ){

                for(let j of i ){

                    for(let k of j ){

                        for(let l3 of k ){

                        }

                    }

                }

            }
        nv-cli-loop#



for await of
------------

        nv-cli-loop# node loop-cli.js -a -d 5
            let o=;
            for await(let i of o ){

                for await(let j of i ){

                    for await(let k of j ){

                        for await(let l3 of k ){

                            for await(let l4 of l3 ){

                            }

                        }

                    }

                }

            }
        nv-cli-loop#


LICENSE
=======
- ISC

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