{"id":16731422,"url":"https://github.com/skratchdot/npm-dview","last_synced_at":"2025-03-21T21:31:17.996Z","repository":{"id":8011883,"uuid":"9420295","full_name":"skratchdot/npm-dview","owner":"skratchdot","description":"Compare current package.json dependency version numbers with latest remote version number.","archived":false,"fork":false,"pushed_at":"2019-06-19T17:24:47.000Z","size":86,"stargazers_count":31,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T05:23:17.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skratchdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-13T21:15:46.000Z","updated_at":"2024-03-02T06:31:52.000Z","dependencies_parsed_at":"2022-09-10T20:10:41.433Z","dependency_job_id":null,"html_url":"https://github.com/skratchdot/npm-dview","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fnpm-dview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fnpm-dview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fnpm-dview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skratchdot%2Fnpm-dview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skratchdot","download_url":"https://codeload.github.com/skratchdot/npm-dview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874170,"owners_count":20524576,"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":[],"created_at":"2024-10-12T23:37:05.529Z","updated_at":"2025-03-21T21:31:17.402Z","avatar_url":"https://github.com/skratchdot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-dview\n\n[![Build Status](https://travis-ci.org/skratchdot/npm-dview.png?branch=master)](https://travis-ci.org/skratchdot/npm-dview)\n[![Coverage Status](https://coveralls.io/repos/skratchdot/npm-dview/badge.png)](https://coveralls.io/r/skratchdot/npm-dview)\n[![Dependency Status](https://david-dm.org/skratchdot/npm-dview.svg)](https://david-dm.org/skratchdot/npm-dview)\n[![devDependency Status](https://david-dm.org/skratchdot/npm-dview/dev-status.svg)](https://david-dm.org/skratchdot/npm-dview#info=devDependencies)\n\n\n## Description ##\n\nnpm-dview is a command line tool for comparing a package.json file's dependency version\nnumbers with the latest remote version number.  \n\nIt compares both \"dependencies\" and/or \"devDependencies\".  \n\nIt accomplishes this by calling \"npm view MODULE_NAME version\" for each dependency listed\nin your package.json file.\n\n\n## Installation ##\n\nInstall the command line tool globally by running:\n\n    npm install -g npm-dview\n\n\n## Usage ##\n\n    Usage: npm-dview [options]\n\n\n## Options ##\n\n    -h, --help           output usage information\n    -v, --version        output the version number\n    --dep                Show regular dependencies\n    --dev                Show development dependencies\n    --peer               Show peer dependencies\n    --update             Update the package.json file with remote version numbers\n    --hideLocal          Hide dependencies which local copy same as requestedVersion\n    --excludeCurrent     Exclude up-to-date packages from the output\n    --output [type]      Specify the output type [table,json]\n    --outputFile \u003cfile\u003e  the file to write data to\n    --file \u003cfile\u003e        The location of the package.json file\n\n\n## Screenshots ##\n\n#### Default Usage: ####\n\n![Default Usage](https://github.com/skratchdot/npm-dview/raw/master/screenshots/default.png)  \n\n#### Help: ####\n\n![Help](https://github.com/skratchdot/npm-dview/raw/master/screenshots/help.png)  \n\n#### List Regular Dependencies Only: ####\n\n![List Regular Dependencies Only](https://github.com/skratchdot/npm-dview/raw/master/screenshots/dep-only.png)  \n\n\n## Contributing ##\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\nAdd unit tests for any new or changed functionality. Lint and test your code\nusing [Grunt](http://gruntjs.com/).\n\n\n## Release History ##\n\n- Version 2.0.3 - Released Apr 11, 2016\n  - fixed undefined when using --hideLocal\n\n- Version 2.0.2 - Released Apr 10, 2016\n  - add --hideLocal cli option (thanks [@syarul](https://github.com/syarul))\n\n- Version 2.0.1 - Released Apr 9, 2016\n  - updating README\n  - updating package dependencies\n\n- Version 2.0.0 - Released Aug 25, 2015\n  - adding --excludeCurrent command line option.\n\n- Version 1.3.0 - Released Aug 16, 2015\n  - adding an --outputFile argument\n  - adding a progress bar\n  - changing the format of the json output\n\n- Version 1.2.0 - Released Aug 14, 2015\n  - Show ticks and crosses in place of boolean (for whether or not version is current)\n  - New cli option that allows json to be output instead of a table\n\n- Version 1.1.2 - Released Nov 17, 2014\n  - url test now just checks for presence of '/'\n\n- Version 1.1.1 - Released Oct 22, 2014\n  - url parsing bugfix.\n  - stop trying to get remote version for urls.\n\n- Version 1.1.0 - Released Oct 21, 2014\n  - stop processing urls and don't update package.json with ???\n\n- Version 1.0.0 - Released Aug 4, 2014\n  - now processing peerDependencies.\n  - changed cli option names.\n  - auto updating package.json when `--update` option is passed.\n\n- Version 0.3.0 - Released June 2, 2014\n\n  - No longer throwing error when only devDependencies are found\n\n- Version 0.2.0 - Released May 18, 2013\n\n  - Adding hardcoded column widths\n\n- Version 0.1.1 - Released May 3, 2013\n\n  - New columns: \"Local\" and \"Current?\"\n  - Changed column name: \"Requested Version\" -\u003e \"Requested\"\n  - Changed column name: \"Remote Version\" -\u003e \"Remote\"\n  - Updating \"async\" version\n\n- Version 0.1.0 - Released April 13, 2013\n\n  - Initial Implementation\n\n\n## Todo ##\n\n- Add unit tests\n\n- Show progress bar/message while making remote calls\n\n- Split cli logic into new file, and expose a function that allows other libraries\n  to use this via require('npm-dview').\n\n\n## See Also ##\n\n- [David DM](https://david-dm.org/)\n- [GreenKeeper.io](http://greenkeeper.io/)\n- [updtr](https://github.com/peerigon/updtr)\n- [next-updater](https://github.com/bahmutov/next-updater)\n- [npm-check-updates](https://www.npmjs.com/package/npm-check-updates)\n- [renovate](https://keylocation.sg/our-tech/renovate)\n- [npmvet](https://github.com/harksys/npmvet)\n\n\n## License ##\n\nCopyright (c) 2013 skratchdot  \nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskratchdot%2Fnpm-dview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskratchdot%2Fnpm-dview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskratchdot%2Fnpm-dview/lists"}