{"id":22056755,"url":"https://github.com/rocktimsaikia/package-outdated","last_synced_at":"2025-03-23T16:21:03.296Z","repository":{"id":57317718,"uuid":"301140406","full_name":"rocktimsaikia/package-outdated","owner":"rocktimsaikia","description":"Returns the outdated packages of a package.json file.","archived":false,"fork":false,"pushed_at":"2020-10-04T19:40:00.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T23:49:29.132Z","etag":null,"topics":["npm-outdated","npm-package","outdated-dependencies","outdated-packages"],"latest_commit_sha":null,"homepage":"","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/rocktimsaikia.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"rocktimsaikia"}},"created_at":"2020-10-04T13:47:03.000Z","updated_at":"2020-10-06T01:06:41.000Z","dependencies_parsed_at":"2022-08-25T21:12:07.271Z","dependency_job_id":null,"html_url":"https://github.com/rocktimsaikia/package-outdated","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fpackage-outdated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fpackage-outdated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fpackage-outdated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocktimsaikia%2Fpackage-outdated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocktimsaikia","download_url":"https://codeload.github.com/rocktimsaikia/package-outdated/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128733,"owners_count":20565326,"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":["npm-outdated","npm-package","outdated-dependencies","outdated-packages"],"created_at":"2024-11-30T16:14:47.103Z","updated_at":"2025-03-23T16:21:03.272Z","avatar_url":"https://github.com/rocktimsaikia.png","language":"JavaScript","readme":"# package-outdated ![build](https://travis-ci.com/RocktimSaikia/package-outdated.svg?branch=master) ![license](https://img.shields.io/github/license/rocktimsaikia/package-outdated)\n\n\u003e Returns the outdated packages of a package.json file.\n\n## Install\n\n```bash\nnpm install package-outdated\n```\n\n## Usage\n\n```js\nconst readOutdated = require('package-outdated')\n\n(async()=\u003e{\n        console.log(await readOutdated());\n        //=\u003e {foo: { current: '1.0.0', latest: '2.0.0' }, ...}\n\n       console.log(await readOutdated({ preservePrefix: true }));\n       //=\u003e {foo: { current: '^1.0.0', latest: '2.0.0' }, ...}\n        \n})();\n```\n\n## API\n\n### readOutdated(options?)\n\nReturns the outdated packages of a package.json file.\n\n#### Options\n\n##### dir\n\nType: `string`\u003cbr\u003e\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n##### preservePrefix\n\nType: `boolean`\u003cbr\u003e\nDefault: `false`\n\nPreserves the semver `prefix(^*~)` of the current version.\n\n## Realated\n- [read-packages](https://github.com/rocktimsaikia/read-packages) - Reads dependencies of a package.json file\n\n## Support\n\n\u003ca href=\"https://www.buymeacoffee.com/7BdaxfI\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/33410545/91206759-48d5d180-e725-11ea-93b5-754d98c007af.png\" height=\"70px\"/\u003e\u003c/a\u003e\n","funding_links":["https://ko-fi.com/rocktimsaikia","https://www.buymeacoffee.com/7BdaxfI"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fpackage-outdated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocktimsaikia%2Fpackage-outdated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocktimsaikia%2Fpackage-outdated/lists"}