{"_id":"tinysort","_rev":"12-89cb9eb130e678869b6dc5cb92781d40","name":"tinysort","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","dist-tags":{"latest":"3.2.8"},"versions":{"2.1.2":{"name":"tinysort","filename":"tinysort.min.js","version":"2.1.2","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.js","license":"MIT/GPL","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","dependencies":{},"repository":{"type":"git","url":"https://github.com/Sjeiti/TinySort.git"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"devDependencies":{"grunt":"~0.4.1","grunt-contrib":"~0.7.0","grunt-contrib-jshint":"~0.6.2","grunt-contrib-uglify":"~0.2.2","grunt-contrib-copy":"~0.4.1","grunt-version-git":"~0.2.1","load-grunt-tasks":"~1.0.0","jsdoc":"~3.3.0-alpha11","grunt-contrib-clean":"~0.6.0","mkdirp":"~0.5.0","time-grunt":"~1.0.0","selenium-webdriver":"~2.44.0","chromedriver":"~2.13.0"},"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js"]},"bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@2.1.2","dist":{"shasum":"50860ed59a08d4239e6b0aa6a1e2218afcc2ba7a","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-2.1.2.tgz","integrity":"sha512-g/6XjJuGNT3cCRk7OdCkpk+FSbFxwQntl/r/DXJ3BQJksmklDcmVoIJGG799x/oc8t2PtW1EsVyQybOTKfqmGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1U3ewpaHv95c7HZRzpzMD3okr2kSD4PFrdiJSr8jrNAIgFb5gkn9sMSo1vtK7jxl5JsI/U/A1kd5j2h7XusZyjEU="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"directories":{}},"2.3.6":{"name":"tinysort","filename":"tinysort.min.js","version":"2.3.6","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.js","license":"MIT","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","dependencies":{},"repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"devDependencies":{"express":"^4.13.4","jscs":"^2.11.0","jsdoc":"~3.3.0-alpha11","jsdoc-parse":"^1.2.1","jsdom":"^8.2.0","jshint":"^2.9.1","mkdirp":"~0.5.0","next-version":"^0.9.3","node-qunit-phantomjs":"^1.4.0","open":"0.0.5","promisify-node":"^0.4.0","rimraf":"^2.5.2","serve-static":"^1.10.2","uglify-js":"^2.6.2"},"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js","jquery.tinysort.js","jquery.tinysort.min.js"]},"scripts":{"build":"node task/build test uglify","jscs":"jscs ./src/","jshint":"jshint ./src/","uglify":"node task/uglify","version":"next-version package.json bower.json src/tinysort.js src/jquery.tinysort.js src/tinysort.charorder.js","test":"node task/test","doc":"node task/jsdoc"},"gitHead":"2fd78da12f832269b0c9e62dadc8af273c459374","bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@2.3.6","_shasum":"32d940e0b568a3859ea0f2c5dc8a87fab2b478aa","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"dist":{"shasum":"32d940e0b568a3859ea0f2c5dc8a87fab2b478aa","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-2.3.6.tgz","integrity":"sha512-7//XvB7WkECK8mmDkek5KRnfm7W7rnhqz0Opmz4PpNsJ4ESukFoREP5CUv5GIcBIPAmcrGVIVUC3Y7qwJD1Rww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSJfscHGjXtPh03lmm6tBdUHpFnRn5PRm0qWQ1UPHM/wIgIS35gv/DpXoyFk69dfGez7LdzHgi597MD4Otsgo8Rgs="}]},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tinysort-2.3.6.tgz_1461359262993_0.8917074999772012"},"directories":{}},"3.2.4":{"name":"tinysort","filename":"tinysort.min.js","version":"3.2.4","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.js","license":"MIT","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"scripts":{"dist:main":"npm run copy:main && npm run js","copy":"npm run copy:dist && npm run copy:img","copy:src":"copyfiles src/* dist -f","copy:dist":"copyfiles dist/* distdoc","copy:img":"copyfiles doc/style/logo.* doc/style/*.ico distdoc","copy:test":"copyfiles src/* test/dist -f","js":"npm run js:main && npm run js:charorder && npm run js:jquery","js:main":"babel src/tinysort.js --out-file dist/tinysort.min.js --presets=es2015,stage-0,minify","js:charorder":"babel src/tinysort.charorder.js --out-file dist/tinysort.charorder.min.js --presets=es2015,stage-0,minify","js:jquery":"babel src/jquery.tinysort.js --out-file dist/jquery.tinysort.min.js --presets=es2015,stage-0,minify","js:watch":"chokidar \"src/*.js\" -c \"npm run js && npm run copy:test\"","js:test":"webpack --config webpack.config.test.js","js:test:watch":"chokidar \"test/**/!(*.min).js\" -c \"npm run js:test\"","js:doc":"webpack --config webpack.config.js","js:doc:watch":"chokidar \"doc/**/*.js\" -c \"npm run js:doc\"","lint":"npm run lint:src && npm run lint:doc && npm run lint:test","lint:src":"eslint src/*.js --fix","lint:doc":"eslint doc/js/*.js --fix","lint:test":"eslint test/test-*.js --fix","doc":"npm run copy && npm run html && npm run css && npm run js:doc","html":"node task/doc distdoc","html:watch":"chokidar \"doc/**/*.html\" -c \"npm run html\"","css":"npm run css:less && npm run css:prefix && npm run css:minify","css:less":"lessc doc/style/screen.less distdoc/style/screen.css","css:prefix":"postcss distdoc/style/screen.css --use autoprefixer -d distdoc/style/","css:minify":"postcss distdoc/style/screen.css --use cssnano -d distdoc/style/","css:watch":"chokidar \"doc/**/*.less\" -c \"npm run css\"","version":"next-version package.json bower.json src/tinysort.js src/jquery.tinysort.js src/tinysort.charorder.js tinysort.nuspec","serve:doc":"node task/serve distdoc 8899","serve:test":"node task/serve test 8877"},"dependencies":{"@emmetio/expand-abbreviation":"^0.7.1"},"devDependencies":{"autoprefixer":"^8.6.5","babel-cli":"^6.26.0","babel-core":"^6.24.1","babel-loader":"^7.1.5","babel-preset-es2015":"^6.24.1","babel-preset-minify":"^0.4.3","babel-preset-stage-0":"^6.24.1","body-parser":"^1.17.1","bootstrap":"^3.3.7","chokidar-cli":"^1.2.0","copyfiles":"^2.0.0","cssnano":"^4.0.0","eslint":"^3.19.0","express":"^4.16.3","jsdoc-api":"^4.0.3","jsdom":"^8.2.0","less":"^3.5.2","marked":"^0.4.0","mkdirp":"^0.5.1","ncp":"^2.0.0","next-version":"^0.9.3","node-qunit-phantomjs":"^1.4.0","open":"0.0.5","postcss-cli":"^5.0.1","rimraf":"^2.6.1","serve-static":"^1.13.2","webpack":"^4.15.1","webpack-cli":"^3.0.8"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js","jquery.tinysort.js","jquery.tinysort.min.js"]},"gitHead":"1ed1bb0d3123a71f260e7f4e70f4e604dfe066a7","bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@3.2.4","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"dist":{"integrity":"sha512-ZtY+zwekHYEJbazRuI1t990aAqetYFU5K6XCeEpwKQFL7PqK/dO9c+j+CsX2dPUtuxYTZmE0YBa4GJO3dl0cqQ==","shasum":"627c0bfac2398ddb003a86756cae3965008751aa","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-3.2.4.tgz","fileCount":63,"unpackedSize":651416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCOwfCRA9TVsSAnZWagAAWPUP/08Wvk+O0dr9AxHu2nYk\nMROfB3zRHP90kmZ65EBKUQGF6/n0iE3RjYfWb8kA0xnhBdiWfq6JiUI4qeE0\n/0x6HJIgsELWVjffpSm7tUqNmz25T07xwuoj2FPdaJ9eWNVUOtQNBlWEFquJ\ns8PGhv/JYbLz134Ln9YXy4pY9G+2aGkVz6aAH5LCHbWy2r4Dsk/G2vdO6yKl\nSmd+v8bAAzx3dQvFqWUgts2UdrBl1EMSGiGmnstGwa+bLG6iZlcR4xKxwyxm\nmj2+TddQm52Th0dSZ2l9QTe22AGEmgz3W71cXisl6NO0oREjJwxb+Cj3eaVk\n3c+3P1XlFRqg10+FVe//CtYXUN/ui+F6zUr3zS6JOgJcgnrMQDadOisrZfZ8\nE6dwAh4Yx07V3MpeJy69GoAli+LCxMKtYxLqWBDCZIafRqVikavfBxK7Ksql\nTECm/nQvotpBTpoqBQeK+2LRUVZg6Ynl7M3yxG1QFrHYBTF1itn9JUOfV6ut\n/r6LXwjCFMuWAtYvipOPICDVbEpiC6EzUkDJ9+jd26lE1XnmcDfq3MVOHhMO\ni4Qqy/ITpLg/e7jdNcXMsW7MyKCyAo1aaVeyu2TuCUcvZWByjTvxHqt1T67w\nYTKPQ/eklTUOAUyyBe/MehnHZavoWo3ycp+QH7YLmXzNzX/R4VrwEhL8k4+V\nTfEk\r\n=QebT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi07uVO61KDgxG56kLr1SF1DecCHyv2dlEWYD9WioQ0AIhANrsbiDhFr3VRQKsm5bi6ynzTxKjJJLpA6bcVJLc781P"}]},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinysort_3.2.4_1544088606221_0.8592508658088385"},"_hasShrinkwrap":false},"3.2.5":{"name":"tinysort","filename":"tinysort.min.js","version":"3.2.5","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.js","license":"MIT","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"scripts":{"dist:main":"npm run copy:main && npm run js","copy":"npm run copy:dist && npm run copy:img","copy:src":"copyfiles src/* dist -f","copy:dist":"copyfiles dist/* distdoc","copy:img":"copyfiles doc/style/logo.* doc/style/*.ico distdoc","copy:test":"copyfiles src/* test/dist -f","js":"npm run js:main && npm run js:charorder && npm run js:jquery","js:main":"babel src/tinysort.js --out-file dist/tinysort.min.js --presets=es2015,stage-0,minify","js:charorder":"babel src/tinysort.charorder.js --out-file dist/tinysort.charorder.min.js --presets=es2015,stage-0,minify","js:jquery":"babel src/jquery.tinysort.js --out-file dist/jquery.tinysort.min.js --presets=es2015,stage-0,minify","js:watch":"chokidar \"src/*.js\" -c \"npm run js && npm run copy:test\"","js:test":"webpack --config webpack.config.test.js","js:test:watch":"chokidar \"test/**/!(*.min).js\" -c \"npm run js:test\"","js:doc":"webpack --config webpack.config.js","js:doc:watch":"chokidar \"doc/**/*.js\" -c \"npm run js:doc\"","lint":"npm run lint:src && npm run lint:doc && npm run lint:test","lint:src":"eslint src/*.js --fix","lint:doc":"eslint doc/js/*.js --fix","lint:test":"eslint test/test-*.js --fix","doc":"npm run copy && npm run html && npm run css && npm run js:doc","html":"node task/doc distdoc","html:watch":"chokidar \"doc/**/*.html\" -c \"npm run html\"","css":"npm run css:less && npm run css:prefix && npm run css:minify","css:less":"lessc doc/style/screen.less distdoc/style/screen.css","css:prefix":"postcss distdoc/style/screen.css --use autoprefixer -d distdoc/style/","css:minify":"postcss distdoc/style/screen.css --use cssnano -d distdoc/style/","css:watch":"chokidar \"doc/**/*.less\" -c \"npm run css\"","version":"next-version package.json bower.json src/tinysort.js src/jquery.tinysort.js src/tinysort.charorder.js tinysort.nuspec","serve:doc":"node task/serve distdoc 8899","serve:test":"node task/serve test 8877"},"dependencies":{"@emmetio/expand-abbreviation":"^0.7.1"},"devDependencies":{"autoprefixer":"^8.6.5","babel-cli":"^6.26.0","babel-core":"^6.24.1","babel-loader":"^7.1.5","babel-preset-es2015":"^6.24.1","babel-preset-minify":"^0.4.3","babel-preset-stage-0":"^6.24.1","body-parser":"^1.17.1","bootstrap":"^3.3.7","chokidar-cli":"^1.2.0","copyfiles":"^2.0.0","cssnano":"^4.0.0","eslint":"^3.19.0","express":"^4.16.3","jsdoc-api":"^4.0.3","jsdom":"^8.2.0","less":"^3.5.2","marked":"^0.4.0","mkdirp":"^0.5.1","ncp":"^2.0.0","next-version":"^0.9.3","node-qunit-phantomjs":"^1.4.0","open":"0.0.5","postcss-cli":"^5.0.1","rimraf":"^2.6.1","serve-static":"^1.13.2","webpack":"^4.15.1","webpack-cli":"^3.0.8"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js","jquery.tinysort.js","jquery.tinysort.min.js"]},"gitHead":"e0c85226a7fd7a863406c3af5daf051517cb0851","bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@3.2.5","_npmVersion":"6.4.1","_nodeVersion":"8.11.3","_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"dist":{"integrity":"sha512-NZ4DNhgYwxxhMVFboZf/thL4DveVSy7F8lSip+KRI6bjg4BM28pqLhn9sMuq4t0WJ8R79lNhP6G4x2BgJ6calQ==","shasum":"8698bfab007dc6e88ba5cb33ab6b36d3025686f4","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-3.2.5.tgz","fileCount":63,"unpackedSize":651336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCiwkCRA9TVsSAnZWagAA+DcP+wZ2vU4vIzpsNjxQYbnk\nsURyESfBH+Yl0FG3CdlLYOBOHvqq7S+mCjufG13Kr50P90OdqBS+YTRckZaO\nlDnnLaAvhoPwwf6fMlCWzLm6y2C/rkAHIdykXPvonG+KJxI7cGTlO6bdjZE1\nx54UjT4e/fN6Ck2dpTTTZ4SZLdPXtC9RihFzPNhcUCPpqxN2CzT5ypbkqbbX\nNOOyPXd3jLpwz9yoARC6Ezx49o19y/sWsJgo26dNzoSK1ZPGPlsDAB7T1iWn\ntIYjpEvJDZXM9VEa42vPElS8dRC/xNzESkN3FXZiWxXUmq9K4UDoYJNeLf4m\n8PxRVO7hhLA/XWrthxAKsQyk0zGaySjO+Ls6rs+6fPp7q9kmR8cM9u0Qcnd7\n5AeDMMLAUck/PDCe7YA5MaZr4uHqeAFDzjKVaUU2xq4otkOtCvQ+iEeiUefU\nBr9F6ehYFj474H9zzLNh584kVAalcff1B1aEbNL2zSQB+gdPha+IlCFQacvp\naeu2FL98rRibAfVNA8Uf1sfRTvxsi3DdrxBhlEBnp1F5Ur3eVNzOGM8aCxoo\nuz+cpJe1zy0xmbsAqHY/rgMV9yNonZoAiKrgN9CDNdGI5j6i+lZ2wmb9aqSN\nLSgh5ILelIUl/OWUJAECa8zV4DO2miMCthRtpgkxOllP5xSt5RIwgjDGYjVe\nTr56\r\n=A9ey\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICN+ert5S+RrGTQlvhgR0KCVDXTYD7sqBbn/MvuIFF/kAiEAxBHdlWX1dcGLUybqnUpr6z/0ZRBrBeeR1nabXDnanvU="}]},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinysort_3.2.5_1544170532294_0.22831354222656897"},"_hasShrinkwrap":false},"3.2.7":{"name":"tinysort","filename":"tinysort.min.js","version":"3.2.7","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.min.js","license":"MIT","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"scripts":{"dist:main":"npm run copy:src && npm run js","copy":"npm run copy:dist && npm run copy:img","copy:src":"copyfiles src/* dist -f","copy:dist":"copyfiles dist/* distdoc","copy:img":"copyfiles doc/style/logo.* doc/style/*.ico distdoc","copy:test":"copyfiles src/* test/dist -f","js":"npm run js:main && npm run js:charorder && npm run js:jquery","js:main":"babel src/tinysort.js --out-file dist/tinysort.min.js --presets=es2015,stage-0,minify","js:charorder":"babel src/tinysort.charorder.js --out-file dist/tinysort.charorder.min.js --presets=es2015,stage-0,minify","js:jquery":"babel src/jquery.tinysort.js --out-file dist/jquery.tinysort.min.js --presets=es2015,stage-0,minify","js:watch":"chokidar \"src/*.js\" -c \"npm run js && npm run copy:test\"","js:test":"webpack --config webpack.config.test.js","js:test:watch":"chokidar \"test/**/!(*.min).js\" -c \"npm run js:test\"","js:doc":"webpack --config webpack.config.js","js:doc:watch":"chokidar \"doc/**/*.js\" -c \"npm run js:doc\"","lint":"npm run lint:src && npm run lint:doc && npm run lint:test","lint:src":"eslint src/*.js --fix","lint:doc":"eslint doc/js/*.js --fix","lint:test":"eslint test/test-*.js --fix","doc":"npm run copy && npm run html && npm run css && npm run js:doc","html":"node task/doc distdoc","html:watch":"chokidar \"doc/**/*.html\" -c \"npm run html\"","css":"npm run css:less && npm run css:prefix && npm run css:minify","css:less":"lessc doc/style/screen.less distdoc/style/screen.css","css:prefix":"postcss distdoc/style/screen.css --use autoprefixer -d distdoc/style/","css:minify":"postcss distdoc/style/screen.css --use cssnano -d distdoc/style/","css:watch":"chokidar \"doc/**/*.less\" -c \"npm run css\"","version":"next-version package.json bower.json src/tinysort.js src/jquery.tinysort.js src/tinysort.charorder.js tinysort.nuspec","serve:doc":"node task/serve distdoc 8899","serve:test":"node task/serve test 8877"},"dependencies":{"@emmetio/expand-abbreviation":"^0.7.1","lodash":"^4.17.11","tough-cookie":"^2.5.0"},"devDependencies":{"autoprefixer":"^8.6.5","babel-cli":"^6.26.0","babel-core":"^6.24.1","babel-loader":"^7.1.5","babel-preset-es2015":"^6.24.1","babel-preset-minify":"^0.4.3","babel-preset-stage-0":"^6.24.1","body-parser":"^1.17.1","bootstrap":"^3.3.7","chokidar-cli":"^1.2.1","copyfiles":"^2.0.0","cssnano":"^4.0.0","eslint":"^4.18.2","express":"^4.16.3","jsdoc-api":"^4.0.3","jsdom":"^8.2.0","less":"^3.5.2","marked":"^0.4.0","mkdirp":"^0.5.1","ncp":"^2.0.0","next-version":"^0.9.3","node-qunit-phantomjs":"^1.4.0","open":"6.0.0","postcss-cli":"^5.0.1","rimraf":"^2.6.1","serve-static":"^1.13.2","webpack":"^4.15.1","webpack-cli":"^3.0.8"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js","jquery.tinysort.js","jquery.tinysort.min.js"]},"gitHead":"31b1f0a8236841987bdf2adb906961b67d799f38","bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@3.2.7","_npmVersion":"6.4.1","_nodeVersion":"12.16.0","_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"dist":{"integrity":"sha512-M6DWc41Te1gE1NmxY3XNqDwt3Yy+I8pfAHxK6/wRn8FB7U4C44/RkdRz1M1gvGgdK7sP1DuVn2H11rjrfMB3fQ==","shasum":"0d5ea4f0f61f04e5256e7951712d7a7b6450ba8d","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-3.2.7.tgz","fileCount":6,"unpackedSize":23917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTmk0CRA9TVsSAnZWagAA8iEP/i1dyb8rXEam5o9e7zsZ\nYUJY2K7/HMynHmlOGXnl8sKrWmUR0TTqmrmFLM0bAIOqM1uDtBLGBtVulpAW\nMzeJxl43oasBxMwp3W7j/guIBuCEkiZg1+Qw6v4lpgM+Dc9Jrj1J59XylQrA\nt6kgV/HChQ2Niw5e5cKZw/7+0F1QQgEtXFlsZiLrRbCltwE0lUuokjXQQjDI\nxulxYjEVDiSm9DYXgdem+xlNdscraYUa4RSLT/b1vIA1IdKPA5ZkYJ/laXGg\nLicN1xx168owp6hBMA6RSiYx5Uto7/6yhiXwwHsq7fQBySD1Y+nL9wJq/rxv\nLfVJwRlHXzpajOhSgEqBTpvg6hNykryjavTLhhF1krsDDKNisxY7iLbnoY6F\n3z/n1oqf/E/JqI8izv51zATamB3xxV7iXRcu0Zbwn5anjdAwJjgwYBWFzRgo\nTdLpEdmKi+OE096mgPM7oZbnr4Da3wsKhluS5L21xr7kD+P7qCwNCquHR/UE\ncjoyVB4hVLzNjiL91OcD1rYlezWTXYuFLVKDukyWi0Ws9QHnEJjNmMbigvR/\nxA6gex5DzMP3xsep6LvaRCpNyJ6xRrqHJBkOL7JA/J/QYRWe8nK3VM2CwZVL\nR+2VEKUFAjUWqW0Jl+Y8+jP1GyYbyxB0pYK2qOdSO8csY6SJaul9gpk03pMO\nw+7M\r\n=b3Du\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRbXFzg+9Wxx4kPBM0yfihCFugnyR3+cosewNUmL61pAIgI5M2cpeXcnaKNjeA1HJ4nGgfaHmj2ZhOHKndEZI51rw="}]},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinysort_3.2.7_1582197044287_0.10515240281580884"},"_hasShrinkwrap":false},"3.2.8":{"name":"tinysort","filename":"tinysort.min.js","version":"3.2.8","description":"TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.","main":"dist/tinysort.min.js","license":"MIT","author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"homepage":"http://tinysort.sjeiti.com/","repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"scripts":{"dist:main":"npm run copy:src && npm run js","copy":"npm run copy:dist && npm run copy:img","copy:src":"copyfiles src/* dist -f","copy:dist":"copyfiles dist/* distdoc","copy:img":"copyfiles doc/style/logo.* doc/style/*.ico distdoc","copy:test":"copyfiles src/* test/dist -f","js":"npm run js:main && npm run js:charorder && npm run js:jquery","js:main":"babel src/tinysort.js --out-file dist/tinysort.min.js --presets=es2015,stage-0,minify","js:charorder":"babel src/tinysort.charorder.js --out-file dist/tinysort.charorder.min.js --presets=es2015,stage-0,minify","js:jquery":"babel src/jquery.tinysort.js --out-file dist/jquery.tinysort.min.js --presets=es2015,stage-0,minify","js:watch":"chokidar \"src/*.js\" -c \"npm run js && npm run copy:test\"","js:test":"webpack --config webpack.config.test.js","js:test:watch":"chokidar \"test/**/!(*.min).js\" -c \"npm run js:test\"","js:doc":"webpack --config webpack.config.js","js:doc:watch":"chokidar \"doc/**/*.js\" -c \"npm run js:doc\"","lint":"npm run lint:src && npm run lint:doc && npm run lint:test","lint:src":"eslint src/*.js --fix","lint:doc":"eslint doc/js/*.js --fix","lint:test":"eslint test/test-*.js --fix","doc":"npm run copy && npm run html && npm run css && npm run js:doc","html":"node task/doc distdoc","html:watch":"chokidar \"doc/**/*.html\" -c \"npm run html\"","css":"npm run css:less && npm run css:prefix && npm run css:minify","css:less":"lessc doc/style/screen.less distdoc/style/screen.css","css:prefix":"postcss distdoc/style/screen.css --use autoprefixer -d distdoc/style/","css:minify":"postcss distdoc/style/screen.css --use cssnano -d distdoc/style/","css:watch":"chokidar \"doc/**/*.less\" -c \"npm run css\"","version":"next-version package.json bower.json src/tinysort.js src/jquery.tinysort.js src/tinysort.charorder.js tinysort.nuspec","serve:doc":"node task/serve distdoc 8899","serve:test":"node task/serve test 8877"},"dependencies":{"@emmetio/abbreviation":"^2.3.3","lodash":"^4.17.11","tough-cookie":"^4.1.3"},"devDependencies":{"autoprefixer":"^10.4.14","babel-cli":"^6.26.0","babel-core":"^6.24.1","babel-loader":"^7.1.5","babel-preset-es2015":"^6.24.1","babel-preset-minify":"^0.4.3","babel-preset-stage-0":"^6.24.1","body-parser":"^1.17.1","bootstrap":"^3.3.7","chokidar-cli":"^1.2.1","copyfiles":"^2.0.0","cssnano":"^4.0.0","eslint":"^4.18.2","express":"^4.16.3","jsdoc-api":"^4.0.3","jsdom":"^16.5.0","less":"^3.5.2","marked":"^4.0.10","mkdirp":"^0.5.1","ncp":"^2.0.0","next-version":"^0.9.3","node-qunit-phantomjs":"^1.4.0","open":"6.0.0","postcss-cli":"^10.1.0","rimraf":"^2.6.1","serve-static":"^1.13.2","webpack":"^4.15.1","webpack-cli":"^3.0.8"},"keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"autoupdate":{"source":"git","target":"git://github.com/Sjeiti/TinySort.git","basePath":"dist","files":["tinysort.js","tinysort.min.js","tinysort.charorder.js","tinysort.charorder.min.js","jquery.tinysort.js","jquery.tinysort.min.js"]},"gitHead":"ff50d768aa98c8d22726a736ff7840b88ce6fecd","bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"_id":"tinysort@3.2.8","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-2NX1UpiLVJMMHdS4GhDqTz38T4aBROEvux/6weY6TsFU+5ntasXHMwyfFn1eKut773PjPMD5xSFCvcIJHyF64g==","shasum":"b1a98dc16b39ecb0f3f0049ac4997926b70c8885","tarball":"https://registry.npmjs.org/tinysort/-/tinysort-3.2.8.tgz","fileCount":6,"unpackedSize":23434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV7J8DvjWMvEP9eJyM26OJX2Bd4lHCgLANrDqH0jgpwwIhAI+UN0376OLoNHQnLiX0kUMGV86INqEBMkTyfFyHh9qQ"}]},"_npmUser":{"name":"sjeiti","email":"npm@sjeiti.com"},"directories":{},"maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tinysort_3.2.8_1689458929868_0.09544714217489125"},"_hasShrinkwrap":false}},"readme":"# TinySort\n\nTinySort is a small script that sorts DOM elements. It sorts HTMLElements by text- or attribute value, or by that of one of its children.\nThe examples below should help getting you on your way.\n\nIf you find a bug, have a feature request or a code improvement you can [file them here](https://github.com/Sjeiti/TinySort/issues). Please [provide code examples](http://jsfiddle.net/) where applicable.</small>\n\n<p class=\"alert alert-warning\" role=\"alert\"><small>TinySort used to be a jQuery plugin but was rewritten to remove the jQuery dependency. It is now smaller *and* faster (and has no dependencies). Functionality is the same but changes have been made to the parameters and options.</small></p>\n\n## usage\n\nThe first (and only required) argument is a [NodeList](https://developer.mozilla.org/en/docs/Web/API/NodeList), an array of HTMLElements or a string (which is converted to a NodeList using document.querySelectorAll).\n\n``` javascript\ntinysort(NodeList);\n```\n\nThe other arguments can be an an options object.\n\n``` javascript\ntinysort(NodeList,{place:'end'});\n```\n\nIf the option object only contains a `selector` you can suffice by using the selector string instead of the object.\n\n``` javascript\ntinysort(NodeList,'span.surname');\n```\n\nFor multiple criteria you can just overload.\n\n``` javascript\ntinysort(NodeList,{selector:'.surname'},{selector:'.name'},{data:'age'});\n```\n\nDefault settings can be changed\n\n``` javascript\ntinysort.defaults.order = 'desc';\ntinysort.defaults.attr = 'title';\n```\n\n### options\n\nThe options object can have the following settings:\n\n**options.selector** (string=undefined)\nA CSS selector to select the element to sort to.\n\n**options.order** (string='asc')\nThe order of the sorting method. Possible values are 'asc', 'desc' and 'rand'.\n\n**options.attr** (string=null)\nOrder by attribute value (ie title, href, class)\n\n**options.data** (string=null)\nUse the data attribute for sorting.\n\n**options.place** (string='org')\nDetermines the placement of the ordered elements in respect to the unordered elements. Possible values 'start', 'end', 'first', 'last' or 'org'.\n\n**options.useVal** (boolean=false)\nUse element value instead of text.\n\n**options.cases** (boolean=false)\nA case sensitive sort (orders [aB,aa,ab,bb])\n\n**options.natural** (boolean=false)\nUse natural sort order.\n\n**options.forceStrings** (boolean=false)\nIf false the string '2' will sort with the value 2, not the string '2'.\n\n**options.ignoreDashes** (boolean=false)\nIgnores dashes when looking for numerals.\n\n**options.sortFunction** (function=null)\nOverride the default sort function. The parameters are of a type {elementObject}.\n\n**options.useFlex** (boolean=true)\nIf one parent and display flex, ordering is done by CSS (instead of DOM)\n\n**options.emptyEnd** (boolean=true)\nSort empty values to the end instead of the start\n\n**options.console** (boolean=undefined)\nan optional console implementation to prevent output to console\n\n\n## examples\n\n### default sorting\n\nThe default sort simply sorts the text of each element\n\n``` javascript\ntinysort('ul#xdflt>li');\n```\n\n### sort on any node\n\nTinySort works on any nodeType. The following is a div with spans.\n\n``` javascript\ntinysort('div#xany>span');\n```\n\n### sorted numbers\n\nTinySort also works on numbers.\n\n``` javascript\ntinysort('ul#xnum>li');\n```\n\n### mixed literal and numeral\n\nIn a normal sort the order would be a1,a11,a2 while you'd really want it to be a1,a2,a11. TinySort corrects this:\n\n``` javascript\ntinysort('ul#xmix>li');\n```\n\n### sorted by attribute value\n\nSort by attribute value by adding the 'attr' option. This will sort by attribute of, either the selection, or of the sub-selection (if provided). In this case sort is by href on the anchor sub-selection.\n\n``` javascript\ntinysort('ul#xval>li',{selector:'a',attr:'href'});\n```\n\nAnother example: images sorted by attribute title value.\n\n``` javascript\ntinysort('div#ximg>img',{attr:'title'});\n```\n\n### sorted by sub-selection\n\nYou can provide an additional subselection by setting the `selector` option. If no other options are set you can also just pass the selector string instead of the options object.\n\nIn this example the list elements are sorted to the text of the second span.\n\n``` javascript\ntinysort('ul#xsub>li','span:nth-child(2)');\n```\n\nThe following example will only sort the non-striked elements.\n\n``` javascript\ntinysort('ul#xattr>li','span:not([class=striked])');\n```\n\n### return only sorted elements\n\nBy default, all the elements are returned, even the ones excluded by your sub-selection. By parsing the additional parameter 'returns=true' only the sorted elements are returned.\nYou can also adjust the placement of the sorted values by adding the 'place' attribute. In this case the original positions are maintained.\n\n``` javascript\ntinysort('ul#xret>li','span:not([class=striked])',{returns:true,place:'org'})\n    .forEach(function(elm){\n        elm.style.color = 'red';\n    })\n;\n```\n\n### multiple sort criteria\n\nSometimes multiple sorting criteria are required. For instance: you might want to sort a list of people first by surname then by name.\n\nFor multiple sorting rules you can just overload the parameters. So tinysort(selector,options) becomes tsort(selector,options1,options2,options3...). Note that in the next example the second parameter `'span.name'` will be rewritten internally to `{selector:'span.name'}`.\n\n``` javascript\ntinysort('ul#xmul>li','span.name',{selector:'span.date',data:'timestamp'});\n```\n\n### non-latin characters\n\nA normal array sorts according to [Unicode](http://en.wikipedia.org/wiki/Unicode), which is wrong for most languages. For correct ordering you can use the charorder plugin to parse a rule with the 'charOrder' parameter. This is a string that consist of exceptions, not the entire alfabet. For characters that should sort equally use brackets. For characters that consist of multiple characters use curly braces. For example:\n\n*   **cčć** sorts c č and ć in that order\n\n*   **æøå** in absence of a latin character æ ø and å are sorted after z\n\n*   **ι[ίϊΐ]** ί ϊ and ΐ are sorted equally to ι\n\n*   **d{dž}** dž is sorted as one character after d\n\n*   **å[{Aa}]** Aa is sorted as one character, equal to å, after z\n\nHere some real examples:\n\n``` javascript\ntinysort('ul#greek>li',{charOrder:'α[ά]βγδε[έ]ζη[ή]θι[ίϊΐ]κλμνξο[ό]πρστυ[ύϋΰ]φχψω[ώ]'});\n```\n\n``` javascript\ntinysort('ul#danish>li',{charOrder:'æøå[{Aa}]'});\n```\n\n``` javascript\ntinysort('ul#serb>li',{charOrder:'cčćd{dž}đl{lj}n{nj}sšzž'});\n```\n\nHere are some example languages:\n\n<div class=\"table-responsive\">\n<table class=\"props\">\n    <thead><tr>\n        <th>Language</th>\n        <th>charOrder</th>\n    </tr></thead>\n    <tfoot><tr>\n        <td colspan=\"2\">since only one of these is my native language please feel free to contact me if you think corrections are in order</td>\n    </tr></tfoot>\n    <tbody>\n        <tr><td>Cyrilic</td><td>абвгдђежзијклљмнњопрстћуфхцчџш</td></tr>\n        <tr><td>Czech</td><td>a[á]cčd[ď]e[éě]h{ch}i[í]n[ň]o[ó]rřsšt[ť]u[úů]y[ý]zž</td></tr>\n        <tr><td>Danish and Norwegian</td><td>æøå[{Aa}]</td></tr>\n        <tr><td>Dutch</td><td>a[áàâä]c[ç]e[éèêë]i[íìîï]o[óòôö]u[úùûü]</td></tr>\n        <tr><td>French</td><td>a[àâ]c[ç]e[éèêë]i[ïî]o[ôœ]u[ûù]</td></tr>\n        <tr><td>German</td><td>a[ä]o[ö]s{ss}u[ü]</td></tr>\n        <tr><td>Greek</td><td>α[ά]βγδε[έ]ζη[ή]θι[ίϊΐ]κλμνξο[ό]πρστυ[ύϋΰ]φχψω[ώ]</td></tr>\n        <tr><td>Icelandic</td><td>a[á]dðe[é]i[í]o[ó]u[ú]y[ý]zþæö</td></tr>\n        <tr><td>Polish</td><td>aąbcćeęlłnńoósśuúzźż</td></tr>\n        <tr><td>Russian</td><td>абвгдеёжзийклмнопрстуфхцчшщъыьэюя</td></tr>\n        <tr><td>Serbo-Croatian</td><td>cčćd{dž}đl{lj}n{nj}sšzž</td></tr>\n        <tr><td>Spanish</td><td>a[á]c{ch}e[é]i[í]l{ll}nño[ó]u[ú]y[ý]</td></tr>\n        <tr><td>Swedish</td><td>åäö</td></tr>\n    </tbody>\n</table>\n</div>\n\n### natural sorting\n\nMachines read differently than you do. Natural sorting makes your machine more like you by enabling it to differentiate between numeric values within a string. \n\n``` javascript\ntinysort('ul#xnat>li',{natural:true});\n```\n\n### sort by value\n\nThe value property is primarily used to get the values of form elements, but list-elements also have the value property. By setting the useVal option you can also sort by this form element value.\n\n``` javascript\ntinysort('ul#xinp>li',{selector:'input',useVal:true});\n```\n\n### sort by data\n\nSort by data attribute by setting the `data` option.\n\n``` javascript\ntinysort('ul#xdta>li',{selector:'a',data:'foo'});\n```\n\n### sorted descending\n\nSort in ascending or descending order  by setting the `order` option to `asc` or `desc`.\n\n``` javascript\ntinysort('ul#xdesc>li',{order:'desc'});\n```\n\n### randomize\n\nTinySort can also order randomly (or is that a contradiction).\n\n``` javascript\ntinysort('ul#xrnd>li',{order:'rand'});\n```\n\n### custom sort function\n\nCustom sort functions are similar to those you use with regular Javascript arrays with the exception that the parameters a and b are objects of a similar type {elementObject}, an object with the following properties:\n\n * elm {HTMLElement}: The element\n * pos {number}: original position\n * posn {number}: original position on the partial list\n \nWhen you use the custom sort function all other properties will be ignored because it expects a custom implementation.\n\n``` javascript\ntinysort('ul#xcst>li',{sortFunction:function(a,b){\nvar lenA = a.elm.textContent.length\n    ,lenB = b.elm.textContent.length;\nreturn lenA===lenB?0:(lenA>lenB?1:-1);\n}});\n```\n\n### sorting tables\n\nWith a little extra code you can create a sortable table:\n\n``` javascript\nvar table = document.getElementById('xtable')\n    ,tableHead = table.querySelector('thead')\n    ,tableHeaders = tableHead.querySelectorAll('th')\n    ,tableBody = table.querySelector('tbody')\n;\ntableHead.addEventListener('click',function(e){\n    var tableHeader = e.target\n        ,textContent = tableHeader.textContent\n        ,tableHeaderIndex,isAscending,order\n    ;\n    if (textContent!=='add row') {\n        while (tableHeader.nodeName!=='TH') {\n\t\t\ttableHeader = tableHeader.parentNode;\n\t\t}\n        tableHeaderIndex = Array.prototype.indexOf.call(tableHeaders,tableHeader);\n        isAscending = tableHeader.getAttribute('data-order')==='asc';\n        order = isAscending?'desc':'asc';\n        tableHeader.setAttribute('data-order',order);\n        tinysort(\n            tableBody.querySelectorAll('tr')\n            ,{\n                selector:'td:nth-child('+(tableHeaderIndex+1)+')'\n                ,order: order\n            }\n        );\n    }\n});\n```\n\n<div class=\"table-responsive\">\n<table class=\"props xmpl\" id=\"xtable\">\n    <thead>\n        <tr>\n            <th><a>word</a></th>\n            <th><a>int</a></th>\n            <th><a>float</a></th>\n            <th><a>mixed</a></th>\n            <th><a>add row</a></th>\n        </tr>\n    </thead>\n    <tbody></tbody>\n</table>\n</div>\n\n### animated sorting\n\nTinysort has no built in animating features but it can quite easily be accomplished through regular js/jQuery.\n\n<style type=\"text/css\">\n\tul#xanim {\n\t    position: relative;\n\t    display: block;\n\t}\n\tul#xanim li {\n\t\ttransition: top 500ms;\n\t\t-webkit-transition: top 500ms;\n\t}\n</style>\n\n``` javascript\nvar ul = document.getElementById('xanim')\n\t,lis = ul.querySelectorAll('li')\n\t,liHeight = lis[0].offsetHeight\n;\nul.style.height = ul.offsetHeight+'px';\nfor (var i= 0,l=lis.length;i<l;i++) {\n\tvar li = lis[i];\n\tli.style.position = 'absolute';\n\tli.style.top = i*liHeight+'px';\n}\ntinysort('ul#xanim>li').forEach(function(elm,i){\n    setTimeout((function(elm,i){\n        elm.style.top = i*liHeight+'px';\n    }).bind(null,elm,i),40);\n});\n```\n","maintainers":[{"name":"sjeiti","email":"npm@sjeiti.com"}],"time":{"modified":"2023-07-15T22:08:50.269Z","created":"2015-01-31T18:36:05.924Z","2.1.2":"2015-01-31T18:37:20.106Z","2.3.6":"2016-04-22T21:07:46.585Z","3.2.4":"2018-12-06T09:30:06.445Z","3.2.5":"2018-12-07T08:15:32.466Z","3.2.7":"2020-02-20T11:10:44.470Z","3.2.8":"2023-07-15T22:08:50.087Z"},"readmeFilename":"README.md","homepage":"http://tinysort.sjeiti.com/","keywords":["sort","element","HTMLElement","Node","list","table","dom","html"],"repository":{"type":"git","url":"git+https://github.com/Sjeiti/TinySort.git"},"author":{"name":"Ron Valstar","email":"ron@ronvalstar.nl","url":"http://www.ronvalstar.nl/"},"bugs":{"url":"https://github.com/Sjeiti/TinySort/issues"},"license":"MIT"}