{"id":15113952,"url":"https://github.com/sindresorhus/npmlint","last_synced_at":"2025-09-27T17:32:19.153Z","repository":{"id":65369893,"uuid":"46969302","full_name":"sindresorhus/npmlint","owner":"sindresorhus","description":"[DEPRECATED] Lint your npm package","archived":true,"fork":false,"pushed_at":"2021-01-23T18:01:02.000Z","size":8,"stargazers_count":57,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-04-13T16:33:28.553Z","etag":null,"topics":["deprecated","javascript","lint","nodejs","npm","npm-package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/sindresorhus.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},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2015-11-27T08:46:03.000Z","updated_at":"2023-10-17T08:48:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"7014e990-3748-4d3f-96b5-6b1131c91591","html_url":"https://github.com/sindresorhus/npmlint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnpmlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnpmlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnpmlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnpmlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/npmlint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219872029,"owners_count":16554485,"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":["deprecated","javascript","lint","nodejs","npm","npm-package"],"created_at":"2024-09-26T01:40:37.499Z","updated_at":"2025-09-27T17:32:13.877Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":[],"sub_categories":[],"readme":"# Deprecated\n\nThis is a code dump of something I made a long time ago, but never had the time to finish. There are lots of things that could have been done better.\n\n---\n\n\n# npmlint [![Build Status](https://travis-ci.org/sindresorhus/npmlint.svg?branch=master)](https://travis-ci.org/sindresorhus/npmlint)\n\n\u003e Lint your npm package\n\nMakes sure your package is unicorn good.\n\n\n## Install\n\n```\n$ npm install --global npmlint\n```\n\n\n## Usage\n\nGo to the package you want to lint and run `npmlint`.\n\n\n## API\n\n```\n$ npm install --save npmlint\n```\n\n```js\nconst npmlint = require('npmlint');\n\nconsole.log(npmlint());\n//=\u003e ['suggestion', 'another suggestion']\n```\n\n\n## Dev\n\nYou can try it out by `cd`'ing into the `test` folder and running `../cli.js`\n\n\n### Creating rules\n\nRules are located in a `rules` directory. These are loaded automatically.\n\nA rule is initiated with an object containing:\n\n- `cwd`: the current working directory\n- `pkg`: the target package' package.json\n\nIt's expected to return an object or an array of object containing:\n\n- `name`: a slug name for the rule\n- `severity`: `info`, `warn`, `error`. Use your best judgement\n- `message`: a message describing the violation\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fnpmlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fnpmlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fnpmlint/lists"}