{"_id":"yamllint-js","_rev":"7-5071afbb97033f2fe52491f27182ebe5","name":"yamllint-js","dist-tags":{"latest":"0.2.4"},"versions":{"0.0.1":{"name":"yamllint-js","version":"0.0.1","keywords":["oidc","trusted-publishing","setup"],"_id":"yamllint-js@0.0.1","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"dist":{"shasum":"c2150626a62b5864a1653b2d9697ab6bc3fa8fd5","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.0.1.tgz","fileCount":2,"integrity":"sha512-ONp/Nc/U0HlpxNeS8lWdKPsgBFstKrZ993kTznADaQLxnVHaYdw5J6XSSda1cCFeoz+wJonTu5JGNhSA7orxSw==","signatures":[{"sig":"MEUCIQCgjUipaFM8361od6NPefxpAGiNEKuZETG58Sd2zFWNTgIgDL10WiBb/nU9YqFdfc68Wz/kjjQSTD1cAJ+H4FP84ME=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2007},"_npmUser":{"name":"kimzuni","email":"me@kimzuni.com"},"_npmVersion":"10.9.4","description":"OIDC trusted publishing setup package for yamllint-js","directories":{},"_nodeVersion":"22.21.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.0.1_1766212087847_0.43300801492539276","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"yamllint-js","version":"0.1.0","keywords":["lint","yaml","linter","yamllint","port"],"author":{"url":"https://github.com/kimzuni","name":"kimzuni","email":"me@zuni.kim"},"license":"GPL-3.0-or-later","_id":"yamllint-js@0.1.0","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"bin":{"yamllint":"dist/cli.mjs"},"dist":{"shasum":"de5d4d18266f8f73bd44585d37ca587f1447cb04","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.1.0.tgz","fileCount":74,"integrity":"sha512-mPvEEddnLOfQul3PDQwUloWm9La3HxZ45HDbL3GQ5z/iGrMvsriVdiUUFJd7sqD0FuTa7A3jYRvMEl8qOtY1Xw==","signatures":[{"sig":"MEUCIQCOQOJ6p95gYFpbpuSxtj0Shxk19tlckwMh14knLcHx7QIgQaNq4cEyXTyCuOHAWG6klTruovK9thqSFo+zzgEsDH4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":206139},"type":"module","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./package.json":"./package.json"},"gitHead":"22d8998a6dfbd47ada7cd1eb52e323d577830e0b","scripts":{"lint":"markdownlint-cli2 && npm run lint:yaml && eslint .","test":"NODE_ENV=test tsx --test","build":"tsdown","test:all":"NODE_ENV=test tsx --test tests/*.test.ts tests/rules/*.test.ts","lint:yaml":"tsx src/cli.ts -c yamllint.self.config.js .","lint:eslint":"eslint .","lint:markdown":"markdownlint-cli2","local:test:matrix":"# bun test && nvm use v20 && npm run test:all && nvm use v22 && npm run test && nvm use v24 && npm run test && bun lint"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:211a5d56-e885-44dc-b0f9-aca3a21014cf"}},"repository":{"url":"git+https://github.com/kimzuni-labs/yamllint-js.git","type":"git"},"_npmVersion":"11.6.2","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","directories":{},"_nodeVersion":"25.2.1","dependencies":{"zod":"4.2.1","yaml":"2.8.2","yargs":"18.0.0","ignore":"7.0.5","recheck":"4.5.0","fast-glob":"3.3.3","iconv-lite":"0.7.1","cosmiconfig":"9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.21.0","jiti":"2.6.1","husky":"9.1.7","eslint":"9.39.2","tsdown":"0.18.1","@eslint/js":"9.39.2","@types/bun":"1.3.5","typescript":"5.9.3","@types/yargs":"17.0.35","@commitlint/cli":"20.2.0","standard-version":"9.5.0","@commitlint/types":"20.2.0","markdownlint-cli2":"0.20.0","typescript-eslint":"8.50.0","@stylistic/eslint-plugin":"5.6.1","@commitlint/config-conventional":"20.2.0"},"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.1.0_1766325093111_0.8318994481489992","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"yamllint-js","version":"0.2.0","keywords":["lint","yaml","linter","yamllint","port"],"author":{"url":"https://github.com/kimzuni","name":"kimzuni","email":"me@zuni.kim"},"license":"GPL-3.0-or-later","_id":"yamllint-js@0.2.0","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"bin":{"yamllint":"dist/main.mjs","yamllint-js":"dist/main.mjs"},"dist":{"shasum":"d33253b15d58754d9f6473a7a3dc2a06d85ede3e","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.2.0.tgz","fileCount":79,"integrity":"sha512-eU32OzoVJztENIiNtFD0w/bz3uNP60peo7XreCD5F5YqxUc/GvcgRFo1yr7qIwJxopkBvqqUt9Qh/cEVWaNFrA==","signatures":[{"sig":"MEYCIQDXyydxCfg/R4uc9YaCWf9i1J68I/dKGehrHyelgD2m2wIhAK/rnWoHndKzmgMx/ew7cfK1/Loodf5kLG7bNhD8wgku","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":192075},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":"./dist/index.mjs","./internal":"./dist/internal.mjs","./package.json":"./package.json"},"gitHead":"4d634a09064ffa6ea50f59f330fab03621faca84","scripts":{"lint":"markdownlint-cli2 && npm run lint:yaml && eslint . && tsc --noEmit","test":"vitest run","build":"tsdown","test:ui":"vitest --coverage --ui","lint:yaml":"node dist/main.mjs -c yamllint.self.config.js . 2> /dev/null || tsx src/main.ts -c yamllint.self.config.js .","lint:types":"tsc --noEmit","lint:eslint":"eslint .","lint:markdown":"markdownlint-cli2","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5043a12-f466-458f-91d4-2984991f291c"}},"repository":{"url":"git+https://github.com/kimzuni-labs/yamllint-js.git","type":"git"},"_npmVersion":"11.10.0","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^4.3.6","yaml":"^2.8.2","yargs":"^18.0.0","ignore":"^7.0.5","recheck":"^4.5.0","iconv-lite":"^0.7.2","cosmiconfig":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jiti":"^2.6.1","eslint":"^9.39.2","tsdown":"^0.20.1","vitest":"^4.0.18","@eslint/js":"^9.39.2","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.10.13","@types/yargs":"^17.0.35","standard-version":"^9.5.0","markdownlint-cli2":"^0.20.0","typescript-eslint":"^8.54.0","@vitest/coverage-v8":"^4.0.18","@stylistic/eslint-plugin":"^5.7.1"},"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.2.0_1771057210508_0.7772416929825587","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"yamllint-js","version":"0.2.1","keywords":["lint","yaml","linter","yamllint","port"],"author":{"url":"https://github.com/kimzuni","name":"kimzuni","email":"me@zuni.kim"},"license":"GPL-3.0-or-later","_id":"yamllint-js@0.2.1","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"bin":{"yamllint":"dist/main.mjs","yamllint-js":"dist/main.mjs"},"dist":{"shasum":"3a3478ebe68985fde3a37e9f2fc1b48b58f33c10","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.2.1.tgz","fileCount":79,"integrity":"sha512-jFPTiRd7ZNG9Vet8zoDmxGD6B0yQwUfHR9PdR50Ajq7+h1jRzRKx2td0xi1h7J9g5Hj8aFdIMNUSXv50kNEXGw==","signatures":[{"sig":"MEQCIHkmkwyNkw2dePbTy6/ixsDVPeSFaxU2jNDNMNj9LcJQAiBPO4D+61xClDDW5BCJRzbngHJBPtIDDuynaWWgmtDHRQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":193436},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":"./dist/index.mjs","./internal":"./dist/internal.mjs","./package.json":"./package.json"},"gitHead":"ef1315f549e013c7667fad439d39117fff7e5af3","scripts":{"lint":"markdownlint-cli2 && npm run lint:yaml && eslint . && tsc --noEmit","test":"vitest run","build":"tsdown","test:ui":"vitest --coverage --ui","lint:yaml":"node dist/main.mjs -c yamllint.self.config.js . 2> /dev/null || tsx src/main.ts -c yamllint.self.config.js .","lint:types":"tsc --noEmit","lint:eslint":"eslint .","lint:markdown":"markdownlint-cli2","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5043a12-f466-458f-91d4-2984991f291c"}},"repository":{"url":"git+https://github.com/kimzuni-labs/yamllint-js.git","type":"git"},"_npmVersion":"11.10.0","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^4.3.6","yaml":"^2.8.2","yargs":"^18.0.0","ignore":"^7.0.5","recheck":"^4.5.0","iconv-lite":"^0.7.2","cosmiconfig":"^9.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jiti":"^2.6.1","eslint":"^9.39.2","tsdown":"^0.20.1","vitest":"^4.0.18","@eslint/js":"^9.39.2","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.10.13","@types/yargs":"^17.0.35","standard-version":"^9.5.0","markdownlint-cli2":"^0.20.0","typescript-eslint":"^8.54.0","@vitest/coverage-v8":"^4.0.18","@stylistic/eslint-plugin":"^5.7.1"},"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.2.1_1771074037898_0.7454082779499978","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"yamllint-js","version":"0.2.2","keywords":["lint","yaml","linter","yamllint","port"],"author":{"url":"https://github.com/kimzuni","name":"kimzuni","email":"me@zuni.kim"},"license":"GPL-3.0-or-later","_id":"yamllint-js@0.2.2","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"bin":{"yamllint":"dist/main.mjs","yamllint-js":"dist/main.mjs"},"dist":{"shasum":"dc356ccbf8a22d7df45f3bb39ab1ef5632dc5736","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.2.2.tgz","fileCount":79,"integrity":"sha512-mVHnSv1FWWzrAq6UnQszyNnIWAOZUSuIwLdkRG0SmHNg0FsOj8PXz3rdV0/0+0M2YQZbFhTJm53eSwJvaJgO3Q==","signatures":[{"sig":"MEYCIQDgnQV+gBlSlPAC1k1Sb6fenHFzYCB/jFMlnFDGq23XSwIhAJnIuWlitkAK/C50aWsH+qJYIbZCfZnv3wNBaUDyJkyh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":195253},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":"./dist/index.mjs","./internal":"./dist/internal.mjs","./package.json":"./package.json"},"gitHead":"dd6dfec095e5339955a3cb16eee99aef381001f3","scripts":{"lint":"markdownlint-cli2 && npm run lint:yaml && eslint . && tsc --noEmit","test":"vitest run","build":"tsdown","test:ui":"vitest --coverage --ui","lint:yaml":"node dist/main.mjs -c yamllint.self.config.js .","lint:types":"tsc --noEmit","build:nodts":"tsdown --no-dts","lint:eslint":"eslint .","prelint:yaml":"npm run build:nodts","lint:markdown":"markdownlint-cli2","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5043a12-f466-458f-91d4-2984991f291c"}},"repository":{"url":"git+https://github.com/kimzuni-labs/yamllint-js.git","type":"git"},"_npmVersion":"11.10.0","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^4.3.6","jiti":"^2.6.1","yaml":"^2.8.2","yargs":"^18.0.0","ignore":"^7.0.5","recheck":"^4.5.0","iconv-lite":"^0.7.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.20.1","vitest":"^4.0.18","@eslint/js":"^9.39.2","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.10.13","@types/yargs":"^17.0.35","standard-version":"^9.5.0","markdownlint-cli2":"^0.20.0","typescript-eslint":"^8.54.0","@vitest/coverage-v8":"^4.0.18","@stylistic/eslint-plugin":"^5.7.1"},"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.2.2_1771479580118_0.6661780032839089","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"yamllint-js","version":"0.2.3","keywords":["lint","yaml","linter","yamllint","port"],"author":{"url":"https://github.com/kimzuni","name":"kimzuni","email":"me@zuni.kim"},"license":"GPL-3.0-or-later","_id":"yamllint-js@0.2.3","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"bin":{"yamllint":"dist/main.mjs","yamllint-js":"dist/main.mjs"},"dist":{"shasum":"c6cf5d425059a435893f5e9f6b1d7c186a064bf5","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.2.3.tgz","fileCount":79,"integrity":"sha512-voxmR+bUZtFlghHlEiqbOTTbi92KCAKaREmac3FMdr/8BVBXVVIQtrLjDKfYXpWNwDjBnlSN/d2e4DdTra576g==","signatures":[{"sig":"MEYCIQCeRqREWZdrau9GGvQ6kMfgaO0LyIsEx1jXxWdImfAMxgIhAN0SsQ6GzupTtYrUmzqEEmthFjnLg9Z6bVcwqkmi+cIe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":196290},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=20"},"exports":{".":"./dist/index.mjs","./internal":"./dist/internal.mjs","./package.json":"./package.json"},"gitHead":"52b4a91a90bf1da350a845ebc9debdafca4cd2d6","scripts":{"lint":"markdownlint-cli2 && npm run lint:yaml && eslint . && tsc --noEmit","test":"vitest run","build":"tsdown","test:ui":"vitest --coverage --ui","lint:yaml":"node dist/main.mjs -c yamllint.self.config.js .","lint:types":"tsc --noEmit","build:nodts":"tsdown --no-dts","lint:eslint":"eslint .","prelint:yaml":"npm run build:nodts","lint:markdown":"markdownlint-cli2","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5043a12-f466-458f-91d4-2984991f291c"}},"repository":{"url":"git+https://github.com/kimzuni-labs/yamllint-js.git","type":"git"},"_npmVersion":"11.10.0","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^4.3.6","jiti":"^2.6.1","yaml":"^2.8.2","yargs":"^18.0.0","ignore":"^7.0.5","recheck":"^4.5.0","iconv-lite":"^0.7.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","tsdown":"^0.20.1","vitest":"^4.0.18","@eslint/js":"^9.39.2","@vitest/ui":"^4.0.18","typescript":"^5.9.3","@types/node":"^24.10.13","@types/yargs":"^17.0.35","standard-version":"^9.5.0","markdownlint-cli2":"^0.20.0","typescript-eslint":"^8.54.0","@vitest/coverage-v8":"^4.0.18","@stylistic/eslint-plugin":"^5.7.1"},"_npmOperationalInternal":{"tmp":"tmp/yamllint-js_0.2.3_1771487297495_0.573745589665434","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"yamllint-js","description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","version":"0.2.4","license":"GPL-3.0-or-later","type":"module","author":{"name":"kimzuni","email":"me@zuni.kim","url":"https://github.com/kimzuni"},"repository":{"type":"git","url":"git+https://github.com/kimzuni-labs/yamllint-js.git"},"homepage":"https://github.com/kimzuni-labs/yamllint-js","bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"scripts":{"test":"vitest run","test:coverage":"vitest run --coverage","test:ui":"vitest --coverage --ui","lint":"markdownlint-cli2 && npm run lint:yaml && eslint . && tsc --noEmit","lint:eslint":"eslint .","lint:types":"tsc --noEmit","lint:markdown":"markdownlint-cli2","lint:yaml":"node dist/main.mjs -c yamllint.self.config.js .","prelint:yaml":"npm run build:nodts","build":"tsdown","build:nodts":"tsdown --no-dts"},"keywords":["lint","yaml","linter","yamllint","port"],"bin":{"yamllint-js":"dist/main.mjs","yamllint":"dist/main.mjs"},"types":"./dist/index.d.mts","exports":{"./package.json":"./package.json",".":"./dist/index.mjs","./internal":"./dist/internal.mjs"},"dependencies":{"iconv-lite":"^0.7.2","ignore":"^7.0.5","jiti":"^2.6.1","recheck":"^4.5.0","yaml":"^2.8.2","yargs":"^18.0.0","zod":"^4.3.6"},"devDependencies":{"@eslint/js":"^9.39.2","@stylistic/eslint-plugin":"^5.7.1","@types/node":"^24.10.13","@types/yargs":"^17.0.35","@vitest/coverage-v8":"^4.0.18","@vitest/ui":"^4.0.18","eslint":"^9.39.2","markdownlint-cli2":"^0.20.0","standard-version":"^9.5.0","tsdown":"^0.20.1","typescript":"^5.9.3","typescript-eslint":"^8.54.0","vitest":"^4.0.18"},"engines":{"node":">=20"},"gitHead":"cbccdb252e4cf0e559d435c6040f28d362e8becc","_id":"yamllint-js@0.2.4","_nodeVersion":"20.20.0","_npmVersion":"11.10.1","dist":{"integrity":"sha512-xifsxFaFYJ0j7xVI6c/6Lh9IWfsPDKLi6YkBvT/2UlAWTE0/kQ/pX/o70eFpaJBtQ/CboX/JyvbVCI2hWQ83fA==","shasum":"9b54a65a2a3bbd3faab2dc89aa1325160adc3564","tarball":"https://registry.npmjs.org/yamllint-js/-/yamllint-js-0.2.4.tgz","fileCount":79,"unpackedSize":196712,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yamllint-js@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDAaJQwCTSv+QTNLwiUdEkI2Px2eIZRhOPYwtn3wLz1qQIgP6ZvwVoSsQECABn5pd6aIebMWXnWTbCEznVcGxMNoS4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c5043a12-f466-458f-91d4-2984991f291c"}},"directories":{},"maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yamllint-js_0.2.4_1771748380202_0.7542573940515354"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-20T06:28:07.845Z","modified":"2026-02-22T08:19:40.632Z","0.0.1":"2025-12-20T06:28:07.971Z","0.1.0":"2025-12-21T13:51:33.334Z","0.2.0":"2026-02-14T08:20:10.654Z","0.2.1":"2026-02-14T13:00:38.058Z","0.2.2":"2026-02-19T05:39:40.275Z","0.2.3":"2026-02-19T07:48:17.667Z","0.2.4":"2026-02-22T08:19:40.362Z"},"bugs":{"url":"https://github.com/kimzuni-labs/yamllint-js/issues"},"author":{"name":"kimzuni","email":"me@zuni.kim","url":"https://github.com/kimzuni"},"license":"GPL-3.0-or-later","homepage":"https://github.com/kimzuni-labs/yamllint-js","keywords":["lint","yaml","linter","yamllint","port"],"repository":{"type":"git","url":"git+https://github.com/kimzuni-labs/yamllint-js.git"},"description":"A linter for YAML files — an unofficial native Node.js port of Python yamllint.","maintainers":[{"name":"kimzuni","email":"me@kimzuni.com"}],"readme":"# yamllint-js\n\nThis project is an unofficial Node.js port of\n[adrienverge/yamllint](https://github.com/adrienverge/yamllint),\nyamllint created by\n[Adrien Vergé](https://github.com/adrienverge).\n\nThe original project is licensed under GPL-3.0, which also applies here.\n\n---\n\nA linter for YAML files — an unofficial native Node.js port of Python yamllint.\n\nyamllint-js does not only check for syntax validity, but for weirdnesses like key\nrepetition and cosmetic problems such as lines length, trailing spaces,\nindentation, etc.\n\n[![CI](https://github.com/kimzuni-labs/yamllint-js/actions/workflows/ci.yml/badge.svg)](https://github.com/kimzuni-labs/yamllint-js/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/yamllint-js.svg)](https://www.npmjs.com/package/yamllint-js)\n[![codecov](https://codecov.io/gh/kimzuni-labs/yamllint-js/graph/badge.svg?token=LU39PGBWUF)](https://codecov.io/gh/kimzuni-labs/yamllint-js)\n\n\n\n## Why\n\nThe goal of this project is to enable the use of yamllint in Node.js-only\nenvironments without requiring Python, by providing a Node.js–native port\nthat aims for 100% compatibility with the original Python implementation.\n\nIn addition, several improvements were made during the porting process\nto enhance the tool itself, not just its integration with Node.js:\n\n1. Fix a new-lines issue (<https://github.com/adrienverge/yamllint/issues/475>)\n2. Support for JavaScript/TypeScript [configuration files](#configuration)\n3. Mitigated a ReDoS vulnerability\n\n\n\n## Documentation\n\n> [!NOTE]\n> This package does not include standalone documentation.\n> Instead, please consult the official yamllint (Python) documentation.\n\n<https://yamllint.readthedocs.io/>\n\n\n\n## Overview\n\n### Screenshot\n\n![yamllint-js screenshot](./images/npx-yamllint-js.png)\n\n![yamllint-js.config.mjs screenshot](./images/yamllint-js.config.mjs.png)\n\n\n\n### Installation\n\n```shell\n# npm\nnpm install yamllint-js\n\n# yarn\nyarn add yamllint-js\n\n# bun\nbun add yamllint-js\n```\n\nor global installation:\n\n```shell\nnpm install -g yamllint-js\nyarn global install yamllint-js\nbun add -g yamllint-js\n```\n\nyamllint is also packaged for all major operating systems,\nsee installation examples (`dnf`, `apt-get`...)\n[in the official yamllint (Python) documentation](https://yamllint.readthedocs.io/en/stable/quickstart.html).\n\n\n\n### Usage\n\n> [!NOTE]\n> `yarn` or `bun` can be used as alternatives to `npx`,\n> and `npx` can be omitted if the package is installed globally.\n\nAll `node_modules` directories are ignored.\n\n```shell\nnpx yamllint-js ...\n# alias\nnpx yamllint ...\n```\n\n```shell\n# Lint one or more files\nnpx yamllint-js my_file.yml my_other_file.yaml ...\n```\n\n```shell\n# Recursively lint all YAML files in a directory\nnpx yamllint-js .\n```\n\n```shell\n# Use a pre-defined lint configuration\nnpx yamllint-js -d relaxed file.yaml\n\n# Use a custom lint configuration\nnpx yamllint-js -c /path/to/myconfig file-to-lint.yaml\n```\n\n```shell\n# Output a parsable format (for syntax checking in editors like Vim, emacs...)\nnpx yamllint-js -f parsable file.yaml\n```\n\n[Read more in the complete official yamllint (Python) documentation!](https://yamllint.readthedocs.io/)\n\n\n\n### Configuration\n\nIn addition to the yamllint configuration format,\nJavaScript and TypeScript configuration files are also supported:\n\n- [yamllint configuration files and environment variables](https://yamllint.readthedocs.io/en/stable/configuration.html):\n- `package.json` or js/ts config files\n  + `package.json` (`\"yamllint-js\"`, `\"yamllint\"` fields)\n  + `yamllint-js.config.js`, `.ts`, `.cjs`, `.mjs`\n  + `yamllint.config.js`, `.ts`, `.cjs`, `.mjs`\n\nConfiguration can be easily defined with type hints, like:\n\n```typescript\n/** @type {import(\"yamllint-js\").UserConfig} */\n\nconst config = {/* ... */};\n\nmodules.exports = config;\n```\n\nor, with an explicit type:\n\n```typescript\nimport { defineConfig, type UserConfig } from \"yamllint-js\";\n\nconst config: UserConfig = {/* ... */};\n\nexport default defineConfig(config);\n```\n\n[Read more in the Configuration page of the official yamllint (Python) documentation!](https://yamllint.readthedocs.io/en/stable/configuration.html)\n\n\n\n### Features\n\nHere is a yamllint-js configuration file example:\n\n```yaml\nextends: default\n\nrules:\n  # 80 chars should be enough, but don't fail if a line is longer\n  line-length:\n    max: 80\n    level: warning\n\n  # don't bother me with this rule\n  indentation: disable\n```\n\nWithin a YAML file, special comments can be used to disable checks for a single line:\n\n```yaml\nThis line is waaaaaaaaaay too long  # yamllint disable-line\n# and support yamllint-js\nThis line is waaaaaaaaaay too long  # yamllint-js disable-line\n```\n\nor for a whole block:\n\n```yaml\n# yamllint disable rule:colons\n- Lorem       : ipsum\n  dolor       : sit amet,\n  consectetur : adipiscing elit\n# yamllint enable\n```\n\nSpecific files can be ignored (totally or for some rules only) using a `.gitignore`-style pattern:\n\n```yaml\n# For all rules\nignore: |\n  *.dont-lint-me.yaml\n  /bin/\n  !/bin/*.lint-me-anyway.yaml\n\nrules:\n  key-duplicates:\n    ignore: |\n      generated\n      *.template.yaml\n  trailing-spaces:\n    ignore: |\n      *.ignore-trailing-spaces.yaml\n      /ascii-art/*\n```\n\n[Read more in the complete official yamllint (Python) documentation!](https://yamllint.readthedocs.io/)\n\n\n\n## License\n\n[GPL version 3](./LICENSE)\n(port of [yamllint](https://github.com/adrienverge/yamllint))\n","readmeFilename":"README.md"}