{"_id":"@burovoordeboeg/component-downloader","_rev":"12-11467ff83852326b9a54d1d06fdfd564","name":"@burovoordeboeg/component-downloader","dist-tags":{"latest":"1.2.6"},"versions":{"1.0.0":{"name":"@burovoordeboeg/component-downloader","version":"1.0.0","keywords":["components","downloader","npm"],"author":{"name":"Justin Streuper","email":"justin@burovoordeboeg.nl"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.0.0","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"bin":{"component-downloader":"component-downloader/index.js"},"dist":{"shasum":"4de82707ad3e47a62feabdfd5c1c5571cc3aef99","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.0.0.tgz","fileCount":2,"integrity":"sha512-gSQxms/x59rPP+Ng7JXvnZT+rK52B+XVlvMZCJXIpcaRrX611UWQLX2vjANVggY/3N6WnOu1Jgl6tPuA2Fjh9g==","signatures":[{"sig":"MEUCIQCM2FSkSIjN1KCTc3KOmVVo3L7zsgJKJNhdI15f+Ru3mAIgd0PAWKJpc4WXZlaaGqSSDfQaqGQ3W6SUnNdSu4kql+8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8640},"main":"index.js","gitHead":"74a7f8fb747cdaa6326f12132b3c5b07cb31e3a7","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"_npmVersion":"10.5.0","description":"A script to download and extract components and handle dependencies","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^1.7.4","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.0.0_1724068937579_0.8411524658785243","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@burovoordeboeg/component-downloader","version":"1.0.1","_id":"@burovoordeboeg/component-downloader@1.0.1","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"bin":{"component-downloader":"index.js"},"dist":{"shasum":"708d6477296ba37b1351290b9e9c45cc266e1b91","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.0.1.tgz","fileCount":2,"integrity":"sha512-hIt+GzUU+8Y2gS7Q6bISEmKmtNWAGMWQabh56Sj2UIlK3xeigZDuNyf73K4kHNglf+ea11IOVVwMKV4zGzHuTA==","signatures":[{"sig":"MEUCIQDAAAQ2UV9IK7AKEeG43cTkYKL4MDaa95TwH1Ahy8i4CgIgf+8GDM54u0OOxid9rORnd6Vxrzk/VuAEIX7y3tOwg9o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8395},"main":"index.js","gitHead":"74a7f8fb747cdaa6326f12132b3c5b07cb31e3a7","_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.0.1_1724069701398_0.1390324380916721","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@burovoordeboeg/component-downloader","version":"1.0.2","_id":"@burovoordeboeg/component-downloader@1.0.2","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"bin":{"component-downloader":"index.js"},"dist":{"shasum":"551369b3a3bf2d6ba5f3c582397595d3ad8d4382","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.0.2.tgz","fileCount":2,"integrity":"sha512-QVQTfGRBo9c/+q1qF/orhJvbDJXiwdwN/amkUe42aA1VYiK0xdcXtpxG4FSqe54kntidEg6SJyYqqycOLWj9/g==","signatures":[{"sig":"MEUCIEgEfFEqlCBxPoJyEKweoG3/8rr+PJSnc3PmH0Qlj/+7AiEA7c8jRurNk7p9jHTFVD/UURWRRbqZtMQewEwbMeLSNrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8696},"main":"index.js","gitHead":"74a7f8fb747cdaa6326f12132b3c5b07cb31e3a7","_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.0.2_1724070109197_0.6342557970489948","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@burovoordeboeg/component-downloader","version":"1.0.3","_id":"@burovoordeboeg/component-downloader@1.0.3","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"bin":{"component-downloader":"index.js"},"dist":{"shasum":"f4279811a6e9f493c3fd23009112b6e9686c12f0","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.0.3.tgz","fileCount":3,"integrity":"sha512-7FAJj4mKZuEV01GbmEeRyW94Ihm4SeNIDiVZ5ketzbXuHjV9gJdGI4ME5Vl1vbXdap9Ha/yYRqeRtAV7eipCag==","signatures":[{"sig":"MEYCIQCFo7SApqo1MG4Bt8agYRsoARc5sL8nrM6zjvQCo9sbYAIhAOnj/mDgXKAzTqa846Eh+oBYB1qLqEIN9SKqtoPmPHPu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11258},"main":"index.js","gitHead":"74a7f8fb747cdaa6326f12132b3c5b07cb31e3a7","_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.0.3_1724070441386_0.4436433127040278","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@burovoordeboeg/component-downloader","version":"1.0.4","_id":"@burovoordeboeg/component-downloader@1.0.4","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"bin":{"component-downloader":"index.js"},"dist":{"shasum":"2d89d8d62ef03aec71a15b8ad18dd694a6148aa9","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.0.4.tgz","fileCount":3,"integrity":"sha512-/+sKXc89sq6sAMgw8YxL/UqcAYu13Qsyq97KXB6X2hsmczq3FhK1hL84Fky0znlfaZkL2ORgMyAVfjtcWiTk5Q==","signatures":[{"sig":"MEUCICKp5QDs+jkl1/fcNg3FTlATcwkWyavHKlYkl96l0w14AiEAwuMAF+CzVDlV4Kd1WoxeyEgugARBFPhTzey4PBlCOi8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11258},"main":"index.js","gitHead":"74a7f8fb747cdaa6326f12132b3c5b07cb31e3a7","_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.0.4_1724070551922_0.5146111435215164","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@burovoordeboeg/component-downloader","version":"1.2.0","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.0","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"6a7385092e53ea34b196b7822795c16267aae9c6","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.0.tgz","fileCount":8,"integrity":"sha512-sn8JrsGjnysifz37ZeJZ2xFsux4dAWgoT3h4tturj7zOT+4t0rBVkkqNQVyOECkggQvqIJfyyi+7OmB1TKS3MA==","signatures":[{"sig":"MEUCIQD8RhSfvM5sz+foqkehlurXd1P8NW80JvNxOLdn4PO2ywIgeJLX22pV6B422n/b/4mRsCGTbt2erlyHRwDBXiALHu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15663},"main":"src/index.js","gitHead":"d58ed08c5fb77b800919722aa758696c7e6b0a52","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","unzipper":"^0.10.11"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.0_1726496067416_0.7556625163603217","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@burovoordeboeg/component-downloader","version":"1.2.1","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.1","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"2412f585b763882c64243dcc8b99778178b732ad","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.1.tgz","fileCount":8,"integrity":"sha512-3azkbaN1FUYWfbn80eaddqApeTtqPIE8RUVBhakLRMzXYpayZwmUlihEjZ6b+UJ+FZYGk3nxLFB27I0ytbWuEA==","signatures":[{"sig":"MEYCIQC8X27D8rRwKPfpXhCT0wrUz64rg+jrvooZEKyFstFQ5QIhAMjLDSZ6z5eT/uMHPGguX1seAj+t1M0HuNnpQsEsHPHr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15731},"main":"src/index.js","gitHead":"ce42e530ca64b23bb4b80e9d0b96211e804f5681","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","extract-zip":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.1_1728636163670_0.31573416658592524","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@burovoordeboeg/component-downloader","version":"1.2.2","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.2","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"51f360f6369f84c472339b198c40e4ddbd5e9c89","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.2.tgz","fileCount":8,"integrity":"sha512-D7qbMS4nu6M0bCMYHBewHkBfy2ojlrrrDTtJtuXfx7Ju78PNATC+BjFKgdXZBpZ1EnF3IHLIuXt9GyMJDu+zUw==","signatures":[{"sig":"MEYCIQDB5w8v/A5rD38pgYEALP30Bj82IWCj34C16eJkAEwhIwIhAJhZRYWbFXY2tLJ0F3uFrLF5JowvQ9jB72Zt+qab37Ge","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15693},"main":"src/index.js","gitHead":"2c19c4c9d0b5680c6d7f3419376fd206e923fec9","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","extract-zip":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.2_1728636318463_0.360542460469335","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@burovoordeboeg/component-downloader","version":"1.2.3","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.3","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"375f1a6c87f93b536fef72aa67752115464c6cbe","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.3.tgz","fileCount":8,"integrity":"sha512-mgMljGijNU9j/LtG4VncIbh+Fw32dID6/lB5/nw2dl1SNb9hAjupHSTNkzbo5XKrwpxeiCTWoYAilX/7gnFsEg==","signatures":[{"sig":"MEUCIQDzSebKmYGoDKyJDZLRQ6gb/L9TFXYeMZJ/8WDqbdOlIgIgTZtjuJ6XjRfLyKcXmiFzWx6EumgHwZhgoCL2r/ket9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18184},"main":"src/index.js","gitHead":"bab8f7613394498fa0e2898acbd04f1cb8ec1b03","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","extract-zip":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.3_1728636553738_0.8117076393818117","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"@burovoordeboeg/component-downloader","version":"1.2.4","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.4","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"9f031521ba2ce2b3d1d10e147e2f7fb8d20ec1ea","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.4.tgz","fileCount":8,"integrity":"sha512-0ZCZRvK+S/N9j6ivHdxVsFxiInAgvgJ12PX/QmhBIxM5snekiq8EHZO+rS3BLKsxuANJred4Q4bohFECjmWfaA==","signatures":[{"sig":"MEYCIQCp2WUrsmKC+Z2HZjah+TRsK9gnVUhHaoK/RNz+FsJtpAIhALTuaSJbHn0f/wVBAK0W/Jjpr9+NMjdH4MSQfj6G+8YD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19717},"main":"src/index.js","gitHead":"c5c3f94a64d1b62f9f5fbb74a10587c1ec1d45e2","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","extract-zip":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.4_1728636871664_0.24600084833539482","host":"s3://npm-registry-packages"}},"1.2.5":{"name":"@burovoordeboeg/component-downloader","version":"1.2.5","author":{"name":"Buro voor de Boeg"},"license":"ISC","_id":"@burovoordeboeg/component-downloader@1.2.5","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"bin":{"component-downloader":"src/index.js"},"dist":{"shasum":"ee0cf490cbd1b5c43791905389a2de6ecedec14a","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.5.tgz","fileCount":8,"integrity":"sha512-9uscmhUanOGeTvALV0H3/TNRnjhcP3NO+g8rqUiyQe2HIdsb98QK7udx7vDNxZZhUd12d4eiVe9sOnegcpYo3g==","signatures":[{"sig":"MEMCICoQne+6JlHF529BBLF7JRJhy4s2OMZmIlL0n7i6vkcFAh8I6n7Ity1nv6eAvjSBFrF+Nbi882ibHBifSPm1MNL+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20555},"main":"src/index.js","gitHead":"ebf2424478285b00ebc525494825139392ef16d5","scripts":{"start":"node src/index.js","require":"node src/index.js"},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"repository":{"url":"git+https://github.com/burovoordeboeg/components-library.git#main","type":"git"},"_npmVersion":"10.5.0","description":"Component downloader for blocks and modules","directories":{},"_nodeVersion":"21.7.1","dependencies":{"axios":"^0.21.1","fs-extra":"^10.0.0","extract-zip":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/component-downloader_1.2.5_1728637338938_0.14215514103168392","host":"s3://npm-registry-packages"}},"1.2.6":{"name":"@burovoordeboeg/component-downloader","version":"1.2.6","description":"Component downloader for blocks and modules","main":"src/index.js","bin":{"component-downloader":"src/index.js"},"dependencies":{"axios":"^1.8.4","extract-zip":"^2.0.0","fs-extra":"^10.0.0"},"scripts":{"start":"node src/index.js","require":"node src/index.js"},"repository":{"type":"git","url":"git+https://github.com/burovoordeboeg/components-library.git#main"},"author":{"name":"Buro voor de Boeg"},"license":"ISC","bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","_id":"@burovoordeboeg/component-downloader@1.2.6","gitHead":"19c597bfd7f136c52f885afd79bb02b2d4376cbb","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-QixTmnyFbp4BLkWhQxi0vtncI5uUMRN0kSivLPBDd8TsP1lI0sb1PUhrOVVl8YzsDO3GhYwnnQcNhbEvirHw9w==","shasum":"55347a8c1a1d37546dea4bd01a27aead01f0194a","tarball":"https://registry.npmjs.org/@burovoordeboeg/component-downloader/-/component-downloader-1.2.6.tgz","fileCount":8,"unpackedSize":20554,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICZiiU+yxLOyVn7PYL3tYqUaM5L3woUWkEDDuDWlt4DCAiEA3WUz+LhP0afvKhYb6d77vVlzD7p8ILRpNFTc6on3aOU="}]},"_npmUser":{"name":"jstreuper","email":"justin@burovoordeboeg.nl"},"directories":{},"maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/component-downloader_1.2.6_1742463036151_0.915296874615577"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-19T12:02:17.459Z","modified":"2025-03-20T09:30:36.565Z","1.0.0":"2024-08-19T12:02:17.714Z","1.0.1":"2024-08-19T12:15:01.530Z","1.0.2":"2024-08-19T12:21:49.358Z","1.0.3":"2024-08-19T12:27:21.576Z","1.0.4":"2024-08-19T12:29:12.065Z","1.2.0":"2024-09-16T14:14:27.574Z","1.2.1":"2024-10-11T08:42:43.846Z","1.2.2":"2024-10-11T08:45:18.633Z","1.2.3":"2024-10-11T08:49:13.924Z","1.2.4":"2024-10-11T08:54:31.854Z","1.2.5":"2024-10-11T09:02:19.132Z","1.2.6":"2025-03-20T09:30:36.370Z"},"bugs":{"url":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader/issues"},"author":{"name":"Buro voor de Boeg"},"license":"ISC","homepage":"https://github.com/burovoordeboeg/components-library/tree/main/component-downloader#readme","repository":{"type":"git","url":"git+https://github.com/burovoordeboeg/components-library.git#main"},"description":"Component downloader for blocks and modules","maintainers":[{"name":"jstreuper","email":"justin@burovoordeboeg.nl"}],"readme":"\n# Component Downloader\n\nThe **Component Downloader** is a utility script designed to fetch and extract specific blocks, modules, and dependencies for use in your project from the [Buro voor de Boeg Components Library](https://components.burovoordeboeg.nl).\n\n## What It Does\n\nThis script allows you to:\n\n- Download blocks and modules directly from the components library.\n- Extract and manage dependencies (such as Twig templates) for each downloaded component.\n- Ensure that blocks and modules are downloaded only if they don't already exist in your project, preventing accidental overwrites.\n\n## Usage\n\n### Install\n\nFirst, ensure the package is installed:\n\n```bash\nnpm install @burovoordeboeg/component-downloader\n```\n\n### Usage Command\n\nYou can invoke the downloader using npm scripts. Here’s an example of how to add it to your `package.json`:\n\n```json\n\"scripts\": {\n  \"require\": \"component-downloader\"\n}\n```\n\nOnce added, you can download blocks or modules using the following command:\n\n```bash\nnpm run require blocks/block-name\n```\n\nor\n\n```bash\nnpm run require modules/module-name\n```\n\nReplace `block-name` or `module-name` with the actual name of the block or module you want to download.\n\n### Example\n\nTo download a block named `cta`, run the following command:\n\n```bash\nnpm run require blocks/cta\n```\n\nThis will fetch the `cta` block and any of its dependencies, ensuring that no existing files are overwritten.\n\n## Features\n\n- **Prevents Overwrites:** If a block or module already exists in your project, the script will abort the download to prevent overwriting files.\n- **Dependency Management:** The script scans the Twig templates for `extends` and `include` statements, downloading any missing dependencies.\n- **Automatic Cleanup:** In the event of a failed download, the script will clean up any partially created files or directories.\n\n## Components Library\n\nThe blocks and modules are fetched from the [Buro voor de Boeg Components Library](https://components.burovoordeboeg.nl). You can explore the available blocks and modules there.\n\n## Error Handling\n\nThe script handles a variety of errors, including:\n\n- **404 Not Found:** If the block or module doesn’t exist on the server, the script will report this and stop.\n- **Network Issues:** If the server is unreachable, the script will report the issue.\n- **Extraction Errors:** If there’s a problem during the extraction of the ZIP file, the script will clean up any incomplete downloads.\n\n## License\n\nMIT License\n\n## Author\n\nJustin Streuper (justin@burovoordeboeg.nl) - Buro voor de Boeg","readmeFilename":"README.md"}