jlens

CLI for getting values from JSON files

Usage no npm install needed!

<script type="module">
  import jlens from 'https://cdn.skypack.dev/jlens';
</script>

README

jlens Build Status

CLI for getting values from JSON files

Install

  • npm: npm i -g jlens
  • yarn: yarn global add jlens

Usage

$ jl <file> <path>

Arguments

  • file — Relative or absolute path to file
  • path — Dot.notation to needle value

Options

  • --pretty, -p — Pretty print
  • --version, -v — Show version number
  • --help, -h — Show help

Example

jl package.json dependencies.express
# =>> ^4.16.3