{"_id":"salvattore","_rev":"5-2f0fa294fb263ae238c743932982501f","name":"salvattore","description":"A jQuery Masonry alternative with CSS-driven configuration","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.8":{"name":"salvattore","version":"1.0.8","description":"A jQuery Masonry alternative with CSS-driven configuration","homepage":"http://salvattore.com/","repository":{"type":"git","url":"git+https://github.com/rnmp/salvattore.git"},"bugs":{"url":"https://github.com/rnmp/salvattore/issues"},"license":"MIT","author":{"name":"Rolando Murillo","email":"rolando@bandd.co"},"contributors":[{"name":"Giorgio Leveroni","email":"giorgio.m.leveroni@gmail.com"}],"keywords":["grid","layout","browser","masonry"],"main":"./dist/salvattore.js","directories":{"example":"examples"},"scripts":{"test":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"dependencies":{},"devDependencies":{"gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-size":"^1.2.3","gulp-uglify":"^1.0.2","gulp-umd":"^0.1.3","jshint-stylish":"^2.0.0","karma":"^0.12.33","karma-expect":"^1.1.0","karma-fixture":"^0.2.5","karma-html2js-preprocessor":"^0.1.0","karma-mocha":"^0.1.10","karma-mocha-reporter":"^1.0.2","karma-phantomjs-launcher":"^0.1.4"},"gitHead":"454ed2eac0b7d814ecd36b6e427282e088a72f5a","_id":"salvattore@1.0.8","_shasum":"8da4ec49623484740539461bb124c58a11423918","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.3","_npmUser":{"name":"mariusrumpf","email":"marius@mariusrumpf.de"},"dist":{"shasum":"8da4ec49623484740539461bb124c58a11423918","tarball":"https://registry.npmjs.org/salvattore/-/salvattore-1.0.8.tgz","integrity":"sha512-dTeqkfZwIwzkrNn7sHT8UQCJRVx+I6xNOAKBFwQ7EGrHkextrFDVdGBWEMEhebmCUC/b4DrOxorF2n5xa7PPnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxgE+j6SJxaQ7UDVKACVWTGbN8bBhtowDNUE8WiKrlpAIhAIVTp4gHfdtboHfF/eV8q9mac3gsOSiX3NgzkCNcjEPL"}]},"maintainers":[{"name":"mariusrumpf","email":"marius@mariusrumpf.de"}],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.9":{"name":"salvattore","version":"1.0.9","description":"A jQuery Masonry alternative with CSS-driven configuration","homepage":"http://salvattore.com/","repository":{"type":"git","url":"git+https://github.com/rnmp/salvattore.git"},"bugs":{"url":"https://github.com/rnmp/salvattore/issues"},"license":"MIT","author":{"name":"Rolando Murillo","email":"rolando@bandd.co"},"contributors":[{"name":"Giorgio Leveroni","email":"giorgio.m.leveroni@gmail.com"}],"keywords":["grid","layout","browser","masonry"],"main":"./dist/salvattore.js","directories":{"example":"examples"},"scripts":{"test":"./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"},"dependencies":{},"devDependencies":{"gulp":"^3.8.10","gulp-concat":"^2.4.2","gulp-header":"^1.2.2","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","gulp-size":"^1.2.3","gulp-uglify":"^1.0.2","gulp-umd":"^0.1.3","jshint-stylish":"^2.0.0","karma":"^0.13.1","karma-expect":"^1.1.0","karma-fixture":"^0.2.5","karma-html2js-preprocessor":"^0.1.0","karma-mocha":"^0.1.10","karma-mocha-reporter":"^1.0.2","karma-phantomjs-launcher":"^0.1.4","mocha":"^2.3.3"},"gitHead":"12d858fb1aaf9f6551a941fbe376040e4c6053fe","_id":"salvattore@1.0.9","_shasum":"b75777850cc6f2a690157c8b852aa99fd18a1291","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"mariusrumpf","email":"marius@mariusrumpf.de"},"dist":{"shasum":"b75777850cc6f2a690157c8b852aa99fd18a1291","tarball":"https://registry.npmjs.org/salvattore/-/salvattore-1.0.9.tgz","integrity":"sha512-Erb/XADDNCP06Jif1bZxfjCFYJlpzr5sQIXO8shO/ShwuEPzFtZhfksm7xB/yJXsMcgEo62wYbDqSq49DY452w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHPYmO8WZag6DDKeFsPc1LMZF9rAGEE4nSsilfb7zhXAIgCu2AYF+jw8zxXjQgbuAqisOhkCRiK9sskYLPIWbUCg8="}]},"maintainers":[{"name":"mariusrumpf","email":"marius@mariusrumpf.de"}],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"Salvattore\n==========\n[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/rnmp/salvattore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n[![](http://files.bandd.co/zQf5+)](http://salvattore.com/)\n\nSalvattore is a library agnostic JS script that will help you organize your HTML elements according to the number of columns you specify, like jQuery Masonry.\n\nFeatures\n--------\n* __No requirements:__ Salvattore is a standalone script, it will work right away after being referenced in your HTML page.\n* __Extremely lightweight:__ about 2.7KB (minified and gzipped.)\n* __CSS-driven configuration:__ the number of columns is defined in CSS and the styling is left to the user.\n* __Media queries ready:__ the same parameters can be used inside media queries for better results on different devices.\n* __Wide browser support:__ modern browsers and IE9+\n\n### Upcoming\n* __Balanced columns:__ to keep all columns about the same height.\n\nTo find out more and see it in action, please visit [our website.](http://salvattore.com)\n\nYou can also [follow us](http://twitter.com/salvattorejs) on Twitter.\n\nMethods\n--------------------------\nMethods can be called on the globally exposed `salvattore` object for advanced usage.\n\n```javascript\nvar grid = document.querySelector('#grid');\nvar item = document.createElement('article');\n\nsalvattore.appendElements(grid, [item]);\nitem.outerHTML = 'I’ve been appended!';\n```\n\nMethod | Argument | Description\n------ | -------- | -----------\nappendElements | grid : DOM object, elements: Array of DOM objects | Adds elements to the end of a grid.  \nprependElements | grid : DOM object, elements: Array of DOM objects | Adds elements to a beginning of a grid. _Adds multiple elements one by one before each other, so note the order._\nregisterGrid | grid : DOM object | Adds a new grid to salvattore. Which is initialized automatically then.\nrecreateColumns | grid : DOM object | Removes all the columns from the grid, and adds them again.\nrescanMediaQueries | | Checks stylesheets and selectors for media queries again. Recreates the columns for all grids afterwards.\n\nHow to contribute\n-----------------\nWe use Gulp to add polyfills and minify the script in the `dist/` folder. To make changes to the script itself, please edit `src/salvattore.js` and send us a pull request.\n\n### Share feedback & ideas\nYou can even contribute by using Salvattore and sharing bugs, ideas or solutions on the Issues page.\nProtip: if you're posting a bug please share all the relevant data and ideally a live URL so that we can debug (yeah we do that!)\n","maintainers":[{"name":"mariusrumpf","email":"marius@mariusrumpf.de"}],"time":{"modified":"2023-01-25T17:52:11.430Z","created":"2015-07-08T17:42:41.963Z","1.0.8":"2015-07-08T17:42:41.963Z","1.0.9":"2015-11-05T19:40:23.102Z"},"homepage":"http://salvattore.com/","keywords":["grid","layout","browser","masonry"],"repository":{"type":"git","url":"git+https://github.com/rnmp/salvattore.git"},"contributors":[{"name":"Giorgio Leveroni","email":"giorgio.m.leveroni@gmail.com"}],"author":{"name":"Rolando Murillo","email":"rolando@bandd.co"},"bugs":{"url":"https://github.com/rnmp/salvattore/issues"},"license":"MIT","readmeFilename":"README.md"}