{"_id":"@benjifs/wm","_rev":"2-c9fd5121cb12db39be51985b57fb0e67","name":"@benjifs/wm","dist-tags":{"latest":"1.6.1"},"versions":{"1.6.0":{"name":"@benjifs/wm","version":"1.6.0","keywords":["webmention","webmentions","indieweb"],"author":{"url":"https://benji.dog","name":"Benji Encalada Mora"},"license":"MIT","_id":"@benjifs/wm@1.6.0","maintainers":[{"name":"benjifs","email":"b@encalada.dev"}],"homepage":"https://github.com/benjifs/wm#readme","bugs":{"url":"https://github.com/benjifs/wm/issues"},"bin":{"wm":"bin/wm.js","webmention":"bin/wm.js"},"dist":{"shasum":"48c4c2da9fa0edd9e349859d1bf150e6d23d257a","tarball":"https://registry.npmjs.org/@benjifs/wm/-/wm-1.6.0.tgz","fileCount":20,"integrity":"sha512-vnEkYKS2ryoolxW2BI8j/oZ2hZVX+o8IXVyOEuc4dtqSxDPeo+TL16nYwC1fWShbOsTiIUHyq9VBszz56fK+kQ==","signatures":[{"sig":"MEUCIQD/wf4FnePoEuUn12WGIJdjQxEL31f0LGtnbCqf899FJwIgKpZeHfl7lvpkOCpVedkSt4r77PVtvdR8SZugOZOzLI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32589},"main":"./shared/lib/webmention.js","types":"./index.d.ts","gitHead":"8928a7cc149b0bd2b29e8d82fd726b445207821e","scripts":{"lint":"eslint ./app/**/*.mjs --fix","test":"tap","start":"npx enhance dev --no-warnings","enhance":"enhance","test:watch":"tap __tests__/*.test.js --no-coverage-report --watch"},"_npmUser":{"name":"benjifs","email":"b@encalada.dev"},"repository":{"url":"git+https://github.com/benjifs/wm.git","type":"git"},"_npmVersion":"11.5.2","description":"Fork of @remy/webmention","directories":{},"_nodeVersion":"22.18.0","dependencies":{"li":"^1.3.0","ms":"^2.1.3","clui":"^0.3.6","uuid":"^3.3.2","cheerio":"^0.22.0","optimist":"^0.6.1","node-fetch":"^2.6.1","rss-parser":"^3.7.0","follow-redirects":"^1.7.0","microformat-node":"^2.0.4","decodeuricomponent":"^0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.9","eslint":"^8.49.0","aws-sdk":"^2.466.0","passport":"^0.4.0","@remy/envy":"^4.0.2","@enhance/cli":"latest","@enhance/types":"^0.6.1","@enhance/element":"^1.3.1","passport-github2":"^0.1.11","markdown-it-task-lists":"^2.1.1","@enhance/styles-cribsheet":"^0.0.9","markdown-it-named-headings":"^1.1.0","@enhance/arc-plugin-enhance":"^6.2.3"},"_npmOperationalInternal":{"tmp":"tmp/wm_1.6.0_1757912107852_0.8466024868834232","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@benjifs/wm","version":"1.6.1","description":"Fork of @remy/webmention","main":"./shared/lib/webmention.js","repository":{"type":"git","url":"git+https://github.com/benjifs/wm.git"},"bin":{"wm":"bin/wm.js","webmention":"bin/wm.js"},"types":"./index.d.ts","scripts":{"start":"npx enhance dev --no-warnings","lint":"eslint ./app/**/*.mjs --fix","enhance":"enhance","test:watch":"tap __tests__/*.test.js --no-coverage-report --watch","test":"tap"},"keywords":["webmention","webmentions","indieweb"],"author":{"name":"Benji Encalada Mora","url":"https://benji.dog"},"license":"MIT","dependencies":{"cheerio":"^0.22.0","clui":"^0.3.6","decodeuricomponent":"^0.3.1","follow-redirects":"^1.7.0","li":"^1.3.0","microformat-node":"^2.0.4","ms":"^2.1.3","node-fetch":"^2.6.1","optimist":"^0.6.1","rss-parser":"^3.7.0","uuid":"^3.3.2"},"devDependencies":{"@enhance/arc-plugin-enhance":"^6.2.3","@enhance/cli":"latest","@enhance/element":"^1.3.1","@enhance/styles-cribsheet":"^0.0.9","@enhance/types":"^0.6.1","@remy/envy":"^4.0.2","aws-sdk":"^2.466.0","eslint":"^8.49.0","markdown-it-named-headings":"^1.1.0","markdown-it-task-lists":"^2.1.1","passport":"^0.4.0","passport-github2":"^0.1.11","tap":"^16.3.9"},"gitHead":"8874dcce6c95f2aadfee8e04a91569b7e0340b52","_id":"@benjifs/wm@1.6.1","bugs":{"url":"https://github.com/benjifs/wm/issues"},"homepage":"https://github.com/benjifs/wm#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-YW8kmY4iJpbp7B5pilZWxD2IuHvsnp7dggULpWh92bVblRwa5RhQxUZfwzFGkyfIP8pTutkovIelX7ZBtfXDjA==","shasum":"5ed783176991e3f37a52302c57500313acfacf06","tarball":"https://registry.npmjs.org/@benjifs/wm/-/wm-1.6.1.tgz","fileCount":20,"unpackedSize":33576,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD5ljXXHwrWUPhPj5K0CCQoYMQUZfVl+m/GxNjtOHkXkAIhAI5Q28CnKl88Z6W7O4N2Q579FwFnfJbVtPIIyRjfM/8T"}]},"_npmUser":{"name":"benjifs","email":"b@encalada.dev"},"directories":{},"maintainers":[{"name":"benjifs","email":"b@encalada.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wm_1.6.1_1770422521602_0.7173623732543293"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-15T04:55:07.803Z","modified":"2026-02-07T00:02:01.885Z","1.6.0":"2025-09-15T04:55:08.054Z","1.6.1":"2026-02-07T00:02:01.765Z"},"bugs":{"url":"https://github.com/benjifs/wm/issues"},"author":{"name":"Benji Encalada Mora","url":"https://benji.dog"},"license":"MIT","homepage":"https://github.com/benjifs/wm#readme","keywords":["webmention","webmentions","indieweb"],"repository":{"type":"git","url":"git+https://github.com/benjifs/wm.git"},"description":"Fork of @remy/webmention","maintainers":[{"name":"benjifs","email":"b@encalada.dev"}],"readme":"# Fork of webmention.app\n\nThis forked version of [webmention.app](https://github.com/remy/wm). It is deployed to [Netlify](https://netlify.com) and uses a [function](https://functions.netlify.com/) to receive requests.\n\n## Changes\n- Add Netlify functions support ([check.js](https://github.com/benjifs/wm/blob/feat/netlify/functions/check.js))\n- Add support for parsing links in `h-entry` but outside `e-content` ([4d856e5](https://github.com/benjifs/wm/commit/4d856e568f0e7002837cd42dc63e6f5bb9c69f47)). [PR #31](https://github.com/remy/wm/pull/31).\n- Remove `limit` in `getEndpoints` ([58c9312](https://github.com/benjifs/wm/commit/58c931294c68002991de5d26a1a1eccbd6544d3b)). [Issue #66](https://github.com/remy/wm/issues/66).\n\n## Usage\n\nTo check for webmentions:\n\n**`GET`** https://webmention.netlify.app/check?url=:url\n\nTo send webmentions:\n\n**`POST`** https://webmention.netlify.app/check?url=:url\n\nYou can also install this fork for your project with:\n\n```sh\nnpm install @benjifs/wm\n```\n\nEverything below is from the original README for the project.\n\n---\n\n## Automate your outgoing webmentions\n\n[webmention.app](https://webmention.app) is a platform agnostic service that will check a given URL for links to other sites, discover if they support webmentions, then send a webmention to the target.\n\nThis repository also includes a stand alone command line tool that doesn't rely on [webmention.app](https://webmention.app) at all and doesn't require a token - so you can run it locally with the knowledge that if your site outlives this one, the tool will still work.\n\n### Installation\n\nThe tool uses nodejs and once nodejs is installed, you can install the tool using:\n\n```\n$ npm install @remy/webmention\n```\n\nThis provides an executable under the command webmention (also available as wm). Default usage allows you to pass a filename (like a newly generated RSS feed) or a specific URL. It will default to the 10 most recent entries found (using item for RSS and `h-entry` for HTML).\n\n### Usage\n\nBy default, the command will perform a dry-run/discovery only. To complete the notification of webmentions use the `--send` flag.\n\nThe options available are:\n\n- `--send` (default: false) send the webmention to all valid endpoints\n- `--limit n` (default: 10) limit to n entries found\n- `--debug` (default: false) print internal debugging\nUsing npx you can invoke the tool to read the latest entry in your RSS feed:\n\n```\n$ npx webmention https://yoursite.com/feed.xml --limit 1 --send\n```\n\nAlternatively, you can make the tool part of your build workflow and have it execute during a postbuild phase:\n\n```json\n{\n  \"scripts\": {\n    \"postbuild\": \"webmention dist/feed.xml --limit 1 --send\"\n  }\n}\n```\n\n## Misc\n\n- Further documentation found on [webmention.app/docs](https://webmention.app/docs)\n- Built by [@rem](https://remysharp.com)\n- MIT / [rem.mit-license.org](https://rem.mit-license.org/)\n","readmeFilename":"README.md"}