{"id":24946,"library":"awesome-readme-lint-double-link","title":"awesome-readme-lint-double-link","description":"A lint tool for awesome README files that detects duplicate links (same URL appearing more than once). Version 0.0.4, stable but minimal release cadence. Differentiates from other markdown link linters by specifically targeting duplicate links in awesome-style lists. Supports Node >=10.","status":"active","version":"0.0.4","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","awesome","lint","readme","link"],"install":[{"cmd":"npm install awesome-readme-lint-double-link","lang":"bash","label":"npm"},{"cmd":"yarn add awesome-readme-lint-double-link","lang":"bash","label":"yarn"},{"cmd":"pnpm add awesome-readme-lint-double-link","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is CommonJS only; no default ESM export. Use require().","wrong":"import awesomeReadmeLintLink from 'awesome-readme-lint-double-link';","symbol":"awesomeReadmeLintLink","correct":"const awesomeReadmeLintLink = require('awesome-readme-lint-double-link');"},{"note":"No named exports. The module exports the function directly via module.exports = ...","wrong":"","symbol":"awesomeReadmeLintLink (default export)","correct":"const awesomeReadmeLintLink = require('awesome-readme-lint-double-link').default || require('awesome-readme-lint-double-link');"},{"note":"For TypeScript with esModuleInterop, use import = require. Package does not ship types.","wrong":"import awesomeReadmeLintLink from 'awesome-readme-lint-double-link';","symbol":"TypeScript usage","correct":"import awesomeReadmeLintLink = require('awesome-readme-lint-double-link');"}],"quickstart":{"code":"const awesomeReadmeLintLink = require('awesome-readme-lint-double-link');\nconst options = { /* e.g., verbose: true */ };\nconst md = `\n# awesome you project\n\n## Level 1\n\n### Level 1.1\n\n*Description leve 1.1*\n\n- [text link 1](https://url-link-1) - A description link 1\n- [text link 2](https://url-link-2) - A description link 2\n- [text link 1](https://url-link-1) - A description link 3\n`;\n\ntry {\n  awesomeReadmeLintLink(md, options);\n  console.log('No duplicate links found.');\n} catch (err) {\n  console.error(err.message);\n}","lang":"javascript","description":"Lint an awesome README string for duplicate links using CommonJS require."},"warnings":[{"fix":"Consider using more maintained alternatives like markdown-link-check or awesome-lint.","message":"The package has not been updated since 2019 and has very low usage.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Normalize URLs before passing to the function if needed.","message":"Only checks for exact URL duplicates, not case-sensitive or trailing slash variations.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Wrap call in try/catch to handle duplicate detection gracefully.","message":"The function throws an error on duplicate links, not just logs a warning.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove duplicate links from your markdown or catch the error.","cause":"The markdown contains duplicate URLs and the function throws an error.","error":"Error: duplicate links found:"},{"fix":"Run 'npm install awesome-readme-lint-double-link' in your project directory.","cause":"The package is not installed or not in node_modules.","error":"Cannot find module 'awesome-readme-lint-double-link'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}