{"_id":"bricks.js","_rev":"21-1e6b59b59cf11f547fed91c2db78f7e2","name":"bricks.js","description":"A blazing fast masonry layout generator for fixed width elements.","dist-tags":{"latest":"1.8.0"},"versions":{"1.0.0":{"name":"bricks.js","version":"1.0.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-core":"*","babel-preset-es2015":"*","babel-plugin-add-module-exports":"*","babelify":"*","browser-sync":"*","browserify":"*","gulp":"*","gulp-header":"*","gulp-sourcemaps":"*","gulp-uglify":"*","lodash.assign":"*","node-notifier":"*","vinyl-buffer":"*","vinyl-source-stream":"*","watchify":"*"},"gitHead":"d524b869f7929a600f17aa9760ca1959510f1eba","_id":"bricks.js@1.0.0","_shasum":"b1d668d1bcb82e5203c006645bffab967821ef5d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"b1d668d1bcb82e5203c006645bffab967821ef5d","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.0.0.tgz","integrity":"sha512-57TzW5bR9H/thqyMwlWgiE0R297rNVr3up43hYfPcFSRbl4lbjrNxyjy4bigivh/p4rN10w7o7p5lQdPnID6xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjgemcG+UtOTj5SeNAJ31hOsoOObjSY44y5tyZWLb13AiBMkmbRBZKpENZ711NJE4FQbuok5SfM6u1kg4zpwD12sg=="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/bricks.js-1.0.0.tgz_1455683744132_0.22796186688356102"},"directories":{}},"1.0.1":{"name":"bricks.js","version":"1.0.1","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-core":"*","babel-preset-es2015":"*","babel-plugin-add-module-exports":"*","babelify":"*","browser-sync":"*","browserify":"*","gulp":"*","gulp-header":"*","gulp-sourcemaps":"*","gulp-uglify":"*","lodash.assign":"*","node-notifier":"*","vinyl-buffer":"*","vinyl-source-stream":"*","watchify":"*"},"gitHead":"19bda93baba9f4178b20104474cb3a6bf15a3601","_id":"bricks.js@1.0.1","_shasum":"97cf43aaf7a609a2ceb1f5bb38addb4da078ba80","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"97cf43aaf7a609a2ceb1f5bb38addb4da078ba80","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.0.1.tgz","integrity":"sha512-aM51dLDCxogTmDrQM5I2kH114ltQM54jGPH1NoJpSaShTJZcXGbVYYmaCvNqjp8X9QP6yJAlmdqdAeu09Wv4NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVLN78qpmUUfcrnaGqnWJYxQ08u7VrTIzyXwaTSkObyAiAGr1o4jtEQl40qGB6iLUSSGedfw1aIgZtZ72QzWySnRA=="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.0.1.tgz_1456805987390_0.5043166957329959"},"directories":{}},"1.1.0":{"name":"bricks.js","version":"1.1.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-core":"*","babel-preset-es2015":"*","babel-plugin-add-module-exports":"*","babelify":"*","browser-sync":"*","browserify":"*","gulp":"*","gulp-header":"*","gulp-sourcemaps":"*","gulp-uglify":"*","lodash.assign":"*","node-notifier":"*","vinyl-buffer":"*","vinyl-source-stream":"*","watchify":"*"},"gitHead":"27b650d6a5a548c4a881931a2e4c9e206d1a9dcb","_id":"bricks.js@1.1.0","_shasum":"8c6d8ae15328daa29dc973b7070edc673ddab1e7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.4.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"8c6d8ae15328daa29dc973b7070edc673ddab1e7","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.1.0.tgz","integrity":"sha512-eVB0zvxUxx/P+JJKQOcBRKDBdTEODO0+vRxhwfzQhTlHbHdXnXUY2fzozabF/S5oQUNFs0nWXQR3zLCPXtOTGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOcUNXsclIrRJvkR9FvoDkc4Ks3ABBDRzervSIXgPvaAIgPkkeBP90Sijcq55UZPhCw57AZkiVcxJdRVhQKbEz1K0="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.1.0.tgz_1457560988917_0.19197511859238148"},"directories":{}},"1.1.1":{"name":"bricks.js","version":"1.1.1","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-core":"*","babel-preset-es2015":"*","babel-plugin-add-module-exports":"*","babelify":"*","browser-sync":"*","browserify":"*","gulp":"*","gulp-header":"*","gulp-sourcemaps":"*","gulp-uglify":"*","lodash.assign":"*","node-notifier":"*","vinyl-buffer":"*","vinyl-source-stream":"*","watchify":"*"},"gitHead":"ffa2f23322a5dac009b09e4c5da41348ddc08795","_id":"bricks.js@1.1.1","_shasum":"3b116a1b001f0b973cddc2a17b3ccf806efa19bf","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.4.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"3b116a1b001f0b973cddc2a17b3ccf806efa19bf","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.1.1.tgz","integrity":"sha512-/25VTjbBthYAtKffKS8cgr901BqJtocEnAzMKsWGu2d53orRJfZfJU1YhRJeIeLIJCX3J/aibKPcQq+F3PkY3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4fecDWmIxtbvdO3pwlfRdPJmpZ9MSQlAZGzeFsFbNwAIhALUBsquDc00jJSSH/FiznKAp7fMT9L5HSQz0jvsW54Ic"}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.1.1.tgz_1457626098676_0.7032419047318399"},"directories":{}},"1.1.2":{"name":"bricks.js","version":"1.1.2","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-core":"*","babel-preset-es2015":"*","babel-plugin-add-module-exports":"*","babelify":"*","browser-sync":"*","browserify":"*","gulp":"*","gulp-header":"*","gulp-sourcemaps":"*","gulp-uglify":"*","lodash.assign":"*","node-notifier":"*","vinyl-buffer":"*","vinyl-source-stream":"*","watchify":"*"},"gitHead":"195760060c1b3f49cb7c7fa4a9b72dfe0c996794","_id":"bricks.js@1.1.2","_shasum":"6ffe1eb231157283e03ca6385949e7866e2c1ea4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"6ffe1eb231157283e03ca6385949e7866e2c1ea4","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.1.2.tgz","integrity":"sha512-TAxcOrUUJwgLqud6p8DQlJDJkTnXeJa/TBLwQqDpb2KzcD85iIjbHPMXVYPE6O7NobrUFRb4vIS6ysaLqSVR1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPwKQSn4mJJQI71lD3sc8oRGGcab2Xl4eIdzyXkz2kvAiB845u7cTO9svijvDl3aYvfZQ/ObfZvEuryRo5z6MzoxA=="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bricks.js-1.1.2.tgz_1460603081756_0.7016035201959312"},"directories":{}},"1.2.0":{"name":"bricks.js","version":"1.2.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"90b11852a28b46452b94a3fff24ddeab9bda5a85","_id":"bricks.js@1.2.0","_shasum":"fcac79f812bcb71ecfec9e6f2b74257f936cefd9","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"fcac79f812bcb71ecfec9e6f2b74257f936cefd9","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.2.0.tgz","integrity":"sha512-cbUg1SJwAx7urVB7OKk7e9VWh9F2WdjiJTo89aZCsZkpqbH/zo8PWGLYK1+K+sUHw1kefGDsdEG0ntyplJQDbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYEeTKDESasYUZLg2UZ2mAueW2gZ+J79vkyA8ElLHkOAiEA3DSh0RTdC+p/AqEWne1dcmEyAsgCJdXZHcdvHjnY48Q="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.2.0.tgz_1462689352385_0.8408215318340808"},"directories":{}},"1.2.1":{"name":"bricks.js","version":"1.2.1","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"GPL-3.0","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.0.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"6b80ff5147c0368593145ce91ea2470cf9385ea3","_id":"bricks.js@1.2.1","_shasum":"00c390eb48420e7189e0cb019b841d7de6c1a924","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"00c390eb48420e7189e0cb019b841d7de6c1a924","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.2.1.tgz","integrity":"sha512-2CstdfZoMoAWWKn1ync4iTGC+S3GdlYSNcxERNRWODMef2VSXFA3QI/rnSfp3jYN4+DBS6fS7bAAO2ifJO0oQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB62aGbBo+5eqpcG4mDIDj+x5rYsI8oACkOV7evVBozgIhANl59zrwJ4rk+Z4Ec1kTHO3547M7/ombx618OPm4LPXq"}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bricks.js-1.2.1.tgz_1462691583825_0.9708165493793786"},"directories":{}},"1.3.0":{"name":"bricks.js","version":"1.3.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"c9dff5a79d16882fc86823a6cee588e75c0215d6","_id":"bricks.js@1.3.0","_shasum":"865b897ceefe7ab34b3604bf5445a1cc2ea860d8","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"865b897ceefe7ab34b3604bf5445a1cc2ea860d8","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.3.0.tgz","integrity":"sha512-Q7o6546kd9KErb1P2mjpcaW+l9/Y3LgW4SShNb1rS/NErmm1+VfvqJkDS8i7ta7bNTGpju+NTA45HWLcJ3YXRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErf9WKb5kAlbYOn6FD3wTUssOlWfr8JtaHNntxiwwUNAiEA/5XRixTBFmegLkDC/TW5Ajbir6n2mf5aQq2q5rSCix8="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.3.0.tgz_1463201472653_0.6548317442648113"},"directories":{}},"1.4.0":{"name":"bricks.js","version":"1.4.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","mkdirp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"8c06c83df486418254b9ffbf742a2e6b69408a4c","_id":"bricks.js@1.4.0","_shasum":"3d21ed37fc082569ba51ce77e1ac363bb07e2af9","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.2.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"3d21ed37fc082569ba51ce77e1ac363bb07e2af9","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.4.0.tgz","integrity":"sha512-ocuBWXUB0pzTPDQxILtwwHkLmJzkUt2c4rpSit6avoiiGBjYQe22jqw+f2rnki0+RoxSuIYkWWehwJVz0Gm5Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5QpG5otRKpjZOUp3nj/1a3K2AlY3NqlrPTd7HH4/I3AiEAz9Hi6al+oBhLzlTQCfiZh9J844Jss86Ekhc0cc8iEUE="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.4.0.tgz_1467694148487_0.470436560921371"},"directories":{}},"1.5.0":{"name":"bricks.js","version":"1.5.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","mkdirp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"09393c0e9332573de3b06651bce269e71df34cac","_id":"bricks.js@1.5.0","_shasum":"aea934f21b9673a1c075dc2db1dfe9547e9c7249","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.2.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"aea934f21b9673a1c075dc2db1dfe9547e9c7249","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.5.0.tgz","integrity":"sha512-SCgJaNmvqusWvkq5bN8cgePTBtbsFDQrt36FLHUVMSi6JHNzeGMZrLHgejp6PcUDZQcY3KZdWqX2E6ptE2FSiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKFB6beUaLshXkwXs9PHsbdlvoecQg/ozVAi+8Sr9uQAiAetlx/dbd5Cl90bbl4naBaJEGQVkd1Zqk4xVXo21FvzA=="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.5.0.tgz_1467695416251_0.09899001778103411"},"directories":{}},"1.6.0":{"name":"bricks.js","version":"1.6.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","mkdirp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"282db518397bcc96a88292fbe879e3720d514cd3","_id":"bricks.js@1.6.0","_shasum":"6cc3d0691a764289be46c94e84e045ecfae13038","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.2.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"6cc3d0691a764289be46c94e84e045ecfae13038","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.6.0.tgz","integrity":"sha512-c0ZBbCCMYeZtv7b0qdT0GjDDrTwRYwfrwceFNwCypLuxXE8TSR7R7kPDVXSF6d4sCRp0HGt8N8eG4vY5XYupzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv6PcnFKsI4Co/sMWemRM45nnpnoZE4L186tatszl8lAIhAP/LtzNzTv/UDWapDYAtGyJOIZgUnM5Byh6wPRlcG+qt"}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.6.0.tgz_1467697563888_0.2769418528769165"},"directories":{}},"1.7.0":{"name":"bricks.js","version":"1.7.0","description":"A blazing fast masonry layout generator for fixed width elements.","homepage":"https://github.com/callmecavs/bricks.js","main":"dist/bricks.min.js","jsnext:main":"src/bricks.js","author":{"name":"Michael Cavalea"},"license":"MIT","scripts":{"site":"git subtree push --prefix site/dist origin gh-pages"},"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.1"},"devDependencies":{"babel-preset-es2015-rollup":"*","babel-plugin-transform-object-rest-spread":"*","browser-sync":"*","del":"*","gulp":"*","mkdirp":"*","node-notifier":"*","rollup":"*","rollup-plugin-babel":"*","rollup-plugin-commonjs":"*","rollup-plugin-node-resolve":"*","rollup-plugin-uglify":"*"},"gitHead":"db913157ae41063b3bface4678e5a020d86092b6","_id":"bricks.js@1.7.0","_shasum":"2863bde2f03cd48d41dcca88bea1a198c839f608","_from":".","_npmVersion":"3.9.6","_nodeVersion":"6.2.1","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"2863bde2f03cd48d41dcca88bea1a198c839f608","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.7.0.tgz","integrity":"sha512-IU3ZIcBZ7vdbCP/UcISPLYE+5xXuAdsDyoGrvE5mh1ukOuOke6YoKJ2BcC+YzrEkI6dTPg09ZpQvfIbeymemBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlg6xSZIIvzpF4hGNHLTwVTYi+kHEu1FYUHO6JT760uAiEAgjZ/HyJK3DdrlORrAF+jLBQfuRme1ecH5G90PGhfl1w="}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.7.0.tgz_1467702581161_0.42827349435538054"},"directories":{}},"1.8.0":{"name":"bricks.js","description":"A blazing fast masonry layout generator for fixed width elements.","main":"dist/bricks.js","module":"dist/bricks.module.js","jsnext:main":"dist/bricks.module.js","version":"1.8.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"author":{"name":"Michael Cavalea","email":"callmecavs@gmail.com","url":"http://callmecavs.com/"},"scripts":{"build":"rollup -c","dev":"rollup -c -w -m inline","lint":"eslint src","prebuild":"rm -rf dist","prepublish":"npm run test","pretest":"npm run build","server":"python -m SimpleHTTPServer 3000","test":"npm run lint"},"keywords":["grid","masonry","layout","packing"],"dependencies":{"knot.js":"^1.1.5"},"devDependencies":{"babel-eslint":"^7.1.1","babel-preset-env":"^1.2.2","eslint":"^3.13.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.0","eslint-plugin-standard":"^2.0.1","rollup":"^0.41.1","rollup-plugin-babel":"^2.7.1","rollup-plugin-node-resolve":"^2.0.0","rollup-watch":"^3.2.2"},"gitHead":"4acf37096a049094337e44b109cb14f187d37ee8","bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"homepage":"https://github.com/callmecavs/bricks.js#readme","_id":"bricks.js@1.8.0","_shasum":"8fdeb3c0226af251f4d5727a7df7f9ac0092b4b2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.4.0","_npmUser":{"name":"callmecavs","email":"callmecavs@gmail.com"},"dist":{"shasum":"8fdeb3c0226af251f4d5727a7df7f9ac0092b4b2","tarball":"https://registry.npmjs.org/bricks.js/-/bricks.js-1.8.0.tgz","integrity":"sha512-XJsIGxoixpMDo/KoLXR+uQizFVGWNAQy1lLoIwXKxm6/Zpd9QQLSUd0otybbK7wjqX23ZvCXFxnIw+uCXJHo0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRTz5wth4KPlTp6bIjvE9SpxjdOIkAhri+mi1nXqi+MwIhAOcZLdQdqBILrXH6DCnwmhaImES3bugIyLMkNtwFm6fh"}]},"maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bricks.js-1.8.0.tgz_1490219243036_0.08240991365164518"},"directories":{}}},"readme":"# Bricks.js\n\n[![Bricks.js on NPM](https://img.shields.io/npm/v/bricks.js.svg?style=flat-square)](https://www.npmjs.com/package/bricks.js) [![Bricks.js Downloads on NPM](https://img.shields.io/npm/dm/bricks.js.svg?style=flat-square)](https://www.npmjs.com/package/bricks.js) [![Standard JavaScript Style](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)\n\n> Momma said, \"Stay patient.\" - Bricks, DJ Carnage\n\nBut you don't need to, because Bricks is **a blazing fast masonry layout generator for fixed width elements**.\n\n* [Demo Page](http://callmecavs.com/bricks.js/)\n\n## Getting Started\n\nFollow these steps:\n\n1. [Install](#install)\n2. [Instantiate](#instantiate)\n3. [Review Parameters](#parameters)\n4. [Review API / Events](#api--events)\n5. **[Review Example Code](https://github.com/callmecavs/bricks.js/tree/master/examples)**\n\n## Install\n\nBricks was developed with a modern JavaScript workflow in mind. To use it, it's recommended you have a build system in place that can transpile ES6, and bundle modules. For a minimal boilerplate that does so, check out [outset](https://github.com/callmecavs/outset).\n\nUsing NPM, install Bricks.js, and add it to your `package.json` dependencies.\n\n```\n$ npm install bricks.js --save\n```\n\nRefer to the [releases](https://github.com/callmecavs/bricks.js/releases) page for version specific information.\n\n## Instantiate\n\nSimply import Bricks, then instantiate it.\n\nIt's recommended that you **assign your Bricks instance to a variable**. Using your instance, you can:\n\n* enable and disable the resize handler\n* add and remove event handlers\n* accommodate dynamically added elements\n\n```es6\n// import Bricks\nimport Bricks from 'bricks.js'\n\n// create an instance\nconst instance = Bricks({\n  // ...\n})\n```\n\nParameters passed to the constructor are detailed below.\n\n## Parameters\n\nNote that all parameters, _except `position`_, are **required**:\n\n* A [container](#container) (node or CSS selector)\n* A [packed](#packed) attribute\n* A [sizes](#sizes) array\n* A [position](#position) boolean (defaulting to `true`)\n\n### container\n\nA node, or CSS selector, that represents the grid wrapper. The _direct children_ of this element must be the grid items.\n\n```es6\n// passing a node\n\nconst instance = Bricks({\n  container: node\n})\n\n// passing a selector (document.querySelector is used to get the node)\n\nconst instance = Bricks({\n  container: '.selector'\n})\n```\n\n### packed\n\nAn attribute added to the grid items after they're positioned within the grid. If the attribute is not prefixed with `data-`, it will be added.\n\n```es6\n// prefixed\n\nconst instance = Bricks({\n  packed: 'data-packed'\n})\n\n// unprefixed\n\nconst instance = Bricks({\n  // becomes: 'data-packed'\n  packed: 'packed'\n})\n```\n\nNote that Bricks uses this attribute internally to avoiding unnecessarily repositioning grid items already in place. It's best to avoid manipulating it.\n\n### sizes\n\nAn array of objects describing the grid's properties at different breakpoints.\n\nWhen defining your sizes, note the following:\n\n* Sizes must be listed **smallest to largest**\n* Sizes must use **`min-width` media queries (any unit)**\n* Width of the grid items at each breakpoint **should be set in your CSS (in px)**\n* The size without the `mq` property is assumed to be your **smallest breakpoint, and must appear first**\n\n```es6\n// mq      - the minimum viewport width (any unit)\n// columns - the number of vertical columns\n// gutter  - the space (in px) between the columns and grid items\n\nconst sizes = [\n  { columns: 2, gutter: 10 },\n  { mq: '768px', columns: 3, gutter: 25 },\n  { mq: '1024px', columns: 4, gutter: 50 }\n]\n\nconst instance = Bricks({\n  sizes: sizes\n})\n```\n\n### position\n\nA boolean, defaulting to `true`, indicating that the grid items should be positioned using the `top` and `left` CSS properties.\n\nIf set to `false`, the grid items will be positioned using the `transform` CSS property.\n\n```es6\n// default ('true')\n// grid items are positioned via the 'top' and 'left' properties\n\nconst instance = Bricks({\n  position: true\n})\n\n// explicitly 'false' (not any falsy value!)\n// grid items are positioned via the 'transform' property\n\nconst instance = Bricks({\n  position: false\n})\n```\n\nPositioning using `transform` is done via `translate3d` for optimal performance. Coupled with a CSS `transition`, this option allows for smoothly animating the grid items into place.\n\n## API / Events\n\nBricks instances are extended with [Knot.js](https://github.com/callmecavs/knot.js), a browser-based event emitter. Use the event emitter syntax to add and remove handlers for the events emitted by the API methods. Review the emitter syntax [here](https://github.com/callmecavs/knot.js#api).\n\nBricks exposes the following methods, and corresponding events:\n\n* [pack](#pack)\n* [update](#update)\n* [resize](#resize)\n\nNote that **all methods, including those from the event emitter, are chainable**.\n\n### .pack()\n\nUsed to pack _all elements_ within the container.\n\n```es6\n// pack ALL grid items\ninstance.pack()\n\n// 'pack' is emitted when ALL items have been packed\ninstance.on('pack', () => {\n  // ...\n})\n```\n\nNote that it should be called when creating your instance, to pack the initial items.\n\n### .update()\n\nUsed to pack _elements without the `packed` attribute_ within the container.\n\n```es6\n// pack NEW grid items\ninstance.update()\n\n// 'update' is emitted when NEW items have been packed\ninstance.on('update', () => {\n  // ...\n})\n```\n\nNote that this is the **preferred method for handling dynamically added items**, because it will only operate on items that have not yet been packed (i.e. don't have the `packed` attribute).\n\n### .resize(flag)\n\nUsed to add or remove the `resize` event handler. It's recommended that you add the resize handler when you create your instance.\n\n```es6\n// add or remove the resize handler\ninstance\n  .resize(true)       // 'true' adds it\n  .resize(false)      // 'false' removes it\n\n// 'resize' is emitted when resizing has resulted in a new matching 'size' object\ninstance.on('resize', size => {\n  // 'size' is the newly matching size object\n  // ...\n})\n```\n\nNote that the resize handler fires the `pack` method **if the resulting screen size matches a size parameter other than the current one**. In this case, the `pack` event will be fired immediately before the `resize` event. Use the `resize` event **only for breakpoint specific code, not code meant for when the grid has been packed**.\n\n## Browser Support\n\nBricks depends on the following browser APIs:\n\n* ES5 array methods: [forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach), [map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), [indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)\n* [requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame)\n* [matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)\n\nConsequently, it supports the following natively:\n\n* Chrome 24+\n* Firefox 23+\n* Safari 6.1+\n* Opera 15+\n* IE 10+\n* iOS Safari 7.1+\n* Android Browser 4.4+\n\nTo support older browsers, consider including [polyfills/shims](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills) for the APIs listed above. There are **no plans to include any in the library**, in the interest of file size.\n\n## Colophon\n\n* Site Design: [Chris Allen](https://dribbble.com/cp_allen)\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT). © 2017 Michael Cavalea\n\n[![Built With Love](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)\n","maintainers":[{"name":"callmecavs","email":"callmecavs@gmail.com"}],"time":{"modified":"2022-06-13T05:06:03.737Z","created":"2016-02-17T04:35:46.432Z","1.0.0":"2016-02-17T04:35:46.432Z","1.0.1":"2016-03-01T04:19:51.088Z","1.1.0":"2016-03-09T22:03:11.503Z","1.1.1":"2016-03-10T16:08:21.166Z","1.1.2":"2016-04-14T03:04:43.608Z","1.2.0":"2016-05-08T06:35:55.148Z","1.2.1":"2016-05-08T07:13:04.869Z","1.3.0":"2016-05-14T04:51:15.213Z","1.4.0":"2016-07-05T04:49:11.081Z","1.5.0":"2016-07-05T05:10:18.526Z","1.6.0":"2016-07-05T05:46:06.264Z","1.7.0":"2016-07-05T07:09:43.587Z","1.7.1":"2016-07-12T05:26:28.905Z","1.8.0":"2017-03-22T21:47:24.910Z"},"homepage":"https://github.com/callmecavs/bricks.js#readme","keywords":["grid","masonry","layout","packing"],"repository":{"type":"git","url":"git+https://github.com/callmecavs/bricks.js.git"},"author":{"name":"Michael Cavalea","email":"callmecavs@gmail.com","url":"http://callmecavs.com/"},"bugs":{"url":"https://github.com/callmecavs/bricks.js/issues"},"license":"MIT","readmeFilename":"README.md","users":{"adrienhobbs":true,"kokoruz":true}}