{"_id":"mdast-util-find-and-replace","_rev":"3985161","name":"mdast-util-find-and-replace","description":"mdast utility to find and replace text in a tree","dist-tags":{"latest":"3.0.2"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2025-09-01T02:04:18.000Z","created":"2020-10-17T11:01:55.490Z","3.0.2":"2025-01-03T12:27:35.988Z","3.0.1":"2023-09-21T08:44:40.207Z","3.0.0":"2023-07-08T13:39:03.834Z","2.2.2":"2023-01-26T11:34:42.538Z","2.2.1":"2022-07-13T19:36:43.735Z","2.2.0":"2022-05-19T08:13:51.708Z","2.1.0":"2021-07-26T16:30:18.228Z","2.0.1":"2021-06-21T15:45:42.631Z","2.0.0":"2021-05-10T18:11:01.010Z","1.1.1":"2021-02-09T16:54:16.656Z","1.1.0":"2021-02-02T16:54:32.509Z","1.0.0":"2020-10-17T11:01:55.490Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"versions":{"3.0.2":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/mdast":"^4.0.0","escape-string-regexp":"^5.0.0","unist-util-is":"^6.0.0","unist-util-visit-parents":"^6.0.0"},"description":"mdast utility to find and replace text in a tree","devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^10.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xo":"^0.60.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["find","markdown","mdast-util","mdast","unist","utility","util","replace"],"license":"MIT","name":"mdast-util-find-and-replace","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"ignoreFiles":["lib/index.d.ts"],"strict":true},"type":"module","version":"3.0.2","xo":{"prettier":true,"rules":{"unicorn/prefer-at":"off"}},"_id":"mdast-util-find-and-replace@3.0.2","gitHead":"fd73ef856ab4f7b6326e3255aea36f439b75e2d5","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_nodeVersion":"23.1.0","_npmVersion":"11.0.0","dist":{"shasum":"70a3174c894e14df722abf43bc250cbae44b11df","size":7487,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-3.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mdast-util-find-and-replace_3.0.2_1735907255762_0.9422549044447726"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-03T12:27:35.988Z","publish_time":1735907255988,"_source_registry_name":"default","_cnpm_publish_time":1735907255988},"3.0.1":{"name":"mdast-util-find-and-replace","version":"3.0.1","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/mdast":"^4.0.0","escape-string-regexp":"^5.0.0","unist-util-is":"^6.0.0","unist-util-visit-parents":"^6.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xo":"^0.56.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"ignoreFiles":["lib/index.d.ts"],"strict":true},"xo":{"prettier":true,"rules":{"unicorn/prefer-at":"off"}},"_id":"mdast-util-find-and-replace@3.0.1","gitHead":"af7d1effa7a3fd1bf124150e509a1faa956790c0","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"a6fc7b62f0994e973490e45262e4bc07607b04e0","size":7054,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-3.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_3.0.1_1695285879908_0.819237179499509"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-21T08:44:40.207Z","publish_time":1695285880207,"_source_registry_name":"default","_cnpm_publish_time":1695285880207},"3.0.0":{"name":"mdast-util-find-and-replace","version":"3.0.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/mdast":"^4.0.0","escape-string-regexp":"^5.0.0","unist-util-is":"^6.0.0","unist-util-visit-parents":"^6.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xo":"^0.54.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"ignoreFiles":["lib/index.d.ts"],"strict":true},"xo":{"prettier":true},"gitHead":"bcd53c1b9d4783c12c6ccfb2a39d818bf87c3bf8","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@3.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"ca0a9232afdc53f4260582ac2d0227cf94b4a220","size":6950,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_3.0.0_1688823543653_0.006051573260220211"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-08T13:39:03.834Z","publish_time":1688823543834,"_source_registry_name":"default","_cnpm_publish_time":1688823543834},"2.2.2":{"name":"mdast-util-find-and-replace","version":"2.2.2","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^5.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lib/index.d.ts"]},"gitHead":"fa8dc1ba0742c49d6afb8156fca2c260f66f8650","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.2.2","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"cc2b774f7f3630da4bd592f61966fecade8b99b1","size":7576,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.2.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.2.2_1674732882373_0.6896618430862933"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-26T11:34:42.538Z","publish_time":1674732882538,"_cnpm_publish_time":1674732882538},"2.2.1":{"name":"mdast-util-find-and-replace","version":"2.2.1","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^5.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.50.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lib/index.d.ts"]},"gitHead":"f308656bffcba979a6e27ceb735cc17e581541d3","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.2.1","_nodeVersion":"18.2.0","_npmVersion":"8.13.2","dist":{"shasum":"249901ef43c5f41d6e8a8d446b3b63b17e592d7c","size":6648,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.2.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.2.1_1657741003535_0.3277637863146141"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-13T19:38:34.695Z","publish_time":1657741003735,"_cnpm_publish_time":1657741003735},"2.2.0":{"name":"mdast-util-find-and-replace","version":"2.2.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^5.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.49.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"lib/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["lib/index.d.ts"]},"gitHead":"96fb68ee19473af457138bddfb19a09c1142662f","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.2.0","_nodeVersion":"18.0.0","_npmVersion":"8.10.0","dist":{"shasum":"6167edf16c2fd79e7213024544575f304151953f","size":6648,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.2.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.2.0_1652948031524_0.12117647169176582"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-19T09:27:38.708Z","publish_time":1652948031708,"_cnpm_publish_time":1652948031708},"2.1.0":{"name":"mdast-util-find-and-replace","version":"2.1.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.42.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["index.d.ts"]},"gitHead":"08d369a09c313ef02a157061f0665b99e0628986","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.1.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"69728acd250749f8aac6e150e07d1fd15619e829","size":5694,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.1.0_1627317018046_0.7983751739122926"},"_hasShrinkwrap":false,"publish_time":1627317018228,"_cnpm_publish_time":1627317018228},"2.0.1":{"name":"mdast-util-find-and-replace","version":"2.0.1","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreFiles":["index.d.ts"]},"gitHead":"0e123dab0c09e92a22e7f5d1425358ffd74908f3","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.0.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"46bd9b3043519eb0ecda39cc001eb873644c6619","size":5670,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.0.1_1624290342496_0.8978823965787237"},"_hasShrinkwrap":false,"publish_time":1624290342631,"_cnpm_publish_time":1624290342631},"2.0.0":{"name":"mdast-util-find-and-replace","version":"2.0.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"escape-string-regexp":"^5.0.0","unist-util-is":"^5.0.0","unist-util-visit-parents":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"73578866f0dca0a9b8d29a61f8864b37a6a648a1","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"aa2a05c321f2faa81b3799b8c5be97ac96bc95e7","size":5690,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_2.0.0_1620670260876_0.06897160658995216"},"_hasShrinkwrap":false,"publish_time":1620670261010,"_cnpm_publish_time":1620670261010},"1.1.1":{"name":"mdast-util-find-and-replace","version":"1.1.1","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"escape-string-regexp":"^4.0.0","unist-util-is":"^4.0.0","unist-util-visit-parents":"^3.0.0"},"devDependencies":{"nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","unist-builder":"^2.0.0","xo":"^0.37.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","guard-for-in":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f1e092ee7e5b90f30eee1e95d37a1e7df6af2bae","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@1.1.1","_nodeVersion":"15.1.0","_npmVersion":"7.5.2","dist":{"shasum":"b7db1e873f96f66588c321f1363069abf607d1b5","size":4412,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-1.1.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_1.1.1_1612889656482_0.4846399219570714"},"_hasShrinkwrap":false,"publish_time":1612889656656,"_cnpm_publish_time":1612889656656},"1.1.0":{"name":"mdast-util-find-and-replace","version":"1.1.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"escape-string-regexp":"^4.0.0","unist-util-is":"^4.0.0","unist-util-visit-parents":"^3.0.0"},"devDependencies":{"nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","unist-builder":"^2.0.0","xo":"^0.37.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","guard-for-in":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"d532b4b016e9a96c350599c0979448be9d54d88c","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@1.1.0","_nodeVersion":"15.1.0","_npmVersion":"6.14.11","dist":{"shasum":"8b782285741b05310e3641196dfc4b17bc30d971","size":4424,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-1.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_1.1.0_1612284872324_0.6073675005965162"},"_hasShrinkwrap":false,"publish_time":1612284872509,"_cnpm_publish_time":1612284872509},"1.0.0":{"name":"mdast-util-find-and-replace","version":"1.0.0","description":"mdast utility to find and replace text in a tree","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","markdown","find","replace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-util-find-and-replace.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"escape-string-regexp":"^4.0.0","unist-util-is":"^4.0.0","unist-util-visit-parents":"^3.0.0"},"devDependencies":{"nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","unist-builder":"^2.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","guard-for-in":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"85d4b4a03a566ff6a56c7d300f3d8d15668a9f56","homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","_id":"mdast-util-find-and-replace@1.0.0","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"ce33ca0e720ce6ba16cf49dea441cd5f277270a1","size":4406,"noattachment":false,"key":"/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-util-find-and-replace/download/mdast-util-find-and-replace-1.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-util-find-and-replace_1.0.0_1602932515359_0.7857595197511844"},"_hasShrinkwrap":false,"publish_time":1602932515490,"_cnpm_publish_time":1602932515490}},"readme":"# mdast-util-find-and-replace\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[mdast][] utility to find and replace things.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`findAndReplace(tree, list[, options])`](#findandreplacetree-list-options)\n  * [`Find`](#find)\n  * [`FindAndReplaceList`](#findandreplacelist)\n  * [`FindAndReplaceTuple`](#findandreplacetuple)\n  * [`Options`](#options)\n  * [`RegExpMatchObject`](#regexpmatchobject)\n  * [`Replace`](#replace)\n  * [`ReplaceFunction`](#replacefunction)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a utility that lets you find patterns (`string`, `RegExp`) in\ntext and replace them with nodes.\n\n## When should I use this?\n\nThis utility is typically useful when you have regexes and want to modify mdast.\nOne example is when you have some form of “mentions” (such as\n`/@([a-z][_a-z0-9])\\b/gi`) and want to create links to persons from them.\n\nA similar package, [`hast-util-find-and-replace`][hast-util-find-and-replace]\ndoes the same but on [hast][].\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install mdast-util-find-and-replace\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {findAndReplace} from 'https://esm.sh/mdast-util-find-and-replace@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {findAndReplace} from 'https://esm.sh/mdast-util-find-and-replace@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {findAndReplace} from 'mdast-util-find-and-replace'\nimport {u} from 'unist-builder'\nimport {inspect} from 'unist-util-inspect'\n\nconst tree = u('paragraph', [\n  u('text', 'Some '),\n  u('emphasis', [u('text', 'emphasis')]),\n  u('text', ' and '),\n  u('strong', [u('text', 'importance')]),\n  u('text', '.')\n])\n\nfindAndReplace(tree, [\n  [/and/gi, 'or'],\n  [/emphasis/gi, 'em'],\n  [/importance/gi, 'strong'],\n  [\n    /Some/g,\n    function ($0) {\n      return u('link', {url: '//example.com#' + $0}, [u('text', $0)])\n    }\n  ]\n])\n\nconsole.log(inspect(tree))\n```\n\nYields:\n\n```txt\nparagraph[8]\n├─0 link[1]\n│   │ url: \"//example.com#Some\"\n│   └─0 text \"Some\"\n├─1 text \" \"\n├─2 emphasis[1]\n│   └─0 text \"em\"\n├─3 text \" \"\n├─4 text \"or\"\n├─5 text \" \"\n├─6 strong[1]\n│   └─0 text \"strong\"\n└─7 text \".\"\n```\n\n## API\n\nThis package exports the identifier [`findAndReplace`][api-find-and-replace].\nThere is no default export.\n\n### `findAndReplace(tree, list[, options])`\n\nFind patterns in a tree and replace them.\n\nThe algorithm searches the tree in *[preorder][]* for complete values in\n[`Text`][text] nodes.\nPartial matches are not supported.\n\n###### Parameters\n\n* `tree` ([`Node`][node])\n  — tree to change\n* `list` ([`FindAndReplaceList`][api-find-and-replace-list] or\n  [`FindAndReplaceTuple`][api-find-and-replace-tuple])\n  — one or more find-and-replace pairs\n* `options` ([`Options`][api-options])\n  — configuration\n\n###### Returns\n\nNothing (`undefined`).\n\n### `Find`\n\nPattern to find (TypeScript type).\n\nStrings are escaped and then turned into global expressions.\n\n###### Type\n\n```ts\ntype Find = RegExp | string\n```\n\n### `FindAndReplaceList`\n\nSeveral find and replaces, in array form (TypeScript type).\n\n###### Type\n\n```ts\ntype FindAndReplaceList = Array<FindAndReplaceTuple>\n```\n\nSee [`FindAndReplaceTuple`][api-find-and-replace-tuple].\n\n### `FindAndReplaceTuple`\n\nFind and replace in tuple form (TypeScript type).\n\n###### Type\n\n```ts\ntype FindAndReplaceTuple = [Find, Replace?]\n```\n\nSee [`Find`][api-find] and [`Replace`][api-replace].\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Fields\n\n* `ignore` ([`Test`][test], optional)\n  — test for which elements to ignore\n\n### `RegExpMatchObject`\n\nInfo on the match (TypeScript type).\n\n###### Fields\n\n* `index` (`number`)\n  — the index of the search at which the result was found\n* `input` (`string`)\n  — a copy of the search string in the text node\n* `stack` ([`Array<Node>`][node])\n  — all ancestors of the text node, where the last node is the text itself\n\n### `Replace`\n\nThing to replace with (TypeScript type).\n\n###### Type\n\n```ts\ntype Replace = ReplaceFunction | string\n```\n\nSee [`ReplaceFunction`][api-replace-function].\n\n### `ReplaceFunction`\n\nCallback called when a search matches (TypeScript type).\n\n###### Parameters\n\nThe parameters are the result of corresponding search expression:\n\n* `value` (`string`)\n  — whole match\n* `...capture` (`Array<string>`)\n  — matches from regex capture groups\n* `match` ([`RegExpMatchObject`][api-regexp-match-object])\n  — info on the match\n\n###### Returns\n\nThing to replace with:\n\n* when `null`, `undefined`, `''`, remove the match\n* …or when `false`, do not replace at all\n* …or when `string`, replace with a text node of that value\n* …or when `Node` or `Array<Node>`, replace with those nodes\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`Find`][api-find],\n[`FindAndReplaceList`][api-find-and-replace-list],\n[`FindAndReplaceTuple`][api-find-and-replace-tuple],\n[`Options`][api-options],\n[`RegExpMatchObject`][api-regexp-match-object],\n[`Replace`][api-replace], and\n[`ReplaceFunction`][api-replace-function].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`mdast-util-find-and-replace@^3`, compatible with Node.js 16.\n\n## Security\n\nUse of `mdast-util-find-and-replace` does not involve [hast][] or user content\nso there are no openings for [cross-site scripting (XSS)][xss] attacks.\n\n## Related\n\n* [`hast-util-find-and-replace`](https://github.com/syntax-tree/hast-util-find-and-replace)\n  — find and replace in hast\n* [`hast-util-select`](https://github.com/syntax-tree/hast-util-select)\n  — `querySelector`, `querySelectorAll`, and `matches`\n* [`unist-util-select`](https://github.com/syntax-tree/unist-util-select)\n  — select unist nodes with CSS-like selectors\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/syntax-tree/mdast-util-find-and-replace/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/mdast-util-find-and-replace/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-util-find-and-replace.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/mdast-util-find-and-replace\n\n[downloads-badge]: https://img.shields.io/npm/dm/mdast-util-find-and-replace.svg\n\n[downloads]: https://www.npmjs.com/package/mdast-util-find-and-replace\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=mdast-util-find-and-replace\n\n[size]: https://bundlejs.com/?q=mdast-util-find-and-replace\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[hast]: https://github.com/syntax-tree/hast\n\n[mdast]: https://github.com/syntax-tree/mdast\n\n[node]: https://github.com/syntax-tree/mdast#nodes\n\n[preorder]: https://github.com/syntax-tree/unist#preorder\n\n[text]: https://github.com/syntax-tree/mdast#text\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[test]: https://github.com/syntax-tree/unist-util-is#api\n\n[hast-util-find-and-replace]: https://github.com/syntax-tree/hast-util-find-and-replace\n\n[api-find-and-replace]: #findandreplacetree-list-options\n\n[api-options]: #options\n\n[api-find]: #find\n\n[api-replace]: #replace\n\n[api-replace-function]: #replacefunction\n\n[api-find-and-replace-list]: #findandreplacelist\n\n[api-find-and-replace-tuple]: #findandreplacetuple\n\n[api-regexp-match-object]: #regexpmatchobject\n","_attachments":{},"homepage":"https://github.com/syntax-tree/mdast-util-find-and-replace#readme","bugs":{"url":"https://github.com/syntax-tree/mdast-util-find-and-replace/issues"},"license":"MIT"}