{"id":51942924,"url":"https://github.com/atlassian/validate-npm-package","last_synced_at":"2026-07-28T21:02:28.621Z","repository":{"id":23959149,"uuid":"100256508","full_name":"atlassian/validate-npm-package","owner":"atlassian","description":"Validate a package.json file","archived":false,"fork":false,"pushed_at":"2023-12-15T05:21:03.000Z","size":234,"stargazers_count":39,"open_issues_count":8,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-21T01:42:04.200Z","etag":null,"topics":["npm","package-json","validation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atlassian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-14T10:36:28.000Z","updated_at":"2024-11-30T05:16:15.000Z","dependencies_parsed_at":"2023-12-15T06:31:58.039Z","dependency_job_id":null,"html_url":"https://github.com/atlassian/validate-npm-package","commit_stats":null,"previous_names":["thejameskyle/validate-npm-package"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/atlassian/validate-npm-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atlassian%2Fvalidate-npm-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atlassian%2Fvalidate-npm-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atlassian%2Fvalidate-npm-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atlassian%2Fvalidate-npm-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atlassian","download_url":"https://codeload.github.com/atlassian/validate-npm-package/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atlassian%2Fvalidate-npm-package/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36007830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-28T02:00:06.341Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","package-json","validation"],"created_at":"2026-07-28T21:02:28.026Z","updated_at":"2026-07-28T21:02:28.616Z","avatar_url":"https://github.com/atlassian.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validate-npm-package\n\n\u003e Validate a package.json file\n\n```js\nconst validateNpmPackage = require('validate-npm-package');\n\nlet results = validateNpmPackage({\n  name: 'foo',\n  version: '1.0.0',\n});\n// {\n//   validForNewPackages: false,\n//   validForOldPackages: true,\n//   warnings: [\"...\"],\n//   errors: [\"...\"],\n// }\n```\n\nThere's also a CLI:\n\n```sh\n$ validate-npm-package\n$ validate-npm-package path/to/pkg\n$ validate-npm-package --quiet/-q\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlassian%2Fvalidate-npm-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatlassian%2Fvalidate-npm-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatlassian%2Fvalidate-npm-package/lists"}