{"_id":"hast-util-classnames","_rev":"10-08540c6816bbc7177117825f3641308d","name":"hast-util-classnames","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"hast-util-classnames","version":"1.0.0","description":"utility to merge class names together","license":"MIT","keywords":["unified","rehype","hast","html","unist","util","utility","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"space-separated-tokens":"^1.0.0"},"devDependencies":{"hastscript":"^5.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.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":{"guard-for-in":"off"},"ignores":["hast-util-classnames.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"d7550f33adb5f3a5fc0701b8fe9c272c7bfade27","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@1.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.13.7","dist":{"integrity":"sha512-TTsGiqZu9BrKaxEqCNKM4wHFc1I4HB+nGPR0uRAMzGK8mJxxJKJU6U00+cjDdM+Rv+R4x9NAGOiTVGAJnKE5Vw==","shasum":"8aba4a165b070cecb8c364092efb0f45c74a0f08","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-1.0.0.tgz","fileCount":4,"unpackedSize":8761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQRHkCRA9TVsSAnZWagAAMOIP/i/hUnex7PYitjOmkFbH\nfTaCSbu/4F589u6LwRPMho8Joqxy+XcDjDE2AARim/VMvM6YKm+iP3F7SxAP\nr4opSWInPfQAu9OYrtadl/M5x2AyhkLqoQnXOy5YnIptx81kpKAWrD3BNCRX\n2cZ0V0E30oK4M0zQHJTdsWlFy8G9TDIV9liU7f6wtfmFcorXEJdeknv6GS2X\nh4rhN3z9MDkI6J+FCKb3mVmqSvDFYjAY+aD/Heb09vNIqAiGZ+Cm+gHxqZNh\npI1OVo4V9Pe2mvVD3M/os7TUWP+FSpE8ojido4x1KsXFBahYxwq/ohqEsUDI\nOxS7D7HL9D4Nq7V0Gu0GTnw7VAXxMk3+TRNtCV9krkU/0obrBcdu8wTL2UTd\nq7izMtM+9onamY9/VPZn+vthnZTk5BMmKusX948f60d9dMajfFkwb5JLzWCc\nDvG2C/nGhHEGPDNgNAWmKUvto8hJrRcNeDESwVBBN1fmkbAsFBcDtkQsI3/P\nmH2Me00F3lNh9fDVaJSji/wYU7R7IKC7GZnsKr8hpRi7E4XmI2kOYvG9LuFG\nmwhBO+9tAwo4Yu9CiGGRydiDjKj+3DXrHA2MT+jC/FJtN1iCGaAPh+oSIKSE\nT2VmwLYo0z1n37ARzdyzx9VGAipIaYwTdOn5wYifln1zOnyPWbQH6bdp/6Yg\nFvWQ\r\n=mOI9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa6yiKRfH3R33ONhv9dnmNfD9H7bYjtXBwUh362eu95AIhAKC+UckSswAM5hdZbVKB/MMqI2WyG0UKbG6ricRtV8D7"}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-classnames_1.0.0_1581322723548_0.18155851992160454"},"_hasShrinkwrap":false},"1.0.1":{"name":"hast-util-classnames","version":"1.0.1","description":"hast utility to merge class names together","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"space-separated-tokens":"^1.0.0"},"devDependencies":{"hastscript":"^5.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.27.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.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":{"guard-for-in":"off"},"ignores":["hast-util-classnames.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"358f378196d8e5697fada272d03164f72f7019de","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@1.0.1","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-wUuXMglmaNMDZwETo6jqqn+hQf992SZc8FoBSGXPmL+rm1WAwr6RPAf6/ICUlE0aZLB74e//83cHXzRKA5jT9w==","shasum":"5ee20affb85a3207d27a73901e10f9029272acc0","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-1.0.1.tgz","fileCount":4,"unpackedSize":8754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWi/MCRA9TVsSAnZWagAAvJAP/2i+e3eP4KwVle30LdeF\ne32JTx5+S6IVkAL3mFHg8zDLrcAHPyWM3GqbyLlORcj+deQybHCrGEbgmlIU\nEHvtvIjBkOxCXg++WQwkqjx+z/YzmTwEiLCE0tv6Yv14D35kIXDIODg8RT1h\nR1zxl4PohGUDctcAjyplI6gvcJ6Hi9vDz5EeW4aZRHRTEwfvPUY2ImuSE/2K\nYq7ODOz9LRQ1FyyjXk7DwPmy/+ACr5RFpgkf9ignlNyqz6eWZdqElumAZofF\nSM631zw7yT0sEb5md90u3TBQI3vb3G6/gIQMMqtkPsruivxCS6LosCLKlGOD\ntKtWri5/za2JV+ICz2sxrMQrqvi5ieFAgTUgfxuxXtYoQM6uS5tzngM6OnU2\n4Bxqazeeoi+eXncc25iOlz5r5ZGaehhUA1Zk/3crkN/bgRbpFvNIWbKx7MP3\n1Kwlc5mKliI9k809mMUHnFM+BYv4Lmz2c1kd5h9NJxFnMmZO8wW0MdhWYcWW\n8cYhqf3GdXegZHbdLUyV7IKr9aBu4Gj6DhLJi9agRJZ0/u+zqisBIASJAlKB\nX4ScuJtPtIunrWesujVGvN3D+yJ7qRrn/pTcMVoK1JSPUvQP52d8d+TKoBDt\nbBMQs8b7vn6ryvrQpruWsvb+NiqcEnhisZgg0t816MFA5OitRCx+9UMrHZlj\naSTX\r\n=39s4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBWpRKHs1rY17vZLU3z/Mzav3jt1QkVRmE/osvoqcPZAiAKcNx38SR0R8WSGK1TxqVLwinXEy2raXRLSRchhIVy9Q=="}]},"maintainers":[{"email":"keith@mcknig.ht","name":"kmck"},{"email":"tituswormer@gmail.com","name":"wooorm"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-classnames_1.0.1_1582968780368_0.8208802920761216"},"_hasShrinkwrap":false},"1.0.2":{"name":"hast-util-classnames","version":"1.0.2","description":"hast utility to merge class names together","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"space-separated-tokens":"^1.0.0"},"devDependencies":{"hastscript":"^6.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.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":{"guard-for-in":"off"},"ignores":["hast-util-classnames.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"490d6e498f6b84234dbc9ba8810c8345bab4bee0","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@1.0.2","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-suUYsfOfu88WFvAhJvXvaPbbSRaIaX6fYvv1Jmq33Q2YXGfPDYe6MJhmp4bIgntqYMWlxlWMZ3f3+cbZ82go9Q==","shasum":"eeb0694012724668501baa16ce574a6201ca97e4","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-1.0.2.tgz","fileCount":4,"unpackedSize":8611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmqQ0CRA9TVsSAnZWagAAkEcP/ilhs0eKmK3yNlZsfXRr\naKbY3+H1WohFteXe7AxCl4qw7zl8EAzA83Pk7peig8NawYvLNPEm0osVfSdy\n1sWl7d1X1FF+iKEXYU6WTm21LzWr84AmFjYO7hlXyNaibt49OsIo3+TERaFU\nCykALefUvqFnlV4AggiA58pSLGYFSBLCZ7svlFrb4YwhbluNbQQ9+vo3TiX0\nb/A7Tx94iX9KELczQ3xNquYF3y7x0VEikQkunsojzKG1330MbNglM32xg+VF\n8TZ0KGFOtKO4GaIQKtm5DSqsuay/f93+6y6gJLAEcOcVu800Kmv1VibbI6AJ\nl9MV64ldljlzKh1pIhTd3ZBx48p+4S2kp/QOcJFBfO71Y9iacGqR6kAy5Cuv\nqTAqjRGjsXvTNLhfP1rjpbrH4jOBhKYEK3DZeb9qZ8gWNQVsTcgh04zhF6Sr\nTqMfZXQz4qnTypV330zUMhURY/TY7Syaybdo/7tlbvV97Uq10588FKhFgLfy\naaLsCyh09UN2rLgpvj0CAKeW+FdukzsqeIWvmE2iagBz/gKAXLotAhPJ4wJS\nncxIU1fs5wB8E7WfS1uBfVYnYfQ6RsDYICf+mkDGf7KxYompPG8LJHE0db5c\nSamfcsR3sLpRFoo0hAdBap3k2LREmzi0MO2fIjYz/Y0OuXgAGJQbNTUFMe5S\nzgkY\r\n=POIJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4EhD1bwNSat6pV+XmMr+X3A53n/P3pIXjySOGwVJdzAIgeCdFR8nrnal/MIHXjC7u+OqrcuZcWFjaSPzmNXLV4tk="}]},"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/hast-util-classnames_1.0.2_1603970099595_0.5253328739969862"},"_hasShrinkwrap":false},"2.0.0":{"name":"hast-util-classnames","version":"2.0.0","description":"hast utility to merge class names together","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","space-separated-tokens":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"fa7f51a84b1a6812bc44d3939238480178b1fb2b","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-jp/8YyZUGD1qjqXqTKLqMG0izSGv1BQ2pSeAVOw4yIrSaBqL+jgL/UXPeIfr5zNBnurFjFgP+zPaT6KSl3gTww==","shasum":"08b5ed7588aaacfab3e2f57dd1683db5c171762c","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-2.0.0.tgz","fileCount":5,"unpackedSize":10935,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiYnBCRA9TVsSAnZWagAAxmIP/07/Bs76DDdhp6BERALW\nVNBwT85aKcfr9qtkEtJUt8S6KXsFkutb9ktiLtyTDc76YA44daUUi+QJN7NK\ndy+TA4mfWNYfXcwau7NyKyIsxP95xu9Iun2FPL4BpN9HuHQjU1EMh3RpfrsW\n006NCJA6hbwKrNW3ysVQyjvh2inIr31qQWfXrTxxdonJcbQaKtpCVbdvnoca\nugmSI4tpyoR1/XfGQTELnYDhpefdI0OxKZIM8Qq+wb+VuLRa2h3oh37sPPOS\nnXH+8buK2vkZ1XR4V7jZsXEjkbaC7grkGjxdVpwJxVZurhtZ7D4HP5M/MDu8\nDKLYqXZ01S9UD3Vhm06D5d8dmdJ9hEYv2xlYf8YM0rHTV2iqjN/vv4GrIT3A\n9FkbrQkX8GnMrt+VSzBtCIy6KmEpQepjxMkIfKR2Sp819ZQtB5gzpkCmnoP2\ngTWP4LFri0dprdtlUSSj1pvHRL/MDmg15UcPRs1xZhGU2qp1DHU863MM3Viw\nOEH+4VAveWSEt4ZN3/0Mq2+qVPOxQkE8sCSwMO6cu5aLR3FAvsfG1MijB119\n7XEF4hZynDNPcudC9MgLYAssH8aXhfNMIISKBlIzr0NtQvwJ0nYpJjPjv+TX\ng5Y34eHQv0iAX8Lh5bgxZbhwxbRGCIdWhHC0zLOwQLajDKCSrXrdVdj+oc5X\nd9Ve\r\n=EVtN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/9k6us+eFwhbLjgZOoYtRgy8fqfOCGLHg/IEECSZqiAiAfcmvUhOEzg59tVV4UAVw2XXBHcR9Jra87i2BmIt8Szw=="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-classnames_2.0.0_1619626433048_0.6494416418636124"},"_hasShrinkwrap":false},"2.0.1":{"name":"hast-util-classnames","version":"2.0.1","description":"hast utility to merge class names together","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0","space-separated-tokens":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","hastscript":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"5c6322b2f6f4c5008dfb066f4b66ccffc3f68fb9","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@2.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-CRSl/VM/2sUjaa60GL3DcK7XNYOces83TlrriJHTCfKIjq2Zz6f6fPDML7HD6TgdAXMnTUIAt/iAB4gDebERqw==","shasum":"e8d4e338f62204a5a385050e88a3c02b52fd98ca","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-2.0.1.tgz","fileCount":7,"unpackedSize":14974,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9+GY5rWUpquxTTNb37WfeqV6auakkZv5zqRZ4EmKW1AiEAkkySOmYkSJ3rkZnJM074yggdCZaJrR9B3uBVupeWvSg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuW3KACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXfQ/+IhWdsmrUPrhrufV3l7ysAKeQM9K0zHtYDDIlBVe96JtRPW3m\r\nBD6eS9MiKsvsqqqmHlLHWSF5LjnjVYNj6UlE2jFq8Q362Kn7hWTnHzn4Gi8s\r\n8wUdB+3PO3OI0dXt0D7Ou7/bmhaGY/IDlQAlq+FoyYRjiKiktLUL2Lta4hXq\r\nK02cwVwpczxS2blXAN59NdlHwPWtlLe5kWMWySjf6J3ojX1VcKxfFRKGPTi9\r\ndmGXQdsqdr5FsF5FMzh5fjqveKIpp8fT7S8V+fF8yL387Yk3+Cdd+5SfIuyE\r\nO7WLon3reh1HIOHfeXGJ+/XvEVYSgTODMMndqQ9JHmXPsM3L4o9VdbANt6Yb\r\nS8SaIMLrlfB4DZObd3cZDjwrfxECaA7uFgsGlWsLg/DQkAaN7GozDs7ibD5p\r\nGw3uPmiXNVzgsx2tn8E3MHhRWJCkQ8XOSjWpye9lvWFBII8D4x5qRKpY+kEZ\r\nc46864SFT0Px450A1JA7+A3d4kFYHz/SvW5JjKFgT7MdFQbgTEie9rGf63jT\r\nt8RiKf1FCDV7Up323ZWREHJM/j9ToDO28+mMZXY1w0CIEjYG2Zn1aeb6QOdB\r\n0FPxqVGYvYqK9OVZSSodLx/X6IQ41P6N0BxsKDcoSpfDtzFGjIRO8GmlsDae\r\nWc1JuWG76yYdjHmAAqDYXrKiz4Ihaf0rSs4=\r\n=qSKu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-classnames_2.0.1_1673096650043_0.33867612475065556"},"_hasShrinkwrap":false},"3.0.0":{"name":"hast-util-classnames","version":"3.0.0","description":"hast utility to merge class names together","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","space-separated-tokens":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","hastscript":"^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.55.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true},"gitHead":"fa70609aadf6779d1b82bf4b44b78c597b20e989","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","_id":"hast-util-classnames@3.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-tI3JjoGDEBVorMAWK4jNRsfLMYmih1BUOG3VV36pH36njs1IEl7xkNrVTD2mD2yYHmQCa5R/fj61a8IAF4bRaQ==","shasum":"79d1e2c49fd0b2f4213f12048cb7a0439c351c8b","tarball":"https://registry.npmjs.org/hast-util-classnames/-/hast-util-classnames-3.0.0.tgz","fileCount":7,"unpackedSize":14977,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBa/mdtxjzAwcq6KWFwpm3GQWff47m6GT0v74pxrFyd4AiEA5PHI/MYcy3ZvqFeURBOKjK6hvzfz6udqwHtdFwFk8hA="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-classnames_3.0.0_1690902897581_0.04203633662806627"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T08:18:43.547Z","1.0.0":"2020-02-10T08:18:43.637Z","modified":"2023-08-01T15:14:57.909Z","1.0.1":"2020-02-29T09:33:00.520Z","1.0.2":"2020-10-29T11:14:59.739Z","2.0.0":"2021-04-28T16:13:53.187Z","2.0.1":"2023-01-07T13:04:10.198Z","3.0.0":"2023-08-01T15:14:57.760Z"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"description":"hast utility to merge class names together","homepage":"https://github.com/syntax-tree/hast-util-classnames#readme","keywords":["unist","hast","hast-util","util","utility","html","classes","classname","classnames"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-classnames.git"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-classnames/issues"},"license":"MIT","readme":"# hast-util-classnames\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[hast][] utility to set classes.\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    *   [`classnames([node, ]…conditionals)`](#classnamesnode-conditionals)\n    *   [`ConditionalPrimitive`](#conditionalprimitive)\n    *   [`ConditionalMap`](#conditionalmap)\n    *   [`Conditional`](#conditional)\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 takes lets you more easily set class names on\nelements.\n\n## When should I use this?\n\nYou can use this package when you find that that you’re repeating yourself\na lot when working with classes in the syntax tree.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install hast-util-classnames\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {classnames} from 'https://esm.sh/hast-util-classnames@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {classnames} from 'https://esm.sh/hast-util-classnames@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {classnames} from 'hast-util-classnames'\n\nconsole.log(classnames('alpha bravo', {bravo: false}, [123, 'charlie']))\n\nconst node = h('p.alpha', 'Hi!')\nconsole.log(classnames(node, 'bravo', ['charlie', {delta: false, echo: 1}]))\n```\n\nYields:\n\n```js\n['alpha', '123', 'charlie']\n{\n  type: 'element',\n  tagName: 'p',\n  properties: {className: ['alpha', 'bravo', 'charlie', 'echo']},\n  children: [{type: 'text', value: 'Hi!'}]\n}\n```\n\n## API\n\nThis package exports the identifier [`classnames`][api-classnames].\nThere is no default export.\n\n### `classnames([node, ]…conditionals)`\n\nMerge classes.\n\nThis function has two signatures, depending on whether a `node` was passed.\n\n###### Signatures\n\n*   `(node: Node, ...conditionals: Array<Conditional>) => Node`\n*   `(...conditionals: Array<Conditional>) => Array<string>`\n\n###### Parameters\n\n*   `node` ([`Node`][node])\n    — optionally, node whose classes to append to (must be\n    [`Element`][element])\n*   `conditionals` ([`Array<Conditional>`][api-conditional])\n    — class configuration to merge\n\n###### Returns\n\nThe given node ([`Node`][node]), if any, or a list of strings (`Array<string>`).\n\n### `ConditionalPrimitive`\n\nBasic class names (TypeScript type).\n\n###### Type\n\n```ts\ntype ConditionalPrimitive = number | string\n```\n\n### `ConditionalMap`\n\nMap of class names as keys, with whether they’re turned on or not as values.\n\n###### Type\n\n```ts\ntype ConditionalMap = Record<string, boolean>\n```\n\n### `Conditional`\n\nDifferent ways to turn class names on or off (TypeScript type).\n\n###### Type\n\n```ts\ntype Conditional =\n  | Array<\n      | Array<ConditionalPrimitive | ConditionalMap>\n      | ConditionalMap\n      | ConditionalPrimitive\n    >\n  | ConditionalMap\n  | ConditionalPrimitive\n  | null\n  | undefined\n```\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`Conditional`][api-conditional],\n[`ConditionalMap`][api-conditional-map], and\n[`ConditionalPrimitive`][api-conditional-primitive].\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, `hast-util-classnames@^3`,\ncompatible with Node.js 16.\n\n## Security\n\nClasses are typically not harmful, however, if someone were able to inject\nclasses, it could mean that user-provided content looks like official content,\nwhich may cause security problems due to impersonation.\nEither do not use user input in `classnames` or use\n[`hast-util-sanitize`][hast-util-sanitize] to clean the tree.\n\n## Related\n\n*   [`hastscript`](https://github.com/syntax-tree/hastscript)\n    — create hast trees\n*   [`hast-util-from-selector`](https://github.com/syntax-tree/hast-util-from-selector)\n    — parse CSS selectors to hast nodes\n*   [`hast-util-has-property`](https://github.com/syntax-tree/hast-util-has-property)\n    — check if a node has a property\n*   [`hast-util-is-element`](https://github.com/syntax-tree/hast-util-is-element)\n    — check if a node is a (certain) element\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/hast-util-classnames/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-classnames/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-classnames.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-classnames\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-classnames.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-classnames\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=hast-util-classnames\n\n[size]: https://bundlejs.com/?q=hast-util-classnames\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[hast]: https://github.com/syntax-tree/hast\n\n[node]: https://github.com/syntax-tree/hast#nodes\n\n[element]: https://github.com/syntax-tree/hast#element\n\n[hast-util-sanitize]: https://github.com/syntax-tree/hast-util-sanitize\n\n[api-classnames]: #classnamesnode-conditionals\n\n[api-conditional]: #conditional\n\n[api-conditional-map]: #conditionalmap\n\n[api-conditional-primitive]: #conditionalprimitive\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}