Neo's Playing Morpheus

    jsonpath-dl

    1.1.1 • Public • Published

    jsonpath-dl

    stream double new line separated json and extract nested values (cli tool)

    Examples

    $ cat package.json |jsonpath-dl description > README.md
    
    $ sbot logt npm-publish | jsonpath-dl value.content.meta.name value.content.meta.dist-tags.latest key
    hello-world 1.0.0 %1giZSS5sYDL7a6IQ8gvsvkuwJtQ9qvg91HwbEt/aEso=.sha256
    hello-world 1.0.1 %+bPLfpj/mDHn29Rn8ngHk87mlEFdRbRGaZ4QmJ5fMp0=.sha256
    hello-world 1.0.2 %rHFe7Y3fFqU/R7ncDWrhhQHPWrgTVjQBDkXz998Veqc=.sha256
    hello-world 1.0.3 %H+Uf/z+4MCEc5nHU2tDx20EF84O+YEEz+Cr9zxVIBJs=.sha256
    
    $ sbot logt npm-publish | jsonpath-dl value.content.meta.dist-tags
    {"latest":"1.0.0"}
    {"latest":"1.0.1"}
    {"latest":"1.0.2"}
    {"latest":"1.0.3"}
    
    

    Install

    npm i jsonpath-dl

    DownloadsWeekly Downloads

    5

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • regular