Socket
Book a DemoInstallSign in
Socket

climb

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

climb

climb is a tool to filter JSON by attributes and array indexes

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

node-climb

The JSON filter

What is climb?

climb is a tool that makes it easier for developers to debug and analyze JSON files and http responses.

Installation

npm install -g climb

Samples

To get the 4th item of an array in array.json file use:

climb 3 array.json

To filter the 'BTC' attribute of a response passed by a curl request:

curl -sS http://coinabul.com/api.php | climb BTC

Piping two climb commands:

curl -sS http://coinabul.com/api.php | climb BTC | climb Ounces

You can also do this

climb repository.type package.json

# or...

climb keywords.1 package.json

Want to contribute?

[TODO]

Keywords

JSON

FAQs

Package last updated on 12 Apr 2016

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