New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@aux4/json

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aux4/json

JSON cli tools

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

@aux4/json

JSON cli tools

Install

npm install -g @aux4/json

Usage

Merge

Merge multiple json files into one.

$ aux4-json merge file1.json file2.json ... > merged.json

Group

Group json file by an id (one or multiple fields). Combine the other fields into an array.

$ cat file.json | aux4-json group --id field1,field2 > grouped.json

Index

Indexes json file by an id (one or multiple fields).

$ cat file.json | aux4-json index --id field1,field2 > indexed.json

Collect

Collect multiple json from stream into one array.

$ process that streams json | aux4-json collect > collected.json

Get

Get value from json file by path. Don't forget to escape the $.

$ cat file.json | aux4-json get \$.path.to.value

Inline

Inline json file into a single line.

$ cat file.json | aux4-json inline > inlined.json

Pretty

Pretty print json file.

$ cat file.json | aux4-json pretty > pretty.json

Keywords

aux4

FAQs

Package last updated on 30 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts