{"_id":"scroll-to-element","_rev":"19-e848983d44d1a9d5092fefcb6ad2af05","name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","dist-tags":{"latest":"2.0.3"},"versions":{"0.0.1":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"0.0.1","keywords":["scroll","animate","smooth"],"dependencies":{"scroll-to":"git://github.com/component/scroll-to"},"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/willhoag/scroll-to-element.git"},"gitHead":"afe107155214960e29ff7f2d52c0f7412509c2f3","bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"homepage":"https://github.com/willhoag/scroll-to-element","_id":"scroll-to-element@0.0.1","scripts":{},"_shasum":"8bab9216fb0ffa7e891039ff4ac29d4eb210a531","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"dist":{"shasum":"8bab9216fb0ffa7e891039ff4ac29d4eb210a531","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-0.0.1.tgz","integrity":"sha512-b0+/tomhf6T3ECYJ1GxkSMnE7mgdlm4c44cQuOTFYhJ6sOL6KJNzsauurRLcJSvSc3773SvCdpgAti+Wz3Xnvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqonadvLqhdOB2/YC46V76wnJhnDmRfzJwOAGknRqJAAiAeHVaEWHvOPxe5iFYLx7u+TSawDp0Iiy29uBjaphy5pQ=="}]},"directories":{}},"0.0.2":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"0.0.2","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"dependencies":{"scroll-to":"0.0.2"},"keywords":["animate","scroll","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/willhoag/scroll-to-element.git"},"gitHead":"03ccb48b498b84af796c05df7155cc80a573ddb7","homepage":"https://github.com/willhoag/scroll-to-element","_id":"scroll-to-element@0.0.2","scripts":{},"_shasum":"00d3bddca6277e74088109ee29d7caaa11139bcc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"dist":{"shasum":"00d3bddca6277e74088109ee29d7caaa11139bcc","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-0.0.2.tgz","integrity":"sha512-3WeFJ7OKxVihc70nIBr6VPmkgqcO1WtBR+5jFEuyhPCPv2k2/Zn+LnBciRm7pE8KSJ/H50TpblUr8oPAGGU/ZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk3Y8etZocwy3OcfABCPxW6G2tp7OkBjoC0rKF0Uu6IwIgdw1RqV8vP4BUidvUWDxc0l5SHmpWy7tEuPbtMm4afNo="}]},"directories":{}},"1.0.0":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"1.0.0","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"dependencies":{"scroll-to":"0.0.2"},"keywords":["animate","scroll","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"gitHead":"c20d880466bedb92aaf4215bdf86bf5834c54df3","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@1.0.0","scripts":{},"_shasum":"103da480e18a1c5a1c41ffdac3e171baae3cafeb","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.7","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"dist":{"shasum":"103da480e18a1c5a1c41ffdac3e171baae3cafeb","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-1.0.0.tgz","integrity":"sha512-FPSEi2IDJeCq+cIHADJpvf3X64eXmqDmFXAN5AajmkjmD/BN0LKkipzLlN7ChLH4KtfCAkAJZqQR2CoYycFtJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjWeST98cvDWpVWlnNce+rY8DJ6cUkQrBVAHbRngtrlAiBLH/lyfTXN1w+EpsrpcK2CAAPEZKod2qcGGJ4eK4RTkw=="}]},"directories":{}},"1.1.0":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"1.1.0","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"dependencies":{"scroll-to":"0.0.2"},"keywords":["animate","scroll","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"gitHead":"0091ebdff4501ada3e075c1b7d39b8b8cbb66729","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@1.1.0","scripts":{},"_shasum":"e6d9563fa5b397d032ec0f2b6a56b7974c5b4a0c","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.7","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"dist":{"shasum":"e6d9563fa5b397d032ec0f2b6a56b7974c5b4a0c","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-1.1.0.tgz","integrity":"sha512-sczDGbWTKLJCp1f/2XvCWBYbbYuqdM35r4XGeOINkRKl+jw2wNNnVGeojnicZUcJBALyxgTk/RAyxr/lsXueEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBY9zUpFYJ7GFO4BZabik64sszNJemInGiute7gtPzFQIhANkxykeFjrsjb3SdwmMFzyrWkVxLZ8nVXMW3ViD8elt6"}]},"directories":{}},"2.0.0":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"2.0.0","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"dependencies":{"scroll-to":"0.0.2"},"keywords":["animate","scroll","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"gitHead":"dabb4f87254ef849e9fcf53c59e0f550ade51c2b","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@2.0.0","scripts":{},"_shasum":"3467330e3384743b7295ac64b30279990c5ac164","_from":".","_npmVersion":"2.14.17","_nodeVersion":"0.12.7","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"dist":{"shasum":"3467330e3384743b7295ac64b30279990c5ac164","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-2.0.0.tgz","integrity":"sha512-rD83o86o/09Yr+bs4WfMpi/gIJ8sGSyy2hkozGU5WnqzjsKHSdLf3jW3M5DsKB4OeBo7F9aJF/5wN4WEi4It3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk4F2msnkw/j9LbLMVTlg/9xptTKfD0hxZ+AxHwVm2uAiEA3CaSSaBFdL7x4hzuz9fvwd0Wit1qHjU8GxUoIIf+hV4="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/scroll-to-element-2.0.0.tgz_1454557390515_0.005815606098622084"},"directories":{}},"2.0.1":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"2.0.1","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"scripts":{"build":"browserify -e index.js -o build/scrollToElement.js -s scrollToElement","prepublish":"npm run build"},"dependencies":{"component-tween":"^1.2.0","raf":"^3.4.0"},"keywords":["animate","scroll","tween","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"devDependencies":{"browserify":"^16.2.2"},"gitHead":"fe58a1a8caf7986df822f5a2cc8a51394cc5a444","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@2.0.1","_npmVersion":"5.8.0","_nodeVersion":"9.3.0","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"dist":{"integrity":"sha512-p6fGqsXI1X+f/NHZaSJEULm67CqMFNhaa/4qWPiE8RXwqVPKyVsHJ480QN1g81ZtzZXLxy2OBU/NUwm3MUZ/Ag==","shasum":"8bfb07188cc198ebb6503eef2b00a7e36c85b343","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-2.0.1.tgz","fileCount":7,"unpackedSize":6181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgJCkCRA9TVsSAnZWagAAYWQP/2ALmVZfjSAvREUPbNCQ\n+zCRVp9fxeipHNOHsuj1guOBGw+VWtybCxHIpSTAhw6mB8iep2XHuJ/QRnzd\nMGMUKu2/U46YZZ5MAATqHY1CfAH3QvYcqCIUxF4OABbYvBifg+jVco1otOvJ\n6P8tJVMdlGeQSRMw/UINy5fMmpMWLtbLSQHzdwVySBpGt25IpGitnRBhIgaB\nWiVLw6g9cpEG8MR729RP/mHncpw7R7w0gRwS7mOPWQVElJI2CAlUtrP40vOj\nyopGQgdbGX1Zv2N+J5aGg1BsDYparonahZH4M77lbWJ6vjQkp8wtbKNnELCF\n6+an96nG4k03mBxvGPnrLVe8Iw5G9uTXQ6i2bmzuY6zA5aTOAymvdXmbZ9Sh\n5SrwS48qvlxFlCJdDouqMEwJtQsD8Wj1Z7ElVwlOx352TDdlj/2X7VAOVNFH\nxsDb4kzKUuXNWK1nZWOf3gVp2qsE7vfRmTvz5TCAzG+t9MtXc33IxsO4MPB0\n4xrD1BKtxku99g4x+ECVSWUHgaa9jjr3vx1OdGESRF4A5B8G/1FgN2pveOdH\nFOVFwwtl26D3JeZv2OhAPJ3ATd9FCPEmR9DqRhk6Gai3SiyhD+2xqNWnkgVe\nJjT7emZiZ+6Hh9QIyK/mNOglOZ6ET/SGsMeQwEsrvNjRS/OM3soapcN2tzK3\nFVQX\r\n=Ouae\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh9rEJi396RDW++vrMJwZoAI8NUYg86HvJbN9OtnfOggIhAOIC+74MBXGFbV/DysLSE9LZAR95q7oerVLPTU0QvDGI"}]},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-to-element_2.0.1_1535152291841_0.9854864019786487"},"_hasShrinkwrap":false},"2.0.2":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"2.0.2","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"scripts":{"build":"browserify -e index.js -o build/scrollToElement.js -s scrollToElement","prepublish":"npm run build"},"dependencies":{"raf":"^3.4.0"},"keywords":["animate","scroll","tween","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"devDependencies":{"browserify":"^16.2.2"},"gitHead":"1fffd8ba2f8ac77208432e9e2e1d3b2214d018d2","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@2.0.2","_npmVersion":"5.8.0","_nodeVersion":"9.3.0","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"dist":{"integrity":"sha512-RYfez9f/Ewo5mLV0g9/Zb1gb/EZ+8T9gZPBB2eV6AhkkE4HY6duVYjF1nBRXxoS2EyfEORjttQmg9buXsUHvRQ==","shasum":"f4fc74f26482337a5b8f656552fda0f41644f0f6","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-2.0.2.tgz","fileCount":11,"unpackedSize":36514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgdKBCRA9TVsSAnZWagAAiWEP/2suU+tHhdYAOpItiSKE\n6UneXCwp2bvT3tBu7NiRVfZr0gbBMxvuP7v2WYDpV7q4viPQApubytaW9rrp\nn3MQPgIE8rxRsY7QHyUHuivJq9YZuHxuvujDx7FpJ2C5K5I42amX5nSiaAff\nDs5juZvODy4bnJb4jIbVDkwPxBUd7Q4aN/Oam4CtRok/LDZU81beoT786Yey\n9BgOFDQGDJ/obF3qNCcGy05oUQyjhfVrH9cuLKxwXTYmYL4IpZUqLsBDHCOb\npc4R7rkW82himcZBS26ZzFwLF07yqLhGIHhwltuYfJd8ThQ0BLkzxG303Ch4\nhVLVLkh7pS9Bf/oWNZbPwC1Alq5gGJIvWriWJkzsJv8yZ8uh56hR9XfRgQ7T\ntFG3Nbb+3gu6ZPLiXawKCT7S2xnj/O8qEJvEUKhD8dut/obQuQgxvH2JNMcE\nfx7uQMHQztgT7fYI6CJ/C5vjXFbryAzqKcENoipLQhaLSU9W2ZPgrlWrTJDS\naVGe3MZAXL7kuQWP0hNc7TzVTWyM3HXmHjcBpBIWBO9nIwi0puelLU30VThf\nn6vlJg8aTeDHLiLIVnSqtwjuW6ATvzVCSp4pjhtXi5bvN97V6s00g+yHMPXR\nQr04pMg24eI1YvZKS26JJqtc8VnIiMLvDysvvttObhd73vJrltn2r0b2U1yE\n6D5B\r\n=BSuH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpM7nAM4NKWvE+75cebYfQ5SEFePo8eh/Ip1CFlsWIaQIgQ9EeYSpW/QnDkWoa6c5YJCOQsLCbHBXInDyCqQN1cBM="}]},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-to-element_2.0.2_1535234688628_0.8604676159114184"},"_hasShrinkwrap":false},"2.0.3":{"name":"scroll-to-element","description":"Smooth scrolling to an element via selector or node reference","version":"2.0.3","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"scripts":{"build":"browserify -e index.js -o build/scrollToElement.js -s scrollToElement","prepublish":"npm run build"},"dependencies":{"raf":"^3.4.0"},"keywords":["animate","scroll","tween","smooth"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"devDependencies":{"browserify":"^16.2.2"},"gitHead":"b4d038f2ada2f91382a5eb670c0846d63b96d1c8","homepage":"https://github.com/willhoag/scroll-to-element#readme","_id":"scroll-to-element@2.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"willhoag","email":"dev@willhoag.com"},"dist":{"integrity":"sha512-5herPcm9jMfQgRwu94lH5mei+2YhipR4RQ2nAvnBxJb2tG+P7O0ctOKAaAZBXbBejnn+MImh3wrAUA5EcLnjEQ==","shasum":"99b404fc6a09fe73f3c062cd5b8a14efb6404e4d","tarball":"https://registry.npmjs.org/scroll-to-element/-/scroll-to-element-2.0.3.tgz","fileCount":11,"unpackedSize":36758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchpOhCRA9TVsSAnZWagAA0YYP/3AKz9RA0p+YRxuWctQ1\nebbCsHenG/MqHMNX10AwoAPa6jscKgj4JWmgfDGy8OmTfrNC2haFHjij10zy\nnH854Z23nrQaCLpksRKIWOlnZTb1C/338tboaFNPNgRqE+3gtwJ5oedu8Fvc\nFjKr6LVwK2wtExpXrAff/6Sa5GE8ySq5LrezTGlSSNQQJDB64mtxJtQdPB6c\nQ6u1ouyWyCdIlb3PzDTR4am54y1utkE0vj7oukeBNPXx80L2khTn9KQrsDvi\nvOpj7iFYHwtBEnBaKXQFy/OrodWT4aksbD8GKc6Z2QtWibxk3IioWDIRztdr\nDs5+nHDq6+RETG9/sBk4S5CItCMN13Jtq8RpDTw+ZBeZsPvaaOHh270y0oGH\n7KRl1nWVey/j+yYqwrDCMzBRYtFtSa181BTkMeK2alZZMDd1iDJdmy1i2Zj0\nxwEGCOKiZ0UsOF9xnTQAT+bFqDgvCOGI6+NoSgjXaFxhv1bio+XQpB/CziZQ\nCYylJbKsbRUoU3NdwQu83VRs4K3o/jx0rvnIIFHWqTr3mdoQe20m++hUCLOC\nLV1r/2DV5O5xw0BSIDrB/gLaS2PdqS72DCcmiTUtSSkFVLYC7WDiDEXpg/1F\n3ZoHyx8SNUsnja+qI93Z4gUAfm4La82ZTDpfiWqWzf8J86W/sSiO+0CdBG+X\nan5g\r\n=uWRo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp5DeE9NWSa4Z76G8J1z1GTeByw+otML9CzFGjX7/rhgIhAKLXWzVz01iWmdVbzkd1fRWdi6dqsIql3oUSvsKtARh5"}]},"maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-to-element_2.0.3_1552323489294_0.2312794879854283"},"_hasShrinkwrap":false}},"readme":"# scroll-to-element\n\nSmooth scrolls to element of the specified selector or element reference with optional offset, scroll-positon, easing, and duration. Takes into account document height for elements low on the page.\n\n[![NPM](https://nodei.co/npm/scroll-to-element.png)](https://nodei.co/npm/scroll-to-element/)\n\n## `scrollToElement(selector, <options>)`\n##### Valid options:\n\n###### offset : *number*\n\n> Add an additional offset to the final position. if\n> \\> 0 then page is moved to the bottom otherwise the page is moved to the top.\n\n###### align : *string*\n\n> Alignment of the element in the resulting viewport. Can be\n> one of `'top'`, `'middle'` or `'bottom'`. Defaulting to `'top'`.\n\n###### ease : *string*\n\n> Easing function defaulting to \"out-circ\" (view [ease](https://github.com/component/ease) for more)\n\n###### duration : *number*\n\n> Animation duration defaulting to `1000`\n\n## EXAMPLE\n\n```js\nvar scrollToElement = require('scroll-to-element');\n\nscrollToElement('#id');\n\n// with options\nscrollToElement('.className', {\n\toffset: 0,\n\tease: 'out-bounce',\n\tduration: 1500\n});\n\n// or if you already have a reference to the element\nvar elem = document.querySelector('.className');\nscrollToElement(elem, {\n\toffset: 0,\n\tease: 'out-bounce',\n\tduration: 1500\n});\n```\n\n## LICENSE\n\nMIT\n","maintainers":[{"name":"willhoag","email":"dev@willhoag.com"}],"time":{"modified":"2022-06-26T16:53:38.006Z","created":"2015-03-15T23:20:15.112Z","0.0.1":"2015-03-15T23:20:15.112Z","0.0.2":"2015-03-22T21:24:38.005Z","1.0.0":"2015-08-14T05:07:31.557Z","1.1.0":"2015-10-23T04:07:13.485Z","2.0.0":"2016-02-04T03:43:11.496Z","2.0.1":"2018-08-24T23:11:31.923Z","2.0.2":"2018-08-25T22:04:48.723Z","2.0.3":"2019-03-11T16:58:09.415Z"},"homepage":"https://github.com/willhoag/scroll-to-element#readme","keywords":["animate","scroll","tween","smooth"],"repository":{"type":"git","url":"git+https://github.com/willhoag/scroll-to-element.git"},"bugs":{"url":"https://github.com/willhoag/scroll-to-element/issues"},"license":"MIT","readmeFilename":"README.md","author":{"name":"Will Hoag","email":"dev@willhoag.com"},"users":{"danez":true,"craigdmckenna":true,"rubiadias":true,"alimaster":true,"ungurys":true,"zeroth007":true}}