{"_id":"mdast-comment-marker","_rev":"4180427","name":"mdast-comment-marker","description":"mdast utility to parse a comment marker","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2026-03-01T21:48:10.000Z","created":"2016-02-01T16:26:20.422Z","3.0.0":"2023-07-12T07:33:50.884Z","2.1.2":"2023-03-10T17:33:37.077Z","2.1.1":"2023-01-25T09:39:36.820Z","2.1.0":"2021-09-23T09:02:29.301Z","2.0.0":"2021-04-23T18:22:02.000Z","1.1.2":"2020-02-22T14:15:03.122Z","1.1.1":"2019-05-24T10:20:16.322Z","1.1.0":"2019-01-21T11:23:19.997Z","1.0.3":"2018-08-20T12:59:15.935Z","1.0.2":"2017-05-29T10:36:16.082Z","1.0.1":"2016-06-13T16:47:13.838Z","1.0.0":"2016-02-01T16:26:20.422Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"versions":{"3.0.0":{"name":"mdast-comment-marker","version":"3.0.0","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/mdast":"^4.0.0","mdast-util-mdx-expression":"^2.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","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,"strict":true},"xo":{"prettier":true},"gitHead":"44e67df88bf51ed2d80f6c54aedde7393ad8edff","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@3.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"8233f27c985ac7be53678ecb453dd9648fa1b5c5","size":5277,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-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-comment-marker_3.0.0_1689147230656_0.3811783536252227"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-12T07:33:50.884Z","publish_time":1689147230884,"_source_registry_name":"default","_cnpm_publish_time":1689147230884},"2.1.2":{"name":"mdast-comment-marker","version":"2.1.2","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","mdast-util-mdx-expression":"^1.1.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","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.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,"rules":{"unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"89ed56a318dff8a5bbdb6526099a1ebd5a6ed95d","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@2.1.2","_nodeVersion":"19.3.0","_npmVersion":"9.6.0","dist":{"shasum":"48ae16a49574bb22b489d04365ca3b1b5173f0da","size":5514,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-2.1.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-comment-marker_2.1.2_1678469616899_0.9693823596893623"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-10T17:33:37.077Z","publish_time":1678469617077,"_cnpm_publish_time":1678469617077},"2.1.1":{"name":"mdast-comment-marker","version":"2.1.1","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","mdast-util-mdx-expression":"^1.1.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","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.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,"rules":{"unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"270bed307ec034b4d2b8632d0185eb367b856743","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@2.1.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"1c8540dc25d38c384c506068f97ca3447d1db92a","size":5488,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-2.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-comment-marker_2.1.1_1674639576667_0.8455063152986588"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-25T09:39:36.820Z","publish_time":1674639576820,"_cnpm_publish_time":1674639576820},"2.1.0":{"name":"mdast-comment-marker","version":"2.1.0","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/mdast":"^3.0.10","@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","xo":"^0.44.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":{"unicorn/prefer-switch":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"dependencies":{"mdast-util-mdx-expression":"^1.1.0"},"gitHead":"0a2679171dcae4669f69e64ae2187e011072f11d","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@2.1.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"67acce26def829b310016c7a186ec6ec3e7d6a3f","size":4404,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-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-comment-marker_2.1.0_1632387749161_0.8526193302726099"},"_hasShrinkwrap":false,"publish_time":1632387749301,"_cnpm_publish_time":1632387749301},"2.0.0":{"name":"mdast-comment-marker","version":"2.0.0","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","@types/unist":"^2.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","xo":"^0.38.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 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":"729e8f7f7341968299c0f39ae84edd949c4df680","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"shasum":"1b97b8c01fc1ad0a213940e9dc50e787db349907","size":4094,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-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-comment-marker_2.0.0_1619202121872_0.1211271429039682"},"_hasShrinkwrap":false,"publish_time":1619202122000,"_cnpm_publish_time":1619202122000},"1.1.2":{"name":"mdast-comment-marker","version":"1.1.2","description":"mdast utility to parse a comment marker","license":"MIT","keywords":["unist","mdast","mdast-util","util","utility","marker","comment"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/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"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.26.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"browserify . -s mdastCommentMarker -p tinyify > mdast-comment-marker.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["mdast-comment-marker.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"475cb979c4f5e1ee1bb8d18cec7176c91637eb9e","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.1.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"5ad2e42cfcc41b92a10c1421a98c288d7b447a6d","size":3465,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.1.2.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-comment-marker_1.1.2_1582380902960_0.18113914851905877"},"_hasShrinkwrap":false,"publish_time":1582380903122,"_cnpm_publish_time":1582380903122},"1.1.1":{"name":"mdast-comment-marker","version":"1.1.1","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"browserify . -s mdastCommentMarker -p tinyify > mdast-comment-marker.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["mdast-comment-marker.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f34c664c8324d65a7c6912239a952b10873cefc2","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.1.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"9c9c18e1ed57feafc1965d92b028f37c3c8da70d","size":3301,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.1.1.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-comment-marker_1.1.1_1558693216220_0.43333586074024044"},"_hasShrinkwrap":false,"publish_time":1558693216322,"_cnpm_publish_time":1558693216322},"1.1.0":{"name":"mdast-comment-marker","version":"1.1.0","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^13.0.0","prettier":"^1.14.2","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify . -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"browserify . -s mdastCommentMarker -p tinyify > mdast-comment-marker.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["mdast-comment-marker.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"cc52df1332f2c58de8ee0c39352ae52ce2a9b620","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"81129dd4182eaeafbd40bb1f79be4da587a1dc52","size":3148,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.1.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-comment-marker_1.1.0_1548069799898_0.8182948974998316"},"_hasShrinkwrap":false,"publish_time":1548069799997,"_cnpm_publish_time":1548069799997},"1.0.3":{"name":"mdast-comment-marker","version":"1.0.3","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^12.0.0","prettier":"^1.14.2","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","xo":"^0.22.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify . -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"browserify . -s mdastCommentMarker -p tinyify > mdast-comment-marker.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignore":["mdast-comment-marker.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4f12f2c2a32bd20338f5638c8563f2055cf841c8","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.0.3","_npmVersion":"6.4.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1ead204b73e8759d29785ef3024a1e43510d38e5","size":3106,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.0.3.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-comment-marker_1.0.3_1534769955845_0.5336826668633408"},"_hasShrinkwrap":false,"publish_time":1534769955935,"_cnpm_publish_time":1534769955935},"1.0.2":{"name":"mdast-comment-marker","version":"1.0.2","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},{"name":"Masayuki Izumi","email":"masayuki@izumin.info","url":"http://izumin.info"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^14.0.0","esmangle":"^1.0.0","nyc":"^10.3.2","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"esmangle mdast-comment-marker.js > mdast-comment-marker.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"ignore":["mdast-comment-marker.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"a5dc5877f1fb5f156453beb07d7759d8b5d0135a","homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.0.2","_shasum":"1ddf0ef811fb52439017c8d2c0b922035f2ba74a","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1ddf0ef811fb52439017c8d2c0b922035f2ba74a","size":2891,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.0.2.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mdast-comment-marker-1.0.2.tgz_1496054175169_0.12358082295395434"},"directories":{},"publish_time":1496054176082,"_hasShrinkwrap":false,"_cnpm_publish_time":1496054176082},"1.0.1":{"name":"mdast-comment-marker","version":"1.0.1","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/wooorm/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^13.0.0","eslint":"^2.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","jscs":"^3.0.0","jscs-jsdoc":"^2.0.0","remark-cli":"^1.0.0","remark-comment-config":"^4.0.0","remark-github":"^5.0.0","remark-lint":"^4.0.0","remark-slug":"^4.0.0","remark-usage":"^4.0.0","remark-validate-links":"^4.0.0","remark-yaml-config":"^3.0.0","tape":"^4.0.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"esmangle mdast-comment-marker.js > mdast-comment-marker.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"194dd2f8b65e0d5bf2727502b576014b62be3661","homepage":"https://github.com/wooorm/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.0.1","_shasum":"f0f26c33fc5d81e41d9ec36ff4f066bb50d217fb","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f0f26c33fc5d81e41d9ec36ff4f066bb50d217fb","size":2634,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mdast-comment-marker-1.0.1.tgz_1465836430817_0.774266057414934"},"directories":{},"publish_time":1465836433838,"_cnpm_publish_time":1465836433838,"_hasShrinkwrap":false},"1.0.0":{"name":"mdast-comment-marker","version":"1.0.0","description":"Parse a comment marker in mdast","license":"MIT","keywords":["marker","mdast","remark","utility"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/mdast-comment-marker.git"},"bugs":{"url":"https://github.com/wooorm/mdast-comment-marker/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"dependencies":{},"devDependencies":{"browserify":"^13.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.4.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","remark":"^3.0.0","remark-comment-config":"^2.0.2","remark-github":"^2.0.0","remark-lint":"^2.0.2","remark-slug":"^3.0.1","remark-usage":"^2.1.0","remark-validate-links":"^2.0.2","remark-yaml-config":"^2.0.0","tape":"^4.0.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s mdastCommentMarker > mdast-comment-marker.js","build-mangle":"esmangle mdast-comment-marker.js > mdast-comment-marker.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"8e03606f1bdc767be24c77eb6fdb44781bf642c0","homepage":"https://github.com/wooorm/mdast-comment-marker#readme","_id":"mdast-comment-marker@1.0.0","_shasum":"68e7b6c80d471f55eb4a35dac51d2c041d9e7f22","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"68e7b6c80d471f55eb4a35dac51d2c041d9e7f22","size":3148,"noattachment":false,"key":"/mdast-comment-marker/-/mdast-comment-marker-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mdast-comment-marker/download/mdast-comment-marker-1.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1454343980422,"_cnpm_publish_time":1454343980422,"_hasShrinkwrap":false}},"readme":"# mdast-comment-marker\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 parse comment markers.\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    *   [`commentMarker(value)`](#commentmarkervalue)\n    *   [`Marker`](#marker)\n    *   [`MarkerParameters`](#markerparameters)\n    *   [`MarkerParameterValue`](#markerparametervalue)\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 tries to parse a structured marker from a\ncomment.\n\n## When should I use this?\n\nComments are a hidden part of markdown, so they can be used as processing\ninstructions.\nFor example, this utility is used in [`remark-lint`][remark-lint] to control\nwhether lint rules are turned on or ignored, and by [`mdast-zone`][mdast-zone]\nto replace sections between two markers.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install mdast-comment-marker\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {commentMarker} from 'https://esm.sh/mdast-comment-marker@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {commentMarker} from 'https://esm.sh/mdast-comment-marker@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {commentMarker} from 'mdast-comment-marker'\n\nconsole.log(commentMarker({type: 'html', value: '<!--foo-->'}));\n\nconsole.log(commentMarker({\n  type: 'html',\n  value: '<!--foo bar baz=12.4 qux=\"test test\" quux=\\'false\\'-->'\n}));\n\nconsole.log(commentMarker({type: 'html', value: '<!doctype html>'}));\n\n// Also supports MDX expressions:\nconsole.log(commentMarker({\n  type: 'mdxFlowExpression',\n  value: '/* lint disable heading-style */'\n}));\n```\n\nYields:\n\n```js\n{\n  name: 'foo',\n  attributes: '',\n  parameters: {},\n  node: { type: 'html', value: '<!--foo-->' }\n}\n{\n  name: 'foo',\n  attributes: `bar baz=12.4 qux=\"test test\" quux='false'`,\n  parameters: { bar: true, baz: 12.4, qux: 'test test', quux: false },\n  node: {\n    type: 'html',\n    value: `<!--foo bar baz=12.4 qux=\"test test\" quux='false'-->`\n  }\n}\nundefined\n{\n  name: 'lint',\n  attributes: 'disable heading-style',\n  parameters: { disable: true, 'heading-style': true },\n  node: {\n    type: 'mdxFlowExpression',\n    value: '/* lint disable heading-style */'\n  }\n}\n```\n\n## API\n\nThis package exports the identifier [`commentMarker`][api-comment-marker].\nThere is no default export.\n\n### `commentMarker(value)`\n\nParse a comment marker.\n\n###### Parameters\n\n*   `value` (`unknown`)\n    — thing to parse, typically [`Node`][node]\n\n###### Returns\n\nInfo ([`Marker`][api-marker]) when applicable or `undefined`.\n\n### `Marker`\n\nComment marker (TypeScript type).\n\n###### Properties\n\n*   `name` (`string`)\n    — name of marker\n*   `attributes` (`string`)\n    — value after name\n*   `parameters` ([`MarkerParameters`][api-marker-parameters])\n    — parsed attributes\n*   `node` ([`Node`][node])\n    — reference to given node\n\n### `MarkerParameters`\n\nParameters (TypeScript type).\n\n###### type\n\n```ts\ntype MarkerParameters = Record<string, MarkerParameterValue>\n```\n\n### `MarkerParameterValue`\n\nValue (TypeScript type).\n\nIf it looks like a number (to JavaScript), it’s cast as number.\nThe strings `true` and `false` are turned into their corresponding\nbooleans.\nThe empty string is also considered the `true` boolean.\n\n###### type\n\n```ts\ntype MarkerParameterValue = number | string | boolean\n```\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nThis package exports the types [`Marker`][api-marker],\n[`MarkerParameters`][api-marker-parameters], and\n[`MarkerParameterValue`][api-marker-parameter-value]\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, `mdast-comment-marker@^3`,\ncompatible with Node.js 16.\n\n## Security\n\nUse of `mdast-comment-marker` does not involve [hast][], user content, or change\nthe tree, so there are no openings for [cross-site scripting (XSS)][xss]\nattacks.\n\n## Related\n\n*   [`mdast-zone`](https://github.com/syntax-tree/mdast-zone)\n    — change or replace a section marked by comments\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, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/mdast-comment-marker/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/mdast-comment-marker/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-comment-marker.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/mdast-comment-marker\n\n[downloads-badge]: https://img.shields.io/npm/dm/mdast-comment-marker.svg\n\n[downloads]: https://www.npmjs.com/package/mdast-comment-marker\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=mdast-comment-marker\n\n[size]: https://bundlejs.com/?q=mdast-comment-marker\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[mdast]: https://github.com/syntax-tree/mdast\n\n[node]: https://github.com/syntax-tree/unist#node\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[hast]: https://github.com/syntax-tree/hast\n\n[remark-lint]: https://github.com/remarkjs/remark-lint\n\n[mdast-zone]: https://github.com/syntax-tree/mdast-zone\n\n[api-comment-marker]: #commentmarkervalue\n\n[api-marker]: #marker\n\n[api-marker-parameters]: #markerparameters\n\n[api-marker-parameter-value]: #markerparametervalue\n","_attachments":{},"homepage":"https://github.com/syntax-tree/mdast-comment-marker#readme","bugs":{"url":"https://github.com/syntax-tree/mdast-comment-marker/issues"},"license":"MIT"}