{"_id":"unist-util-select","_rev":"3913973","name":"unist-util-select","description":"unist utility to select nodes with CSS-like selectors","dist-tags":{"latest":"5.1.0"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2025-09-01T01:16:34.000Z","created":"2015-09-02T11:04:24.432Z","5.1.0":"2023-11-06T15:57:00.606Z","5.0.0":"2023-07-07T10:20:01.125Z","4.0.3":"2023-01-22T11:58:47.789Z","4.0.2":"2022-12-31T11:45:05.067Z","4.0.1":"2021-11-03T08:53:42.486Z","4.0.0":"2021-04-20T09:45:47.022Z","3.0.4":"2020-12-15T11:28:00.029Z","3.0.3":"2020-12-02T11:31:06.699Z","3.0.2":"2020-10-30T16:50:54.926Z","3.0.1":"2020-02-10T17:15:18.331Z","3.0.0":"2019-10-28T08:10:46.606Z","2.0.2":"2019-05-31T07:51:36.973Z","2.0.1":"2019-05-23T06:57:42.162Z","2.0.0":"2018-11-08T18:50:17.712Z","1.5.0":"2016-01-24T19:57:21.923Z","1.4.0":"2016-01-24T18:09:39.342Z","1.3.0":"2015-12-26T22:12:53.575Z","1.2.0":"2015-12-21T08:08:24.090Z","1.1.0":"2015-12-19T07:35:33.200Z","1.0.0":"2015-09-02T20:37:08.189Z","0.1.0":"2015-09-02T11:04:24.432Z"},"users":{"abhisekp":true,"mrzmmr":true},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"versions":{"5.1.0":{"name":"unist-util-select","version":"5.1.0","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/unist":"^3.0.0","css-selector-parser":"^3.0.0","devlop":"^1.1.0","nth-check":"^2.0.0","zwitch":"^2.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/index.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":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"rules":{"max-params":"off"},"prettier":true},"_id":"unist-util-select@5.1.0","gitHead":"5d77ec4446a79da757345fb7e0874cb3ae9dba1e","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"shasum":"92db10df0d03d2e598f9d782bfc6d4b99b2057eb","size":11880,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-5.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/unist-util-select_5.1.0_1699286220384_0.09884052728725723"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-06T15:57:00.606Z","publish_time":1699286220606,"_source_registry_name":"default","_cnpm_publish_time":1699286220606},"5.0.0":{"name":"unist-util-select","version":"5.0.0","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/unist":"^3.0.0","css-selector-parser":"^2.0.0","devlop":"^1.1.0","nth-check":"^2.0.0","zwitch":"^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","unist-builder":"^3.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/index.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":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"rules":{"max-params":"off"},"prettier":true},"gitHead":"f889b454a8101282786572f02239a38a3d2cbf65","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@5.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"18adcc7214ddf120a4fd0707c758105497cd1a31","size":12144,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-5.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/unist-util-select_5.0.0_1688725200919_0.9904327832385413"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-07T10:20:01.125Z","publish_time":1688725201125,"_source_registry_name":"default","_cnpm_publish_time":1688725201125},"4.0.3":{"name":"unist-util-select","version":"4.0.3","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/unist":"^2.0.0","css-selector-parser":"^1.0.0","nth-check":"^2.0.0","zwitch":"^2.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/index.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":{"max-params":"off"},"overrides":[{"files":["test/**/*.js"],"rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"a409a27dc8f96d5affd015f406d16707e31384c8","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@4.0.3","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"861b403e273d9f677685dd9edefc663dbe1bf517","size":12391,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-4.0.3.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/unist-util-select_4.0.3_1674388727599_0.26446669540527923"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-22T11:58:47.789Z","publish_time":1674388727789,"_cnpm_publish_time":1674388727789},"4.0.2":{"name":"unist-util-select","version":"4.0.2","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/unist":"^2.0.0","css-selector-parser":"^1.0.0","nth-check":"^2.0.0","zwitch":"^2.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/index.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":{"max-params":"off"},"overrides":[{"files":["test/**/*.js"],"rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"e0b90cddedb84de9ce8563b3952f7a92d48bb9df","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@4.0.2","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"d5c477142021964211bcd3fd342a25b8c087eb81","size":12374,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-4.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","tmp":"tmp/unist-util-select_4.0.2_1672487104905_0.5481624183992035"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-31T11:45:09.648Z","publish_time":1672487105067,"_cnpm_publish_time":1672487105067},"4.0.1":{"name":"unist-util-select","version":"4.0.1","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/unist":"^2.0.0","css-selector-parser":"^1.0.0","nth-check":"^2.0.0","unist-util-is":"^5.0.0","zwitch":"^2.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.46.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.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":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"cf50126d4c5477b455c9f18d970114bc9ad585ae","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@4.0.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"d1913d7a0ab4e5d4b6dd1b33b3ea79b9f9645b0b","size":10767,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-4.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/unist-util-select_4.0.1_1635929622372_0.3797683029411063"},"_hasShrinkwrap":false,"publish_time":1635929622486,"_cnpm_publish_time":1635929622486},"4.0.0":{"name":"unist-util-select","version":"4.0.0","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"css-selector-parser":"^1.0.0","nth-check":"^2.0.0","unist-util-is":"^5.0.0","zwitch":"^2.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.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.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","max-params":"off","unicorn/no-array-for-each":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"ad60228c452b7d62ecc7577bc04d1649083a25da","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@4.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.9.0","dist":{"shasum":"8bd8ea171d937a56f56bf849861242a232d37466","size":10483,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-4.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/unist-util-select_4.0.0_1618911946887_0.10089012257239971"},"_hasShrinkwrap":false,"publish_time":1618911947022,"_cnpm_publish_time":1618911947022},"3.0.4":{"name":"unist-util-select","version":"3.0.4","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"types":"types/index.d.ts","dependencies":{"css-selector-parser":"^1.0.0","not":"^0.1.0","nth-check":"^2.0.0","unist-util-is":"^4.0.0","zwitch":"^1.0.0"},"devDependencies":{"dtslint":"^4.0.0","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.36.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"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":["types"],"rules":{"eqeqeq":["error","always",{"null":"ignore"}],"no-eq-null":"off","max-params":"off","unicorn/explicit-length-check":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"18e21e0c65b53e73711beb6c570fe6c942db8ed2","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@3.0.4","_nodeVersion":"15.1.0","_npmVersion":"6.14.9","dist":{"shasum":"702c9dc1db1b2bbbfe27f796fce99e43f25edc60","size":8100,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-3.0.4.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/unist-util-select_3.0.4_1608031679853_0.9553071712926002"},"_hasShrinkwrap":false,"publish_time":1608031680029,"_cnpm_publish_time":1608031680029},"3.0.3":{"name":"unist-util-select","version":"3.0.3","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"types":"types/index.d.ts","dependencies":{"css-selector-parser":"^1.0.0","not":"^0.1.0","nth-check":"^2.0.0","unist-util-is":"^4.0.0","zwitch":"^1.0.0"},"devDependencies":{"dtslint":"^4.0.0","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.35.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"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":["types"],"rules":{"eqeqeq":["error","always",{"null":"ignore"}],"no-eq-null":"off","max-params":"off","unicorn/explicit-length-check":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"2269b1c4fc8dc8c824d2757612c7c398ae0da80a","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@3.0.3","_nodeVersion":"15.1.0","_npmVersion":"6.14.9","dist":{"shasum":"8ef3ca40b3ef17c4bab5cfbf4fdad533302a7f23","size":8091,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-3.0.3.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/unist-util-select_3.0.3_1606908666535_0.4084506579610139"},"_hasShrinkwrap":false,"publish_time":1606908666699,"_cnpm_publish_time":1606908666699},"3.0.2":{"name":"unist-util-select","version":"3.0.2","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"types":"types/index.d.ts","dependencies":{"css-selector-parser":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.0","unist-util-is":"^4.0.0","zwitch":"^1.0.0"},"devDependencies":{"dtslint":"^4.0.0","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.34.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"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":["types"],"rules":{"eqeqeq":["error","always",{"null":"ignore"}],"no-eq-null":"off","max-params":"off","unicorn/explicit-length-check":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0f2d7964c9e7fcff3a8fb24a87cabdebf841d5f2","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@3.0.2","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"5196b36a745b485abc7f47839df8a4eb45b0a206","size":8091,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-3.0.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/unist-util-select_3.0.2_1604076654777_0.9185411263094405"},"_hasShrinkwrap":false,"publish_time":1604076654926,"_cnpm_publish_time":1604076654926},"3.0.1":{"name":"unist-util-select","version":"3.0.1","description":"unist utility to select nodes with CSS-like selectors","license":"MIT","keywords":["unist","unist-util","util","utility","visit","tree","ast","node","visit","walk","select","selector","child","descendant","sibling","type","attribute","expression","filter","find","match"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"types":"types/index.d.ts","dependencies":{"css-selector-parser":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.0","unist-util-is":"^4.0.0","zwitch":"^1.0.0"},"devDependencies":{"dtslint":"^2.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","unist-builder":"^2.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"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,"rules":{"max-params":"off","unicorn/prefer-reflect-apply":"off","unicorn/prefer-includes":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"e4b1c6efa6806e7ae98d92fd3808fb49a5222aa6","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@3.0.1","_nodeVersion":"13.0.1","_npmVersion":"6.13.7","dist":{"shasum":"787fc452db9ba77f0ade0e7dc53c3d9d4acc79c7","size":8201,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-3.0.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/unist-util-select_3.0.1_1581354918200_0.7760156300021122"},"_hasShrinkwrap":false,"publish_time":1581354918331,"_cnpm_publish_time":1581354918331},"3.0.0":{"name":"unist-util-select","version":"3.0.0","description":"Select unist nodes using css-like selectors","license":"MIT","keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},{"name":"Christian Murphy","email":"christian.murphy.42@gmail.com"}],"types":"types/index.d.ts","dependencies":{"css-selector-parser":"^1.1.0","not":"^0.1.0","nth-check":"^1.0.1","unist-util-is":"^4.0.0","zwitch":"^1.0.3"},"devDependencies":{"dtslint":"^0.9.9","nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","unist-builder":"^1.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"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,"rules":{"max-params":"off","unicorn/prefer-reflect-apply":"off","unicorn/prefer-includes":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"019f2f9bcfeb5aea306cad2078e23aa6cec85399","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@3.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"shasum":"36cef56c000caa09c51383269946ab17365c702e","size":8141,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-3.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/unist-util-select_3.0.0_1572250246451_0.2992380916884154"},"_hasShrinkwrap":false,"publish_time":1572250246606,"_cnpm_publish_time":1572250246606},"2.0.2":{"name":"unist-util-select","version":"2.0.2","description":"Select unist nodes using css-like selectors","license":"MIT","keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"css-selector-parser":"^1.1.0","not":"^0.1.0","nth-check":"^1.0.1","unist-util-is":"^3.0.0","zwitch":"^1.0.3"},"devDependencies":{"nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","tape":"^4.0.0","unist-builder":"^1.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && 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,"rules":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"ba5fbb2ed01ddbac60dd406e5e822ea918ffce9b","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@2.0.2","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"cb2774b599695172e7b60a8b5f50793e418f7ea6","size":7807,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-2.0.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/unist-util-select_2.0.2_1559289096754_0.48603988801955134"},"_hasShrinkwrap":false,"publish_time":1559289096973,"_cnpm_publish_time":1559289096973},"2.0.1":{"name":"unist-util-select","version":"2.0.1","description":"Select unist nodes using css-like selectors","license":"MIT","keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"css-selector-parser":"^1.1.0","not":"^0.1.0","nth-check":"^1.0.1","unist-util-is":"^2.1.2","zwitch":"^1.0.3"},"devDependencies":{"nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","tape":"^4.0.0","unist-builder":"^1.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && 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,"rules":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"7a3f642a5a82776e267753c41d16f8b053c522a0","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@2.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"7b6393e4409aa57a3508bb195101701397ecbf43","size":7799,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-2.0.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/unist-util-select_2.0.1_1558594662045_0.07767515317160889"},"_hasShrinkwrap":false,"publish_time":1558594662162,"_cnpm_publish_time":1558594662162},"2.0.0":{"name":"unist-util-select","version":"2.0.0","description":"Select unist nodes using css-like selectors","license":"MIT","keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/unist-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"contributors":[{"name":"Eugene Sharygin","email":"eush77@gmail.com"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^3.1.0","not":"^0.1.0","nth-check":"^1.0.1","unist-util-is":"^2.1.2","zwitch":"^1.0.3"},"devDependencies":{"nyc":"^13.1.0","prettier":"^1.15.1","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.2.0","unist-builder":"^1.0.3","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && 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,"rules":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"2ed381f108c6f8c6d51b8c0ac0ba1acf287b4ecb","homepage":"https://github.com/syntax-tree/unist-util-select#readme","_id":"unist-util-select@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"226b1a673eaf255302133ff94e450148a021c2c6","size":7780,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-2.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unist-util-select_2.0.0_1541703017587_0.9974961109325557"},"_hasShrinkwrap":false,"publish_time":1541703017712,"_cnpm_publish_time":1541703017712},"1.5.0":{"name":"unist-util-select","version":"1.5.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^2.2.0","nth-check":"^1.0.1"},"devDependencies":{"tape":"^4.2.0","unist-builder":"^1.0.1"},"gitHead":"d447d05867f93c30f5b4e2b6b6308063275ea34c","_id":"unist-util-select@1.5.0","_shasum":"a93c2be8c0f653827803b81331adec2aa24cd933","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"a93c2be8c0f653827803b81331adec2aa24cd933","size":5405,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.5.0.tgz"},"directories":{},"publish_time":1453665441923,"_cnpm_publish_time":1453665441923,"_hasShrinkwrap":false},"1.4.0":{"name":"unist-util-select","version":"1.4.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^2.2.0","nth-check":"^1.0.1"},"devDependencies":{"tape":"^4.2.0","unist-builder":"^1.0.1"},"gitHead":"4d1d68a8f9d8a92da2ebb040c36730205fd96879","_id":"unist-util-select@1.4.0","_shasum":"1b87f69777b42deb97609a41f77c88d74476d3a2","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"1b87f69777b42deb97609a41f77c88d74476d3a2","size":5346,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.4.0.tgz"},"directories":{},"publish_time":1453658979342,"_cnpm_publish_time":1453658979342,"_hasShrinkwrap":false},"1.3.0":{"name":"unist-util-select","version":"1.3.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^2.2.0","nth-check":"^1.0.1"},"devDependencies":{"tape":"^4.2.0"},"gitHead":"69d922cbddb6b4792cead4aa278d75a0782ffd62","_id":"unist-util-select@1.3.0","_shasum":"6d7a87002b27bcc69839a296e99637a5ad0e180b","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"6d7a87002b27bcc69839a296e99637a5ad0e180b","size":5132,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.3.0.tgz"},"directories":{},"publish_time":1451167973575,"_cnpm_publish_time":1451167973575,"_hasShrinkwrap":false},"1.2.0":{"name":"unist-util-select","version":"1.2.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^2.2.0","nth-check":"^1.0.1"},"devDependencies":{"tape":"^4.2.0"},"gitHead":"2e2e8abcb90a10083b93263a166fd0537184ac65","_id":"unist-util-select@1.2.0","_shasum":"4e5b421186c1652d5ed667809146c606ea74d256","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"4e5b421186c1652d5ed667809146c606ea74d256","size":4035,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.2.0.tgz"},"directories":{},"publish_time":1450685304090,"_cnpm_publish_time":1450685304090,"_hasShrinkwrap":false},"1.1.0":{"name":"unist-util-select","version":"1.1.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0","debug":"^2.2.0"},"devDependencies":{"tape":"^4.2.0"},"gitHead":"d788c58821431010d77826acc31f8b4ba091155c","_id":"unist-util-select@1.1.0","_shasum":"d3b3125d8f8960dbefa5984c6a100ffe768dd4d3","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"d3b3125d8f8960dbefa5984c6a100ffe768dd4d3","size":3210,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.1.0.tgz"},"directories":{},"publish_time":1450510533200,"_cnpm_publish_time":1450510533200,"_hasShrinkwrap":false},"1.0.0":{"name":"unist-util-select","version":"1.0.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","attribute","expression","filter","find","match","ast","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0"},"devDependencies":{"tape":"^4.2.0"},"gitHead":"354a9b720b8e758658608c0f67a6fa272d4ab104","_id":"unist-util-select@1.0.0","_shasum":"c68435ced4c422f87c47dcc9102e4e0b87603549","_from":".","_npmVersion":"3.2.1","_nodeVersion":"3.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"c68435ced4c422f87c47dcc9102e4e0b87603549","size":3024,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-1.0.0.tgz"},"directories":{},"publish_time":1441226228189,"_cnpm_publish_time":1441226228189,"_hasShrinkwrap":false},"0.1.0":{"name":"unist-util-select","version":"0.1.0","description":"Select unist nodes using css-like selectors","author":{"name":"Eugene Sharygin","email":"eush77@gmail.com"},"license":"MIT","scripts":{"test":"tape test/*.js"},"files":["index.js","lib/"],"homepage":"https://github.com/eush77/unist-util-select","repository":{"type":"git","url":"git+https://github.com/eush77/unist-util-select.git"},"bugs":{"url":"https://github.com/eush77/unist-util-select/issues"},"keywords":["child","descendant","sibling","type","expression","mdast","node","retext","select","selector","tree","unist","util","utility","visit","walk"],"dependencies":{"css-selector-parser":"^1.1.0"},"devDependencies":{"tape":"^4.2.0"},"gitHead":"1850d10ca5173cb9abfc73bf28f597fcd684819d","_id":"unist-util-select@0.1.0","_shasum":"9763b6af0dfbc1dd142eb38a4be31ccc999547b7","_from":".","_npmVersion":"3.2.1","_nodeVersion":"3.0.0","_npmUser":{"name":"eush77","email":"eush77@gmail.com"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"9763b6af0dfbc1dd142eb38a4be31ccc999547b7","size":2362,"noattachment":false,"key":"/unist-util-select/-/unist-util-select-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/unist-util-select/download/unist-util-select-0.1.0.tgz"},"directories":{},"publish_time":1441191864432,"_cnpm_publish_time":1441191864432,"_hasShrinkwrap":false}},"readme":"# unist-util-select\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[unist][] utility with equivalents for `querySelector`, `querySelectorAll`,\nand `matches`.\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    *   [`matches(selector, node)`](#matchesselector-node)\n    *   [`select(selector, tree)`](#selectselector-tree)\n    *   [`selectAll(selector, tree)`](#selectallselector-tree)\n*   [Support](#support)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package lets you find nodes in a tree, similar to how `querySelector`,\n`querySelectorAll`, and `matches` work with the DOM.\n\nOne notable difference between DOM and hast is that DOM nodes have references\nto their parents, meaning that `document.body.matches(':last-child')` can\nbe evaluated to check whether the body is the last child of its parent.\nThis information is not stored in hast, so selectors like that don’t work.\n\n## When should I use this?\n\nThis utility works on any unist syntax tree and you can select all node types.\nIf you are working with [hast][], and only want to select elements, use\n[`hast-util-select`][hast-util-select] instead.\n\nThis is a small utility that is quite useful, but is rather slow if you use it a\nlot.\nFor each call, it has to walk the entire tree.\nIn some cases, walking the tree once with [`unist-util-visit`][unist-util-visit]\nis smarter, such as when you want to change certain nodes.\nOn the other hand, this is quite powerful and fast enough for many other cases.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install unist-util-select\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {matches, select, selectAll} from \"https://esm.sh/unist-util-select@5\"\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {matches, select, selectAll} from \"https://esm.sh/unist-util-select@5?bundle\"\n</script>\n```\n\n## Use\n\n```js\nimport {u} from 'unist-builder'\nimport {matches, select, selectAll} from 'unist-util-select'\n\nconst tree = u('blockquote', [\n  u('paragraph', [u('text', 'Alpha')]),\n  u('paragraph', [u('text', 'Bravo')]),\n  u('code', 'Charlie'),\n  u('paragraph', [u('text', 'Delta')]),\n  u('paragraph', [u('text', 'Echo')]),\n  u('paragraph', [u('text', 'Foxtrot')]),\n  u('paragraph', [u('text', 'Golf')])\n])\n\nconsole.log(matches('blockquote, list', tree)) // => true\n\nconsole.log(select('code ~ :nth-child(even)', tree))\n// The paragraph with `Delta`\n\nconsole.log(selectAll('code ~ :nth-child(even)', tree))\n// The paragraphs with `Delta` and `Foxtrot`\n```\n\n## API\n\nThis package exports the identifiers [`matches`][api-matches],\n[`select`][api-select], and [`selectAll`][api-select-all].\nThere is no default export.\n\n### `matches(selector, node)`\n\nCheck that the given `node` matches `selector`.\n\nThis only checks the node itself, not the surrounding tree.\nThus, nesting in selectors is not supported (`paragraph strong`,\n`paragraph > strong`), neither are selectors like `:first-child`, etc.\nThis only checks that the given node matches the selector.\n\n###### Parameters\n\n*   `selector` (`string`)\n    — CSS selector, such as (`heading`, `link, linkReference`).\n*   `node` ([`Node`][node], optional)\n    — node that might match `selector`\n\n###### Returns\n\nWhether `node` matches `selector` (`boolean`).\n\n###### Example\n\n```js\nimport {u} from 'unist-builder'\nimport {matches} from 'unist-util-select'\n\nmatches('strong, em', u('strong', [u('text', 'important')])) // => true\nmatches('[lang]', u('code', {lang: 'js'}, 'console.log(1)')) // => true\n```\n\n### `select(selector, tree)`\n\nSelect the first node that matches `selector` in the given `tree`.\n\nSearches the tree in *[preorder][]*.\n\n###### Parameters\n\n*   `selector` (`string`)\n    — CSS selector, such as (`heading`, `link, linkReference`).\n*   `tree` ([`Node`][node], optional)\n    — tree to search\n\n###### Returns\n\nFirst node in `tree` that matches `selector` or `undefined` if nothing is found.\n\nThis could be `tree` itself.\n\n###### Example\n\n```js\nimport {u} from 'unist-builder'\nimport {select} from 'unist-util-select'\n\nconsole.log(\n  select(\n    'code ~ :nth-child(even)',\n    u('blockquote', [\n      u('paragraph', [u('text', 'Alpha')]),\n      u('paragraph', [u('text', 'Bravo')]),\n      u('code', 'Charlie'),\n      u('paragraph', [u('text', 'Delta')]),\n      u('paragraph', [u('text', 'Echo')])\n    ])\n  )\n)\n```\n\nYields:\n\n```js\n{type: 'paragraph', children: [{type: 'text', value: 'Delta'}]}\n```\n\n### `selectAll(selector, tree)`\n\nSelect all nodes that match `selector` in the given `tree`.\n\nSearches the tree in *[preorder][]*.\n\n###### Parameters\n\n*   `selector` (`string`)\n    — CSS selector, such as (`heading`, `link, linkReference`).\n*   `tree` ([`Node`][node], optional)\n    — tree to search\n\n###### Returns\n\nNodes in `tree` that match `selector`.\n\nThis could include `tree` itself.\n\n###### Example\n\n```js\nimport {u} from 'unist-builder'\nimport {selectAll} from 'unist-util-select'\n\nconsole.log(\n  selectAll(\n    'code ~ :nth-child(even)',\n    u('blockquote', [\n      u('paragraph', [u('text', 'Alpha')]),\n      u('paragraph', [u('text', 'Bravo')]),\n      u('code', 'Charlie'),\n      u('paragraph', [u('text', 'Delta')]),\n      u('paragraph', [u('text', 'Echo')]),\n      u('paragraph', [u('text', 'Foxtrot')]),\n      u('paragraph', [u('text', 'Golf')])\n    ])\n  )\n)\n```\n\nYields:\n\n```js\n[\n  {type: 'paragraph', children: [{type: 'text', value: 'Delta'}]},\n  {type: 'paragraph', children: [{type: 'text', value: 'Foxtrot'}]}\n]\n```\n\n## Support\n\n*   [x] `*` (universal selector)\n*   [x] `,` (multiple selector)\n*   [x] `paragraph` (type selector)\n*   [x] `blockquote paragraph` (combinator: descendant selector)\n*   [x] `blockquote > paragraph` (combinator: child selector)\n*   [x] `code + paragraph` (combinator: adjacent sibling selector)\n*   [x] `code ~ paragraph` (combinator: general sibling selector)\n*   [x] `[attr]` (attribute existence, checks that the value on the tree is not\n    nullish)\n*   [x] `[attr=value]` (attribute equality, this stringifies values on the tree)\n*   [x] `[attr^=value]` (attribute begins with, only works on strings)\n*   [x] `[attr$=value]` (attribute ends with, only works on strings)\n*   [x] `[attr*=value]` (attribute contains, only works on strings)\n*   [x] `[attr~=value]` (attribute contains, checks if `value` is in the array,\n    if there’s an array on the tree, otherwise same as attribute equality)\n*   [x] `:is()` (functional pseudo-class)\n*   [x] `:has()` (functional pseudo-class; also supports `a:has(> b)`)\n*   [x] `:not()` (functional pseudo-class)\n*   [x] `:blank` (pseudo-class, blank and empty are the same: a parent without\n    children, or a node without value)\n*   [x] `:empty` (pseudo-class, blank and empty are the same: a parent without\n    children, or a node without value)\n*   [x] `:root` (pseudo-class, matches the given node)\n*   [x] `:scope` (pseudo-class, matches the given node)\n*   [x] \\* `:first-child` (pseudo-class)\n*   [x] \\* `:first-of-type` (pseudo-class)\n*   [x] \\* `:last-child` (pseudo-class)\n*   [x] \\* `:last-of-type` (pseudo-class)\n*   [x] \\* `:only-child` (pseudo-class)\n*   [x] \\* `:only-of-type` (pseudo-class)\n*   [x] \\* `:nth-child()` (functional pseudo-class)\n*   [x] \\* `:nth-last-child()` (functional pseudo-class)\n*   [x] \\* `:nth-last-of-type()` (functional pseudo-class)\n*   [x] \\* `:nth-of-type()` (functional pseudo-class)\n\n###### Notes\n\n*   \\* — not supported in `matches`\n*   `:any()` and `:matches()` are renamed to `:is()` in CSS\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\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, `unist-util-select@^5`,\ncompatible with Node.js 16.\n\n## Related\n\n*   [`unist-util-is`](https://github.com/syntax-tree/unist-util-is)\n    — check if a node passes a test\n*   [`unist-util-visit`](https://github.com/syntax-tree/unist-util-visit)\n    — recursively walk over nodes\n*   [`unist-util-visit-parents`](https://github.com/syntax-tree/unist-util-visit-parents)\n    — like `visit`, but with a stack of parents\n*   [`unist-builder`](https://github.com/syntax-tree/unist-builder)\n    — create unist trees\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][help] 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] © Eugene Sharygin\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/unist-util-select/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/unist-util-select/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/unist-util-select.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/unist-util-select\n\n[downloads-badge]: https://img.shields.io/npm/dm/unist-util-select.svg\n\n[downloads]: https://www.npmjs.com/package/unist-util-select\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=unist-util-select\n\n[size]: https://bundlejs.com/?q=unist-util-select\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[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[help]: 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[unist]: https://github.com/syntax-tree/unist\n\n[node]: https://github.com/syntax-tree/unist#node\n\n[preorder]: https://github.com/syntax-tree/unist#preorder\n\n[unist-util-visit]: https://github.com/syntax-tree/unist-util-visit\n\n[hast]: https://github.com/syntax-tree/hast\n\n[hast-util-select]: https://github.com/syntax-tree/hast-util-select\n\n[api-matches]: #matchesselector-node\n\n[api-select]: #selectselector-tree\n\n[api-select-all]: #selectallselector-tree\n","_attachments":{},"homepage":"https://github.com/syntax-tree/unist-util-select#readme","bugs":{"url":"https://github.com/syntax-tree/unist-util-select/issues"},"license":"MIT"}