{"name":"are-docs-informative","version":"0.1.0","author":{"name":"JoshuaKGoldberg","email":"npm@joshuakgoldberg.com"},"license":"MIT","_id":"are-docs-informative@0.1.0","maintainers":[{"name":"joshuakgoldberg","email":"npm@joshuakgoldberg.com"}],"homepage":"https://github.com/JoshuaKGoldberg/are-docs-informative#readme","bugs":{"url":"https://github.com/JoshuaKGoldberg/are-docs-informative/issues"},"dist":{"shasum":"c1f0255229fb785e25c33cdcb098cebad50ad23e","tarball":"http://registry-npm.ywwl.com/are-docs-informative/download/are-docs-informative-0.1.0.tgz","fileCount":7,"integrity":"sha512-CplVvB5za1z5Zn528h0EUogt/McTT7lvHZKFtb2NYldodL7G3u2O49Mgws3mP/TrKhpNuDjKPHYxmh8t2DGTtQ==","signatures":[{"sig":"MEQCIE+ZB5E5KJIY/YesGH3Nalzc2xOK3ChrzLFynKsvH+7uAiBm+CtZLQ8pko7N8fpGxTsezVF0Ci4Skt3nR4yWMP6+lw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/are-docs-informative@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10232,"size":4129,"noattachment":false,"key":"/are-docs-informative/-/are-docs-informative-0.1.0.tgz"},"main":"lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=18"},"gitHead":"d6bd6fe131fa754f64a090c36191db97cc50fc57","scripts":{"tsc":"tsc","lint":"eslint . --max-warnings 0","test":"vitest","build":"tsup","format":"prettier .","lint:md":"markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line","prepare":"husky","lint:knip":"knip","lint:packages":"pnpm dedupe --check","lint:spelling":"cspell \"**\" \".github/**/*\""},"_npmUser":{"name":"joshuakgoldberg","email":"npm@joshuakgoldberg.com"},"repository":{"url":"git+https://github.com/JoshuaKGoldberg/are-docs-informative.git","type":"git"},"_npmVersion":"10.8.2","description":"Checks whether a documentation description introduces any new information. ℹ️","directories":{},"lint-staged":{"*":"prettier --ignore-unknown --write"},"_nodeVersion":"20.19.0","publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@10.8.0","devDependencies":{"knip":"5.50.1","tsup":"8.4.0","husky":"9.1.7","cspell":"8.18.0","eslint":"9.24.0","vitest":"3.1.1","prettier":"3.5.3","@eslint/js":"9.24.0","release-it":"18.1.2","typescript":"5.8.2","@types/node":"22.14.0","lint-staged":"15.5.0","markdownlint":"0.37.4","eslint-plugin-n":"17.16.2","markdownlint-cli":"0.44.0","console-fail-test":"0.5.0","eslint-plugin-yml":"1.17.0","typescript-eslint":"8.29.0","prettier-plugin-sh":"0.17.0","sentences-per-line":"0.3.0","@vitest/coverage-v8":"3.1.1","eslint-plugin-jsdoc":"50.6.8","eslint-plugin-jsonc":"2.20.0","eslint-plugin-regexp":"2.7.0","@vitest/eslint-plugin":"1.1.38","create-typescript-app":"2.34.0","prettier-plugin-curly":"0.3.1","eslint-plugin-markdown":"5.1.0","eslint-plugin-package-json":"0.29.0","eslint-plugin-perfectionist":"4.11.0","prettier-plugin-packagejson":"2.5.10","@types/eslint-plugin-markdown":"2.0.2","@release-it/conventional-changelog":"10.0.0","@eslint-community/eslint-plugin-eslint-comments":"4.4.1"},"_npmOperationalInternal":{"tmp":"tmp/are-docs-informative_0.1.0_1744988284473_0.27653709200693966","host":"s3://npm-registry-packages-npm-production"},"readme":"<h1 align=\"center\">Are Docs Informative</h1>\n\n<p align=\"center\">\n\tChecks whether a documentation description introduces any new information.\n\tℹ️\n</p>\n\n<p align=\"center\">\n\t<!-- prettier-ignore-start -->\n\t<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\t<a href=\"#contributors\" target=\"_blank\"><img alt=\"👪 All Contributors: 1\" src=\"https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-1-21bb42.svg\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\t<!-- prettier-ignore-end -->\n\t<a href=\"https://github.com/JoshuaKGoldberg/are-docs-informative/blob/main/.github/CODE_OF_CONDUCT.md\" target=\"_blank\"><img alt=\"🤝 Code of Conduct: Kept\" src=\"https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42\" /></a>\n\t<a href=\"https://codecov.io/gh/JoshuaKGoldberg/are-docs-informative\" target=\"_blank\"><img alt=\"🧪 Coverage\" src=\"https://img.shields.io/codecov/c/github/JoshuaKGoldberg/are-docs-informative?label=%F0%9F%A7%AA%20coverage\" /></a>\n\t<a href=\"https://github.com/JoshuaKGoldberg/are-docs-informative/blob/main/LICENSE.md\" target=\"_blank\"><img alt=\"📝 License: MIT\" src=\"https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg\" /></a>\n\t<a href=\"http://npmjs.com/package/are-docs-informative\" target=\"_blank\"><img alt=\"📦 npm version\" src=\"https://img.shields.io/npm/v/are-docs-informative?color=21bb42&label=%F0%9F%93%A6%20npm\" /></a>\n\t<img alt=\"💪 TypeScript: Strict\" src=\"https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg\" />\n</p>\n\n## Usage\n\n> See this in action in [`jsdoc/informative-docs`](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md)!\n\n```shell\nnpm i are-docs-informative\n```\n\n```ts\nimport { areDocsInformative } from \"are-docs-informative\";\n\nareDocsInformative(\"The user id.\", \"userId\"); // false\nareDocsInformative(\"Retrieved user id.\", \"userId\"); // true\n```\n\n### Options\n\nThe `areDocsInformative` function can receive a third, optional object parameter.\nIt can contain any of the following properties.\n\n#### `aliases`\n\nThe `aliases` option allows indicating words as synonyms (aliases) of each other.\n\nFor example, with `{ aliases: { emoji: [\"smiley\", \"winkey\"] } }`, the following comment would be considered uninformative:\n\n```ts\n/** Default smiley/winkey. */\nexport const defaultSmiley = \"🙂\";\n```\n\nThe default `aliases` option is:\n\n```json\n{\n\t\"a\": [\"an\", \"our\"]\n}\n```\n\n#### `uselessWords`\n\nWords that are ignored when searching for one that adds meaning.\n\nFor example, with `{ uselessWords: [\"our\"] }`, the following comment would be considered uninformative:\n\n```ts\n/** Our text. */\nexport const text = \":)\";\n```\n\nThe default `uselessWords` option is:\n\n```json\n[\"a\", \"an\", \"i\", \"in\", \"of\", \"s\", \"the\"]\n```\n\n## Development\n\nSee [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md), then [`.github/DEVELOPMENT.md`](./.github/DEVELOPMENT.md).\nThanks! ℹ\n\n## Contributors\n\n<!-- spellchecker: disable -->\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://www.joshuakgoldberg.com\"><img src=\"https://avatars.githubusercontent.com/u/3335181?v=4?s=100\" width=\"100px;\" alt=\"Josh Goldberg\"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href=\"#tool-JoshuaKGoldberg\" title=\"Tools\">🔧</a> <a href=\"https://github.com/JoshuaKGoldberg/are-docs-informative/commits?author=JoshuaKGoldberg\" title=\"Documentation\">📖</a> <a href=\"#infra-JoshuaKGoldberg\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"https://github.com/JoshuaKGoldberg/are-docs-informative/commits?author=JoshuaKGoldberg\" title=\"Code\">💻</a> <a href=\"#content-JoshuaKGoldberg\" title=\"Content\">🖋</a> <a href=\"#ideas-JoshuaKGoldberg\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"#maintenance-JoshuaKGoldberg\" title=\"Maintenance\">🚧</a> <a href=\"#projectManagement-JoshuaKGoldberg\" title=\"Project Management\">📆</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n<!-- spellchecker: enable -->\n\n> 💝 This package was templated with [`create-typescript-app`](https://github.com/JoshuaKGoldberg/create-typescript-app) using the [Bingo engine](https://create.bingo).\n","publish_time":1744988284647,"_cnpm_publish_time":1744988284647,"dist-tags":{"latest":"0.1.1"}}