{"id":15552990,"url":"https://github.com/bahmutov/json-package","last_synced_at":"2025-08-31T00:31:16.356Z","repository":{"id":57285047,"uuid":"47644818","full_name":"bahmutov/json-package","owner":"bahmutov","description":"Fetches any property from package.json using short prefix `jso dep` is same as `cat package.json | grep dependencies`","archived":false,"fork":false,"pushed_at":"2021-03-11T20:33:12.000Z","size":145,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-17T15:49:10.418Z","etag":null,"topics":["module","npm","package","utility"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmutov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-08T19:37:23.000Z","updated_at":"2023-09-08T17:04:26.000Z","dependencies_parsed_at":"2022-09-07T13:14:01.602Z","dependency_job_id":null,"html_url":"https://github.com/bahmutov/json-package","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fjson-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fjson-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fjson-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fjson-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/json-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231539790,"owners_count":18392337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["module","npm","package","utility"],"created_at":"2024-10-02T14:23:24.338Z","updated_at":"2024-12-27T21:01:42.368Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-package\n\n\u003e Fetches any property from package.json using short prefix\n\u003e `jso dep` is same as `cat package.json | grep dependencies`\n\n[![NPM][json-package-icon] ][json-package-url]\n\n[![ci status][ci image]][ci url]\n[![semantic-release][semantic-image] ][semantic-url]\n[![manpm](https://img.shields.io/badge/manpm-%E2%9C%93-3399ff.svg)](https://github.com/bahmutov/manpm)\n[![standard style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n## Install and use\n\n    npm install -g json-package\n\nInstalls shortcuts \"jso\" and \"j\"\n\nThen use `jso \u003cproperty name prefix\u003e` to show any property from `package.json`\n\nExample: show version\n\n    jso v\n    j v\n\nIf there are multiple properties starting with the same prefix, the `jso` will show choices\n\n## Show in action\n\n[![asciicast](https://asciinema.org/a/31447.png)](https://asciinema.org/a/31447)\n\n## Differences from `npm view \u003cpackage name\u003e [property]`\n\nThere is a command [npm view](https://docs.npmjs.com/cli/view) that can do the same -\nand more. I prefer using `json-package` for these reasons\n\n* `json-package` only does the local lookup, thus faster and less typing\n* `json-package` matches property by prefix, again less typing\n\n## Related\n\n* [npm-quick-run](https://github.com/bahmutov/npm-quick-run) - run NPM script command by prefix\n* [json](https://www.npmjs.com/package/json) - powerful display and processig for JSON files\n\n### Small print\n\nAuthor: Gleb Bahmutov \u0026copy; 2015\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](https://glebbahmutov.com)\n* [blog](https://glebbahmutov.com/blog/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/json-package/issues) on Github\n\n## MIT License\n\nCopyright (c) 2015 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[json-package-icon]: https://nodei.co/npm/json-package.png?downloads=true\n[json-package-url]: https://npmjs.org/package/json-package\n[ci image]: https://github.com/bahmutov/json-package/workflows/ci/badge.svg?branch=master\n[ci url]: https://github.com/bahmutov/json-package/actions\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fjson-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fjson-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fjson-package/lists"}