{"versions":{"2.4.0":{"name":"@metalsmith/layouts","version":"2.4.0","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"nyc report --reporter=text-lcov > ./coverage.info","coveralls":"npm run coverage && cat ./coverage.info | coveralls","dev":"nodemon --exec 'npm test'","format":"prettier --write \"**/*.{yml,md,js,json}\"","lint":"eslint --cache --fix .","release":"release-it .","test":"nyc mocha"},"dependencies":{"debug":"^4.3.3","inputformat-to-jstransformer":"^1.4.0","is-utf8":"^0.2.1","jstransformer":"^1.0.0","multimatch":"^4.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.3.0","coveralls":"^3.1.1","eslint":"^8.5.0","eslint-config-prettier":"^8.3.0","jstransformer-handlebars":"^1.1.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.3.0","mocha":"^7.2.0","nyc":"^15.1.0","prettier":"^2.5.1","release-it":"^14.11.8","rimraf":"^3.0.2"},"peerDependencies":{"metalsmith":"^2.3.0"},"publishConfig":{"access":"public"},"gitHead":"4702a92984ad10b497ccb3d31fc4b92ae0120ac6","_id":"@metalsmith/layouts@2.4.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-eVaDNVyH2CoLh/SYRvIWvh3HwcE9z+lc0DhM0iRe6FUmcqFDiTJsmk1aR3jWtMy5RvskPEwz44s+Uk8AirCC6Q==","shasum":"d89862d080918ad80904aabb9afbf88681b9240d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-2.4.0.tgz","fileCount":6,"unpackedSize":20269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwlMOCRA9TVsSAnZWagAAaJkQAJgQfQZqlf1pDv8AvaJn\nG7aHJjABfLhrBKFR8UWAY27b0JCy5cxEg5tEXzTruSTf9AuRkj8FTJwl6mK3\nLbqYWkmNqvac8T/0G7vcUszqMmcP/XfjQl6YXYs/de5S3xhs0gWUmumZym97\nUUKDZ8CUJ+wMMHm2qVhlDqxBImqCvd8gUVda+Vc7RCDQMRS/ssi83r6+Vb7C\nhZmMUxQEDBuqYO1H1KrL/NmFsajLkZpxKelvdXijjOBuwEpHkJTUVLpVh4cH\nu4mDtuUCxEtm75xd2Q6GnlaoYURflmp9PuZywrfDo1LPhmQmMrdi4BgQgCn6\nNLnQSiDAtJYqCotpnwoh0L5ZAr0FcGW1IIeuYB1+lGOFrNuNXsuX1ZEoFuoJ\nSy1OyEdsu5z8Yknd8Ng+b/Crm6gAuU4aDgPonXt9dE+S3ZFHJ9dueqwGnrGU\nuk+hWRgNLas9ABc/XlacJWYpKMkPTKPLsClG3DVfYGRuHcAjhiwOxmvJ5skp\n+M8RHuXNInqjLX6WGjYS7dbMGmYqzzuBu0ZNrB+IGHcn4GCWL4egX9O9tdt0\nK5iDg0vAalze7v6qPrkWDPcXPFv4I8IUY3ajAKYHHq62OuHQsY4iBs4eXuBc\nKw1C25KNKFm9ip4v/odPZglxrSUQVN+avgvwPnlL5DSJkEjHTIJECjwUXGRB\nBFzN\r\n=W/Jj\r\n-----END PGP SIGNATURE-----\r\n","size":7264},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npmjs.j0ut8@simplelogin.co"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/layouts_2.4.0_1640125197986_0.6531880298163331"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T22:20:06.178Z","contributors":[]},"2.5.0":{"name":"@metalsmith/layouts","version":"2.5.0","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npmjs.j0ut8@simplelogin.co"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"nyc report --reporter=text-lcov > ./coverage.info","dev":"nodemon --exec 'npm test'","release":"release-it .","test":"nyc mocha","format":"prettier --write \"**/*.{yml,md,js,json}\"","format:check":"prettier --list-different \"**/*.{yml,md,js,json}\"","lint":"eslint --fix .","lint:check":"eslint --fix-dry-run ."},"dependencies":{"debug":"^4.3.4","inputformat-to-jstransformer":"^1.4.0","is-utf8":"^0.2.1","jstransformer":"^1.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.4.0","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","jstransformer-handlebars":"^1.2.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.3.0","mocha":"^9.2.2","nyc":"^15.1.0","prettier":"^2.6.2","release-it":"^15.0.0"},"peerDependencies":{"metalsmith":"^2.4.1"},"publishConfig":{"access":"public"},"engines":{"node":">=12.0.0"},"gitHead":"0b0f79791cf1b38816d08e355f77e835e3dc4286","_id":"@metalsmith/layouts@2.5.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-dIRXi8CwPvzg2unmEVgyUeqKZdEgBOGDWvuK6uZ7dEMTVlCKlGu6hPSU3oXJ3m4Loa8Uu8inKV8h1Yx8lQS/9w==","shasum":"20b7d998565ceda9e986ca144c9a2e957bc41868","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-2.5.0.tgz","fileCount":6,"unpackedSize":22069,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz1TKxan0Xr62Je/psdPZe7pMGrFg5Wma3QXzBSTle6QIgQDYc1pdhoezDRUFYXKWhVvAdzYM4uypktacIhH2vr+c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicE0zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGNBAAhwReGcGzGHSBactp3fB84PBMq896jErwFfWO4R9IlPnSGQs9\r\nigHcGaiCEIuYHzYo0KzC1GhsRpHQ1RFR53Fi3HhZlF5ktcwR9Pk4f5tO9NEX\r\nhx/Ui2AUf7++bfRcpGyK4BHCUyY0q62foVyX5UBoN8h757JNuhMHdg+il7Ga\r\nF88TPcbOGC5QiUbnNeJqqzHYReGfbzw/Ys1R/Ti4NySqkAhWJ/QugLCsBeTm\r\nx6g0O8c5uH+GWnbD9NspJCl7YtskqtfZRA0vteaxrE9/L42/ypjTIZwsO/HQ\r\n/UfLSuSSjPczbamnXZkt7/f5WRhGmwFdHIh2TyZT+oKta8ZXUo0HUI6vQmFm\r\nobZCMHjaM+Ky4DukhVAAx01VSPrMRKo5TgQ7cTP52O0etdq3xsBpiKd5cURc\r\n8ssf/j/HjguH8m9fyWKjhdkuPXKj3t7E+ZrAozA8ficuYzkn0EKT8/aGVBrE\r\n8cFkSCqBXb1139VUIULfgOfzNcDBUQddPmmVQY9wBYegLXGq5rmjim4taluI\r\nJ06F/La+RSVO7O60TBFVxCTs7l6xIhKvDUj/ddc5NEBv9rgwUxa55qxY7NKw\r\nKwgGP57nZJQEbIlYWUDBjgHselONl2C39BzqXg1u+sMsC5bsit8JmW2Dxb1I\r\niHwQZGo0FDupXLC5DmNI5SYCBQgA5Smxsks=\r\n=vZkh\r\n-----END PGP SIGNATURE-----\r\n","size":7721},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/layouts_2.5.0_1651526963206_0.5994481947150976"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-02T21:29:28.468Z","contributors":[]},"2.5.1":{"name":"@metalsmith/layouts","version":"2.5.1","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npmjs.j0ut8@simplelogin.co"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"nyc report --reporter=text-lcov > ./coverage.info","dev":"nodemon --exec 'npm test'","release":"release-it .","test":"nyc mocha","format":"prettier --write \"**/*.{yml,md,js,json}\"","format:check":"prettier --list-different \"**/*.{yml,md,js,json}\"","lint":"eslint --fix .","lint:check":"eslint --fix-dry-run ."},"dependencies":{"debug":"^4.3.4","inputformat-to-jstransformer":"^1.4.0","is-utf8":"^0.2.1","jstransformer":"^1.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.4.0","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","jstransformer-handlebars":"^1.2.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.3.0","mocha":"^9.2.2","nyc":"^15.1.0","prettier":"^2.6.2","release-it":"^15.0.0"},"peerDependencies":{"metalsmith":"^2.4.1"},"publishConfig":{"access":"public"},"engines":{"node":">=12.0.0"},"gitHead":"664900c34d8fc61dbdde446e98fda63cd1dc0669","_id":"@metalsmith/layouts@2.5.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-VJPCvCAu5SX5qie3Z4DdywtiT6GLjV1IFUaCHb/Mq/0DpvFQTsB7z63lizCpS82M1wPVG3yOOUXLb1FqBUvScg==","shasum":"a186142ccc094cd3c773b7f04cad6473a3940a56","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-2.5.1.tgz","fileCount":6,"unpackedSize":22586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDg9ij4nAkWMT6njvmJsfPRiGTv8xYVVz9Jc9CixjWcqAiBivyh8nwOmdNFS42ieT+75hgOMRa1bGD0K+1xwxnPzuQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigq1SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCDw//Xw1Csyd/IjRMvUf5kHOH+n5Ovtzo9+FxSjJj23PdJTQ+ifbg\r\n7OyiNCjIuAX0k/dt2VdrE+tw2leFGEMM+a1x9n+SKFohoRRPfzibFGzmJXZD\r\nfNwAgYu+d+bu2nhc/5QTXgDx0fzCoEvz+sM412c+giAK0xyBV6FWAJv7u1K6\r\nEYE7CaLIrwF6J1DlSDqkjMbfEQF7q0d6fmmVvmO412PMMRiRBSZY/wiBo3Pu\r\nuN/fwDzv+agsl1/kRhwRwDXlfATsjMPm6uW3Hwc36zIn1zubLgzeilSVekad\r\ntOv+l/3ZAZsPWZQhx2VZ3NIR+DVAUe1bVf5rz2Qul8PpqVLB5lt5Y4iDZpsf\r\nCugoYD4G4dhFQ+qx71M8A9BFe7JW9iJEDXlyhZnaF25rGjn17gKLduoV7hVQ\r\n0A6tiiHB1Y0mo/FHxDTf966/lhNgLbnNLEDN6u6REerQT6LizAQWd2sLqoVW\r\nb4tGNk4GB+OWcLsEGPLOmcdp/gp+c+s3GD7keylocq9ShirlN3KOM8xwcFmH\r\nsjbQpVWxv8pi5+X+FJN0ygzuRfKKQXO0sNeyKNktiDNot03Fcm1KkA55OYLK\r\nZaSGlqx+ZRpsQK0ZChNcJowWeCwEDSXP7OR8L+mHzrUIVvP8R5Bk7rU7rze5\r\na+Aqv/0aYOsHseOFuPbqCCbENMhJzTxhXFM=\r\n=FPP+\r\n-----END PGP SIGNATURE-----\r\n","size":7841},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/layouts_2.5.1_1652731217917_0.2487411972460878"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-16T20:52:14.294Z","contributors":[]},"2.6.0":{"name":"@metalsmith/layouts","version":"2.6.0","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npmjs.j0ut8@simplelogin.co"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"source":"src/index.js","main":"lib/index.cjs","module":"lib/index.js","type":"module","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"types":"lib/index.d.ts","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"nyc report --reporter=text-lcov > ./coverage.info","release":"release-it .","format":"prettier --write \"**/*.{yml,md,js,json}\"","format:check":"prettier --list-different \"**/*.{yml,md,js,json}\"","lint":"eslint --fix .","lint:check":"eslint --fix-dry-run .","build":"microbundle --target node --no-sourcemap -f cjs,esm --strict --generateTypes=false","pretest":"npm run build","test":"nyc mocha"},"dependencies":{"debug":"^4.3.4","inputformat-to-jstransformer":"^1.4.0","is-utf8":"^0.2.1","jstransformer":"^1.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.4.0","eslint":"^8.23.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","jstransformer-handlebars":"^1.2.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.4.1","microbundle":"^0.15.1","mocha":"^9.2.2","nyc":"^15.1.0","prettier":"^2.7.1","release-it":"^15.4.1"},"peerDependencies":{"metalsmith":"^2.4.1"},"publishConfig":{"access":"public"},"engines":{"node":">=12.0.0"},"gitHead":"43394b23f81b210cdfb38b14dbbba4d83bd7361d","_id":"@metalsmith/layouts@2.6.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-aJ/gCBI9gVGGDr80UTQL6qdhys6xHwB3YbohtZwmfUnScsdddLkjNawhgidapyNrUf56qyb6DdwqqkHDsh7SRA==","shasum":"677a2452eb0fbc7c2d2cb673cb584dddc0a2f9f0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-2.6.0.tgz","fileCount":7,"unpackedSize":30680,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRRmeCwalVI03XWMob/wtP/Cs5vylF35FBWsXitF1YxAiBY96Au6aD/QVhgd6xy3R9ys2QRFgp15gLRNfXwDAkk0A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFIfzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBog/+IyiDwgviGsv1U7I56vJd5dnStsgj5isM6m+yns/0rxRQRb/d\r\n1L+KJnuZ/EcALuhYT0hR2z3Mh+cCzaeJGKZ6ZEuvNxDVC3KfluFNDDMzKgAh\r\nSTSYNfHq4azuY404u+RoKfx8OkMRhpEVW1CZULkx3QGLldfW7aI6QW1oBL1f\r\nh0VySbFKEX+lDxZG/jkcdVLpmkGymJtQtkjykmWv4vFJ0eAel4rB0rSqZaTp\r\nG3Qr/5sh9qA04R2lsVtwWADsYX9hxRXlnTDSl4cnezsfS9m0fjjJKMMBuoLv\r\nC6k759f9WaMajOwymIN7EPulGXMJDLPWfHQUthpbopilbguaU/kGAuhfQCj3\r\n4CWXXkpyzrnJh/tYUVtcbGWtidSCs108/QA0aorlYa8O2GaKK7Q5hhEC1Xzf\r\nAFQMXfGPSSeZRq6Z24yhnDVP1nWXnKFMeo8kvO1c2LvKjPEgS7Y/AQEiNTwF\r\nJANzmNE1bI3imbfh7ePUGonY73heeZPiJpmXAucVlrkdKu0W0FKgoKklXP3e\r\n8YJZY8ESjubstgqYR3hr90Zh/8KlzyK/sBnJ7KBCxNVgjDENZlJIrEvSA7/t\r\ny3tM5uGCrgd98/UGeP0T9oHeddv+X3g4PMxmPLc4Qu0IIPBOvaGnDymhzgdu\r\nHyquttvEAOqcvH58djIHNk/j+lyhcDGo9IY=\r\n=6EON\r\n-----END PGP SIGNATURE-----\r\n","size":8658},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/layouts_2.6.0_1662289907640_0.6757375299177322"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-04T11:11:54.316Z","contributors":[]},"2.7.0":{"name":"@metalsmith/layouts","version":"2.7.0","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npmjs.j0ut8@simplelogin.co"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"source":"src/index.js","main":"lib/index.cjs","module":"lib/index.js","type":"module","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"types":"lib/index.d.ts","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"nyc report --reporter=text-lcov > ./coverage.info","release":"release-it .","format":"prettier --write \"**/*.{yml,md,js,json}\"","format:check":"prettier --list-different \"**/*.{yml,md,js,json}\"","lint":"eslint --fix .","lint:check":"eslint --fix-dry-run .","build":"microbundle --target node --no-sourcemap -f cjs,esm --strict --generateTypes=false","pretest":"npm run build","test":"nyc mocha"},"dependencies":{"inputformat-to-jstransformer":"^1.4.0","is-utf8":"^0.2.1","jstransformer":"^1.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.4.0","eslint":"^8.37.0","eslint-config-prettier":"^8.8.0","eslint-plugin-import":"^2.27.5","eslint-plugin-n":"^15.7.0","jstransformer-handlebars":"^1.2.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.5.1","microbundle":"^0.15.1","mocha":"^9.2.2","nyc":"^15.1.0","prettier":"^2.8.7","release-it":"^15.10.0"},"peerDependencies":{"metalsmith":"^2.4.1"},"publishConfig":{"access":"public"},"engines":{"node":">=12.0.0"},"gitHead":"bcc0342d6c6d437599e6b1a6eac43d5ded91c8ba","_id":"@metalsmith/layouts@2.7.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-VG5ldPSsTxUvHqFQo0u5mjWtS2IUUOqYKHvWnEHKol1UhaXhhYBYSnG0D8kjk+XzGw+mWxNfv/JoAhg94filXA==","shasum":"358d911d328f30d8f767eff001c242a1ac977246","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-2.7.0.tgz","fileCount":7,"unpackedSize":31532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMum+5SixqlgsEq3FckWb3mvchMLAoLbBZ8AOqM3uHGAiEAtl0pIeOO3XofQQ38W/DH5PdzdcAzvpbafXhALyu7YDY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkK1c0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbVQ/+PH3xnmgFv92Z/V210vJL+aRlsEuM9Dzvn2YDq/aMZeXHb0EP\r\nXH9rc3gf/icp/Id7kOcdroUuegWFe7TYrCzQmivv/5fNXqsDozl3YDmLFSiG\r\nswBnAY2mDVwky82I7pZINnXhCBNGBRfcu993TUNhNaghHO14MlHkyKsc6cbA\r\nGdpyNwguTM+ryLjMomXkNY6NiM5Gzx/IATJpVBFu1LUqc0LjImDT6ZKZ2Jxs\r\nrJavspeeBCWuObDmp7+DHswNZPNhEevXQ0vO3KNhCYJlq9WD/+o1K0Pvb7KW\r\naBzwJLftOC3joHITtDpiklAwwukqdvLWFKJ79QgqQDim2TSvayZ3JDO0Z/h9\r\nabbenFoYz+IQaS+DGOVVoxyirUPZWTXEGXadvb808PUyoS7JsS7rVkLDhpp8\r\nCkrtFfm3IyPCF18z30CPV45bbcxcuXOn48+lIQEr9en9ghTF1AIHd+pYLGhB\r\na1YS+WD4rVVg3v54/NchOP6K8llHDkYFrqelwgaN/WFe57t4MO8PE/x6szQ3\r\nel3xv6IvmFy0+hl8W3gjUQkOnBc7tiLGdu8lQGKongdG36RgtXxNy4/+48D5\r\nkJZUa3UIHYw7nGN0CVvaEqpK+tj86JlE4tRAP8QGaYiS3Gm/fvOCkKqekYjF\r\n7nwclreNaiGoG5l92g9wrnDGHtx6SNzkHAo=\r\n=1YKO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/layouts_2.7.0_1680561972335_0.4345161352344984"},"_hasShrinkwrap":false,"contributors":[]},"3.0.0":{"name":"@metalsmith/layouts","version":"3.0.0","description":"A metalsmith plugin for layouts","homepage":"https://github.com/metalsmith/layouts#readme","bugs":{"url":"https://github.com/metalsmith/layouts/issues"},"repository":{"type":"git","url":"git+https://github.com/metalsmith/layouts.git"},"license":"MIT","author":{"name":"Ismay Wolff","url":"https://www.wolffsoftwareengineering.nl"},"maintainers":[{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},{"name":"anonymous","email":"npm@andrewgoodricke.com"}],"source":"src/index.js","main":"lib/index.cjs","module":"lib/index.js","type":"module","exports":{"import":"./lib/index.js","require":"./lib/index.cjs"},"types":"lib/index.d.ts","directories":{"lib":"lib","test":"test"},"scripts":{"changelog":"auto-changelog -u --starting-date 2021-12-22 --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'","coverage":"npm test && c8 report --reporter=text-lcov > ./coverage.info","release":"release-it .","format":"prettier --write \"**/*.{yml,md,js,json}\"","format:check":"prettier --list-different \"**/*.{yml,md,js,json}\"","lint":"eslint --fix .","lint:check":"eslint --fix-dry-run .","build":"microbundle --target node --no-sourcemap -f cjs,esm --strict --generateTypes=false","prepack":"npm run build","test":"c8 mocha"},"dependencies":{"is-utf8":"^0.2.1","jstransformer":"^1.0.0"},"devDependencies":{"assert-dir-equal":"^1.1.0","auto-changelog":"^2.5.0","c8":"^10.1.3","eslint":"^9.22.0","eslint-config-prettier":"^10.1.1","eslint-plugin-import":"^2.31.0","eslint-plugin-n":"^17.16.2","jstransformer-handlebars":"^1.2.0","jstransformer-qejs":"^0.2.0","metalsmith":"^2.6.3","microbundle":"^0.15.1","mocha":"^10.8.2","prettier":"^3.5.3","release-it":"^18.1.2"},"peerDependencies":{"metalsmith":"^2.4.1"},"publishConfig":{"access":"public"},"engines":{"node":">=14.18.0"},"_id":"@metalsmith/layouts@3.0.0","gitHead":"2d2b573d30f7e0bf154e278980bc538cb0baa8f9","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-5rOquSdfdQ9Nx++4gEIOZ8BDV0NuudthgV+itIJK/wgGRrFsmq2+3xQrbsX94oY73+KPJA5h638IU7Qp1nmTpQ==","shasum":"d781a3c408a07273ceaaea7b1ae6885397c30837","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@metalsmith/layouts/-/layouts-3.0.0.tgz","fileCount":6,"unpackedSize":33277,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGHLjIWGstOrrTUHsBOsfLLRTkZD8CQ/7h+moE4TcfaEAiEA9uBs3THsHjknz5EVEr5IgvHXt33UJ6yuWiJriLfCiWs="}],"size":8059},"_npmUser":{"name":"anonymous","email":"kevin.van.lierde@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/layouts_3.0.0_1741656132735_0.755367573147439"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-11T01:22:12.958Z","publish_time":1741656132958,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"3.0.0"},"name":"@metalsmith/layouts","time":{"created":"2022-01-27T14:08:44.020Z","modified":"2025-06-06T02:12:09.073Z","2.4.0":"2021-12-21T22:19:58.347Z","2.5.0":"2022-05-02T21:29:23.360Z","2.5.1":"2022-05-16T20:00:18.088Z","2.6.0":"2022-09-04T11:11:47.815Z","2.7.0":"2023-04-03T22:46:12.582Z","3.0.0":"2025-03-11T01:22:12.958Z"},"readme":"# @metalsmith/layouts\n\nA metalsmith plugin for layouts\n\n[![metalsmith: core plugin][metalsmith-badge]][metalsmith-url]\n[![npm: version][npm-badge]][npm-url]\n[![ci: build][ci-badge]][ci-url]\n[![code coverage][codecov-badge]][codecov-url]\n[![license: MIT][license-badge]][license-url]\n\n## Features\n\n- wraps source files' `contents` field in a layout rendered with a [Jstransformer templating engine](https://github.com/jstransformers/jstransformer)\n- alters file extensions from `transform.inputFormats` to `transform.outputFormat`\n- can be used multiple times with different configs per metalsmith pipeline\n\n## Installation\n\nNPM:\n\n```bash\nnpm install @metalsmith/layouts jstransformer-handlebars\n```\n\nYarn:\n\n```bash\nyarn add @metalsmith/layouts jstransformer-handlebars\n\n```\n\nThis plugin works with [jstransformers](https://github.com/jstransformers/jstransformer) but they should be installed separately. `jstransformer-handlebars` is just an example, you could use any transformer. To render markdown you could install [jstransformer-marked](https://github.com/jstransformers/jstransformer-marked). To render handlebars you would install [jstransformer-handlebars](https://github.com/jstransformers/jstransformer-handlebars). Other popular templating options include: [Nunjucks](https://github.com/jstransformers/jstransformer-nunjucks), [Twig](https://github.com/jstransformers/jstransformer-twig), [Pug](https://github.com/jstransformers/jstransformer-pug), or [EJS](https://github.com/jstransformers/jstransformer-ejs). See also [this map](https://github.com/jstransformers/inputformat-to-jstransformer/blob/master/dictionary.json) to see which extensions map to which jstransformer.\n\n## Usage\n\nPass `@metalsmith/layouts` to `metalsmith.use` :\n\n```js\nimport layouts from '@metalsmith/layouts'\n\n// shorthand\nmetalsmith.use(layouts({ transform: 'nunjucks' }))\n\n// same as shorthand\nmetalsmith.use(\n  layouts({\n    directory: 'layouts' // === path.join(metalsmith.directory(), 'layouts')\n    transform: jsTransformerNunjucks, // resolved\n    extname: '.html',\n    pattern: '**/*.{njk,nunjucks}*',\n    engineOptions: {}\n  })\n)\n```\n\nIn the transformed file, you have access to `{ ...metalsmith.metadata(), ...fileMetadata }`, so that the following build\n\n```js\nmetalsmith\n  .metadata({ title: 'Default title', nodeVersion: process.version })\n  .use(layouts({ transform: 'handlebars' }))\n```\n\nfor a file:\n\n```yml\n---\ntitle: Article title\nlayout: default.hbs\n---\n```\n\nwith layout:\n\n```hbs\n<h1>{{title}}</h1>Node v{{nodeVersion}}\n```\n\nwould render `<h1>Article title</h1>Node v16.20`.\n\n### Options\n\nIn most cases, you will only need to specify the `transform`, `default`, and `engineOptions` option.\n\n- transform (`string|JsTransformer`): **required**. Which transformer to use. The full name of the transformer, e.g. `jstransformer-handlebars`, its shorthand `handlebars`, a relative JS module path starting with `.`, e.g. `./my-transformer.js`, whose default export is a jstransformer or an actual jstransformer: an object with `name`, `inputFormats`,`outputFormat`, and at least one of the render methods `render`, `renderAsync`, `compile` or `compileAsync` described in the [jstransformer API docs](https://github.com/jstransformers/jstransformer#api)\n- [extname](#extension-handling) (`string|false|null`): optional. How to transform a file's extensions: `''|false|null` to remove the last `transform.inputFormat` matching extension, `.<ext>` to force an extension rename.\n- [engineOptions](#engineoptions) (`Object<string, any>`): optional. Pass options to the jstransformer that's rendering the files. The default is `{}`.\n- pattern (`string|string[]`): optional. Override default glob pattern matching `**/*.<transform.inputFormats>*`. Useful to limit the scope of the transform by path or glob to a subfolder, or to include files not matching `transform.inputFormats`.\n- default (`string`): optional. The default layout to apply to files matched with `pattern`. If none is given, files matched without defined layout will be skipped. Files whose `layout` is set to `false` will also be skipped.\n- directory (`string`): optional. The directory for the layouts (relative to `metalsmith.directory()`, not `metalsmith.source()`!). Defaults to `layouts`.\n\n#### directory\n\nThe directory path is resolved **relative to** `Metalsmith#directory`, not `Metalsmith#source`.\nIf you prefer having the layouts directory _inside_ the Metalsmith source folder, it is advisable to use `Metalsmith#ignore` to avoid loading the layouts twice (once via Metalsmith and once via the JSTransformer):\n\n```js\nimport layouts from '@metalsmith/layouts'\n\nmetalsmith.ignore('layouts').use(\n  layouts({\n    directory: 'src/layouts'\n  })\n)\n```\n\n#### `engineOptions`\n\nUse `engineOptions` to pass options to the jstransformer that's rendering your templates. For example:\n\n```js\nimport layouts from '@metalsmith/layouts'\n\nmetalsmith.use(\n  layouts({\n    engineOptions: {\n      cache: false\n    }\n  })\n)\n```\n\nWould pass `{ \"cache\": false }` to the used jstransformer.\n\n### Extension handling\n\nBy default layouts will apply smart default extension handling based on `transform.inputFormats` and `transform.outputFormat`.\nFor example, any of the source files below processed through `layouts({ transform: 'handlebars' })` will yield `index.html`.\n\n| source             | output           |\n| ------------------ | ---------------- |\n| src/index.hbs      | build/index.html |\n| src/index.hbs.html | build/index.html |\n| src/index.html.hbs | build/index.html |\n\n### Usage with @metalsmith/in-place\n\nIn most cases `@metalsmith/layouts` is intended to be used after `@metalsmith/in-place`.\nYou can easily share `engineOptions` configs between both plugins:\n\n```js\nimport inPlace from '@metalsmith/in-place'\nimport layouts from '@metalsmith/layouts'\n\nconst engineOptions = {}\nmetalsmith // index.hbs.hbs\n  .use(inPlace({ transform: 'handlebars', extname: '', engineOptions })) // -> index.hbs\n  .use(layouts({ transform: 'handlebars', engineOptions })) // -> index.html\n```\n\n@metalsmith/in-place uses a similar mechanism targeting `transform.inputFormats` file extensions by default.\nThe example requires files ending in `.hbs.hbs` extension, but if you don't like this, you can just have a single `.hbs` extension, and change the in-place invocation to `inPlace({ engineOptions, transform, extname: '.hbs' })` for the same result.\n\n### Debug\n\nTo enable debug logs, set the `DEBUG` environment variable to `@metalsmith/layouts`:\n\n```js\nmetalsmith.env('DEBUG', '@metalsmith/layouts*')\n```\n\nAlternatively you can set `DEBUG` to `@metalsmith/*` to debug all Metalsmith core plugins.\n\n### CLI Usage\n\nTo use this plugin with the Metalsmith CLI, add `@metalsmith/layouts` to the `plugins` key in your `metalsmith.json` file:\n\n```json\n{\n  \"plugins\": [\n    {\n      \"@metalsmith/layouts\": {\n        \"default\": null,\n        \"directory\": \"layouts\",\n        \"engineOptions\": {}\n      }\n    }\n  ]\n}\n```\n\n## Credits\n\n- [Ismay Wolff](https://github.com/ismay) for the current shape of the layouts plugin\n- [Ian Storm Taylor](https://github.com/ianstormtaylor) for creating [metalsmith-templates](https://github.com/segmentio/metalsmith-templates), on which this plugin was based\n- [Rob Loach](https://github.com/RobLoach) for creating [metalsmith-jstransformer](https://github.com/RobLoach/metalsmith-jstransformer), which inspired our switch to jstransformers\n\n## License\n\n[MIT](LICENSE)\n\n[npm-badge]: https://img.shields.io/npm/v/@metalsmith/layouts.svg\n[npm-url]: https://www.npmjs.com/package/@metalsmith/layouts\n[ci-badge]: https://app.travis-ci.com/metalsmith/layouts.svg?branch=master\n[ci-url]: https://app.travis-ci.com/github/metalsmith/layouts\n[metalsmith-badge]: https://img.shields.io/badge/metalsmith-core_plugin-green.svg?longCache=true\n[metalsmith-url]: https://metalsmith.io\n[codecov-badge]: https://img.shields.io/coveralls/github/metalsmith/layouts\n[codecov-url]: https://coveralls.io/github/metalsmith/layouts\n[license-badge]: https://img.shields.io/github/license/metalsmith/layouts\n[license-url]: LICENSE","users":{}}