# nv-cli-json-fill

> nv-cli-json-fill ==========

Latest version **1.0.7** (published 2024-01-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install nv-cli-json-fill
pnpm add nv-cli-json-fill
yarn add nv-cli-json-fill
bun add nv-cli-json-fill
```

Provides the command `nv_cli_json_fill`.

## 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.7 |
| Published | 2024-01-23 |
| First published | 2023-07-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 47 |
| Unpacked size | 60.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | ihgazni2 |

## Links

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

## Dependencies (47)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [nanoid](https://npm.io/package/nanoid.md) ^3.3.6
- [nvison](https://npm.io/package/nvison.md) ^1.0.28
- [minimist](https://npm.io/package/minimist.md) ^1.2.8
- [charcodes](https://npm.io/package/charcodes.md) ^0.2.0
- [nv-cli-pkg](https://npm.io/package/nv-cli-pkg.md) ^1.0.1
- [nvison-cfg](https://npm.io/package/nvison-cfg.md) ^1.0.14
- [nv-cli-user](https://npm.io/package/nv-cli-user.md) ^1.0.1
- [nv-char-jsid](https://npm.io/package/nv-char-jsid.md) ^1.0.2
- [nv-cli-basic](https://npm.io/package/nv-cli-basic.md) ^1.0.11
- [nv-facutil-d](https://npm.io/package/nv-facutil-d.md) ^1.0.11
- [nv-facutil-o](https://npm.io/package/nv-facutil-o.md) ^1.0.1
- [nv-char-basic](https://npm.io/package/nv-char-basic.md) ^1.0.3
- [nv-cli-jfetch](https://npm.io/package/nv-cli-jfetch.md) ^1.0.2
- [nv-cli-quasis](https://npm.io/package/nv-cli-quasis.md) ^1.0.2
- [nv-facutil-oc](https://npm.io/package/nv-facutil-oc.md) ^1.0.1
- [nv-array-basic](https://npm.io/package/nv-array-basic.md) ^1.0.25
- [nv-array-combo](https://npm.io/package/nv-array-combo.md) ^1.0.0
- [nv-array-split](https://npm.io/package/nv-array-split.md) ^1.0.2
- [nv-char-escape](https://npm.io/package/nv-char-escape.md) ^1.0.14
- [nv-cli-jpl-eng](https://npm.io/package/nv-cli-jpl-eng.md) ^1.0.1
- [nv-json-length](https://npm.io/package/nv-json-length.md) ^1.0.1
- [nvison-parse-d](https://npm.io/package/nvison-parse-d.md) ^1.0.61
- [nv-facutil-defp](https://npm.io/package/nv-facutil-defp.md) ^1.0.3
- [nv-facutil-name](https://npm.io/package/nv-facutil-name.md) ^1.0.5
- [nv-facutil-surl](https://npm.io/package/nv-facutil-surl.md) ^1.0.2
- [nv-facutil-thrw](https://npm.io/package/nv-facutil-thrw.md) ^1.0.2
- [nv-facutil-untf](https://npm.io/package/nv-facutil-untf.md) ^1.0.2
- [nv-string-basic](https://npm.io/package/nv-string-basic.md) ^1.0.51
- [nv-facutil-basic](https://npm.io/package/nv-facutil-basic.md) ^1.3.20
- [nv-facutil-event](https://npm.io/package/nv-facutil-event.md) ^1.0.0
- [nv-facutil-typis](https://npm.io/package/nv-facutil-typis.md) ^1.0.5
- [nv-string-stream](https://npm.io/package/nv-string-stream.md) ^1.0.10
- [nvison-obj-class](https://npm.io/package/nvison-obj-class.md) ^1.0.12
- [nv-facutil-csutil](https://npm.io/package/nv-facutil-csutil.md) ^1.0.5
- [nv-string-comment](https://npm.io/package/nv-string-comment.md) ^1.0.5
- [nv-char-whitespace](https://npm.io/package/nv-char-whitespace.md) ^1.0.7
- [nv-facutil-jswitch](https://npm.io/package/nv-facutil-jswitch.md) ^1.0.13
- [nv-facutil-promise](https://npm.io/package/nv-facutil-promise.md) ^1.0.34
- [nvison-obj-typedef](https://npm.io/package/nvison-obj-typedef.md) ^1.0.3
- [nvison-parse-scope](https://npm.io/package/nvison-parse-scope.md) ^1.0.14
- [nvison-parse-state](https://npm.io/package/nvison-parse-state.md) ^1.0.12
- [nv-facutil-notandor](https://npm.io/package/nv-facutil-notandor.md) ^1.0.5
- [nvison-parse-engine](https://npm.io/package/nvison-parse-engine.md) ^1.0.53
- [nv-facutil-generator](https://npm.io/package/nv-facutil-generator.md) ^1.0.6
- [nvison-parse-internal](https://npm.io/package/nvison-parse-internal.md) ^1.0.40
- [nv-server-simple-stream](https://npm.io/package/nv-server-simple-stream.md) ^1.0.36

## Recent versions

- 1.0.7 (latest) — 2024-01-23
- 1.0.5 — 2023-07-21
- 1.0.4 — 2023-07-20
- 1.0.3 — 2023-07-20
- 1.0.1 — 2023-07-11

## README

nv-cli-json-fill
==========
- creat code to build fixed-shape json

install
=======
- npm install nv-cli-json-fill -g

usage
=====

	Usage: nv_cli_json_fill [options] 
	Options:
	    -H, --hint_name         hint name, must be valid js identifier AND cant includes "$"
	    -i, --input             input json default stdin
	    -r, --run_as_srv        run as a http service
	    -q, --request           match string IF using http service
	    -u, --url               IF not empty, request will use the url  ELSE will use internal unix_sock
	    -n, --ngx_user          nginx user name, default www-data
	    -w, --workdir           work dir ,dflt "./"
	    -h, --help              usage

example
========

          #mkdir WORKBENCH
          #cd    WORKBENCH
          # nv_cli_json_fill -H my_jbuilder 
            
             // paste some json
				[
				  null,
				  true,
				  false,
				  '\x00 a ÿ 我 𝑒 \b \t \n \f \r " \\ ',
				  0,
				  -0,
				  1.1,
				  -1.1,
				  1e+21,
				  -1e+21,
				  1.7976931348623157e+308,
				  -1.7976931348623157e+308,
				  [],
				  {},
				  {
				    '0': -0,
				    ary: [
				      0,
				      -0,
				      1.1,
				      -1.1,
				      1e+21,
				      -1e+21,
				      1.7976931348623157e+308,
				      -1.7976931348623157e+308
				    ],
				    empty_ary: [],
				    EMPTY_A: {},
				    dict: {
				      n: null,
				      t: true,
				      f: false,
				      's s': '\x00 a ÿ 我 𝑒 \b \t \n \f \r " \\ '
				    }
				  }
				]          

              // press ctrl+D

			WORKBENCH# ls -l 
			total 4
			-rw-r--r-- 1 root root 3468 Jul 11 16:21 my_jbuilder.js


           # use it  to cheange key


			> const x=require("./my_jbuilder.js")
			[Function: creat] { help: [Function (anonymous)] }
			> 


			x({k18:'AAAAAAAA'})

			/*
			> x({k18:'AAAAAAAA'})
			[
			  null,
			  true,
			  false,
			  '\x00 a ÿ 我 𝑒 \b \t \n \f \r " \\ ',
			  0,
			  0,
			  1.1,
			  -1.1,
			  1e+21,
			  -1e+21,
			  1.7976931348623157e+308,
			  -1.7976931348623157e+308,
			  [],
			  {},
			  {
			    '0': 0,
			    AAAAAAAA: [  //======================================>here
			      0,
			      0,
			      1.1,
			      -1.1,
			      1e+21,
			      -1e+21,
			      1.7976931348623157e+308,
			      -1.7976931348623157e+308
			    ],
			    empty_ary: [],
			    EMPTY_A: {},
			    dict: {
			      n: null,
			      t: true,
			      f: false,
			      's s': '\x00 a ÿ 我 𝑒 \b \t \n \f \r " \\ '
			    }
			  }
			]
			> 
			*/

			// check the value-name-map AND key-name-map USING .help()

			> x.help()
			［
			    ${_1},
			    ${b2},
			    ${b3},
			    ${s4},
			    ${n5},
			    ${n6},
			    ${n7},
			    ${n8},
			    ${n9},
			    ${n10},
			    ${n11},
			    ${n12},
			    ［
			    ］,
			    ｛
			    ｝,
			    ｛
				${k16} : ${n17},
				${k18} : ［
				    ${n20},
				    ${n21},
				    ${n22},
				    ${n23},
				    ${n24},
				    ${n25},
				    ${n26},
				    ${n27}
				］,
				${k28} : ［
				］,
				${k30} : ｛
				｝,
				${k32} : ｛
				    ${k34} : ${_35},
				    ${k36} : ${b37},
				    ${k38} : ${b39},
				    ${k40} : ${s41}
				｝
			    ｝
			］




LICENSE
=======
- ISC

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