npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

json-cfg-cli

v1.0.1

Published

cli tool for big-json-config

Downloads

24

Readme

json-cfg-cli

  • cli tool for big-json-config

install

  • npm install json-cfg-cli -g

usage

srchk

@#jcfg_srchk --src ./angular.json --srchk /config/g --path projects proj architect e2e
["projects"]["proj"]["architect"]["e2e"]["configurations"]["production"]["devServerTarget"]
    proj:serve:production
---
@#


Options:
  -V, --version      output the version number
  --src <src>        source file path[mandatory:such,as a/b/c]
  --path [path...]   json key path splitted-by-space,used with --srch* (default: [])
  --srchk <pattern>  search in json config with pattern[string or regexp],only search key path
  -h, --help         display help for command
@#

srchv

@#jcfg_srchv --src ./angular.json --srchv /lin/g --path projects proj
["projects"]["proj"]["architect"]["lint"]["builder"]
    @angular-devkit/build-angular:tslint
---
@#
@#
@#
@#
@#jcfg_srchv -h
Usage: jcfg_srchv [options]

Options:
  -V, --version      output the version number
  --src <src>        source file path[mandatory:such,as a/b/c]
  --path [path...]   json key path splitted-by-space,used with --srch* (default: [])
  --srchv <pattern>  search in json config with pattern[string or regexp],only search value
  -h, --help         display help for command
@#

srchkv

@#jcfg_srchkv -h
Usage: jcfg_srchkv [options]

Options:
  -V, --version       output the version number
  --src <src>         source file path[mandatory:such,as a/b/c]
  --path [path...]    json key path splitted-by-space,used with --srch* (default: [])
  --srchkv <pattern>  search in json config,with pattern[string or regexp],only search value
  -h, --help          display help for command
@#
@#
@#
@#jcfg_srchkv --src ./angular.json --srchkv /lin/g --path projects proj
["projects"]["proj"]["architect"]["lint"]["builder"]
    @angular-devkit/build-angular:tslint
---
["projects"]["proj"]["architect"]["lint"]["options"]["tsConfig"][0]
    tsconfig.app.json
---
["projects"]["proj"]["architect"]["lint"]["options"]["tsConfig"][1]
    tsconfig.spec.json
---
["projects"]["proj"]["architect"]["lint"]["options"]["tsConfig"][2]
    e2e/tsconfig.json
---
["projects"]["proj"]["architect"]["lint"]["options"]["exclude"][0]
    **/node_modules/**
---
@#

prompt

@#jcfg_prompt --src ./angular.json --path projects proj archit
path:[ projects proj archit ] :
childrens:
[ 'architect' ]
@#
@#jcfg_prompt --src ./angular.json --path projects proj architect
path:[ projects proj architect ] :
childrens:
[ 'build', 'serve', 'extract-i18n', 'test', 'lint', 'e2e' ]
@#jcfg_prompt --src ./angular.json --path projects proj architect build
path:[ projects proj architect build ] :
childrens:
[ 'builder', 'options', 'configurations' ]
@#jcfg_prompt --src ./angular.json --path projects proj architect build builder
path:[ projects proj architect build builder ] :
    <@angular-devkit/build-angular:browser>
@#


@#jcfg_prompt -h
Usage: jcfg_prompt [options]

Options:
  -V, --version     output the version number
  --src <src>       source file path[mandatory:such,as a/b/c]
  --path [path...]  for nest-layer hint with path (default: [])
  -h, --help        display help for command
@#

set

@#jcfg_prompt --src ./angular.json --path projects proj architect build options assets '0'
path:[ projects proj architect build options assets 0 ] :
    <src/favicon.ico>
@#
@#
@#jcfg_set --src ./angular.json --set projects proj architect build options assets '0' --val src/favicon-tst.ico
the value of:
    path:[ projects proj architect build options assets 0 ]
    changed to <src/favicon-tst.ico>
{
  '$schema': './node_modules/@angular/cli/lib/config/schema.json',
  version: 1,
  newProjectRoot: 'projects',
  projects: {
    proj: {
      projectType: 'application',
      schematics: {},
      root: '',
      sourceRoot: 'src',
      prefix: 'app',
      architect: [Object]
    },
    'nest-menu': {
      projectType: 'library',
      root: 'projects/nest-menu',
      sourceRoot: 'projects/nest-menu/src',
      prefix: 'nv',
      architect: [Object]
    }
  },
  defaultProject: 'proj',
  x: { t: {} },
  pro: ''
}
@#
@#
@#jcfg_set -h
Usage: jcfg_set [options]

Options:
  -V, --version    output the version number
  --src <src>      source file path[mandatory:such,as a/b/c]
  --set <path...>  set value with path
  --val <value>    value for --set
  -h, --help       display help for command
@#

rm

@#jcfg_rm -h
Usage: jcfg_rm [options]

Options:
  -V, --version   output the version number
  --src <src>     source file path[mandatory:such,as a/b/c]
  --rm <path...>  set value with path
  -h, --help      display help for command
@#

LICENSE

  • ISC