{"_id":"scroll-behavior","_rev":"287303","name":"scroll-behavior","description":"Pluggable browser scroll management","dist-tags":{"latest":"0.11.0"},"maintainers":[{"name":"taion","email":""}],"time":{"modified":"2021-06-03T18:40:03.000Z","created":"2015-11-05T14:34:08.940Z","0.11.0":"2020-03-30T21:07:03.659Z","0.10.0":"2020-03-11T07:01:43.440Z","0.9.12":"2020-03-11T06:47:48.009Z","0.9.11":"2019-12-18T22:48:45.672Z","0.9.10":"2019-02-06T20:28:52.245Z","0.9.9":"2018-02-05T16:12:05.143Z","0.9.7":"2018-02-05T16:05:59.218Z","0.9.5":"2017-11-08T07:19:40.266Z","0.9.4":"2017-10-13T21:12:00.703Z","0.9.3":"2017-03-07T02:55:17.245Z","0.9.2":"2016-12-06T22:06:21.767Z","0.9.1":"2016-11-05T04:37:27.882Z","0.9.0":"2016-11-04T23:07:02.434Z","0.8.2":"2016-10-04T22:25:40.915Z","0.8.1":"2016-08-06T02:11:32.486Z","0.8.0":"2016-08-06T01:07:38.993Z","0.7.0":"2016-05-06T06:46:16.367Z","0.6.1":"2016-05-03T16:11:49.721Z","0.6.0":"2016-05-03T04:19:36.916Z","0.5.0":"2016-05-02T04:19:23.941Z","0.4.0":"2016-04-14T02:19:34.302Z","0.3.4":"2016-04-01T19:43:13.040Z","0.3.3":"2016-03-02T15:38:48.634Z","0.3.2":"2016-02-11T22:45:53.088Z","0.3.1":"2016-02-03T17:43:32.907Z","0.3.0":"2015-11-13T04:27:15.285Z","0.2.0":"2015-11-06T20:12:59.593Z","0.1.0":"2015-11-05T21:58:26.735Z","0.0.0":"2015-11-05T14:34:08.940Z"},"users":{"conantonakos":true,"scotchulous":true,"dtrelogan":true,"nchase":true,"krishaamer":true,"usex":true,"nisimjoseph":true,"tingge":true},"author":{"name":"Jimmy Jia"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"versions":{"0.11.0":{"name":"scroll-behavior","version":"0.11.0","description":"Pluggable browser scroll management","main":"lib/index.js","module":"es/index.js","types":"lib/index.d.ts","scripts":{"build":"npm run build:cjs && npm run build:esm && npm run build:types","build:cjs":"babel -d lib --delete-dir-on-start src","build:esm":"babel --env-name esm -d es --delete-dir-on-start src","build:types":"cpy types/*.d.ts lib","format":"eslint --fix . && npm run prettier -- --write","lint":"eslint . && npm run prettier -- -l","prepublish":"npm run build","prettier":"prettier --ignore-path .eslintignore '**/*.{md,ts,tsx}'","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run test:ts && npm run testonly","test:ts":"dtslint types","testonly":"npm run tdd -- --single-run"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix","*.{md,ts,tsx}":"prettier --write"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^5.1.4","invariant":"^2.2.4","page-lifecycle":"^0.1.2"},"devDependencies":{"@4c/babel-preset":"^7.3.4","@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/polyfill":"^7.8.7","babel-loader":"^8.1.0","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-istanbul":"^6.0.0","babel-polyfill":"^6.26.0","chai":"^4.2.0","codecov":"^3.6.5","cpy-cli":"^3.1.0","cross-env":"^7.0.2","dirty-chai":"^2.0.1","dtslint":"^3.4.0","eslint":"^6.8.0","eslint-config-4catalyzer":"^1.1.1","eslint-config-prettier":"^6.10.1","eslint-plugin-import":"^2.20.2","eslint-plugin-prettier":"^3.1.2","history":"^2.1.2","husky":"^4.2.3","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.1","karma-firefox-launcher":"^1.3.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon-chai":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","lint-staged":"^10.1.0","mocha":"^7.1.1","prettier":"^2.0.2","sinon":"^9.0.1","sinon-chai":"^3.5.0","webpack":"^4.42.1"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"scroll-behavior@0.11.0","dist":{"shasum":"fff2765b6007341b80a04678fcd314e54d5b03ea","size":8330,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.11.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior_0.11.0_1585602423466_0.4255413672571742"},"_hasShrinkwrap":false,"publish_time":1585602423659,"_cnpm_publish_time":1585602423659},"0.10.0":{"name":"scroll-behavior","version":"0.10.0","description":"Pluggable browser scroll management","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"babel src -d lib --delete-dir-on-start && cpy types/*.d.ts lib","format":"eslint --fix . && npm run prettier -- --write","lint":"eslint . && npm run prettier -- -l","prepublish":"npm run build","prettier":"prettier --ignore-path .eslintignore '**/*.{md,ts,tsx}'","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run test:ts && npm run testonly","test:ts":"dtslint types","testonly":"npm run tdd -- --single-run"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix","*.{md,ts,tsx}":"prettier --write"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.4.0","invariant":"^2.2.4","page-lifecycle":"^0.1.2"},"devDependencies":{"@4c/babel-preset":"^7.3.3","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@babel/polyfill":"^7.8.7","babel-loader":"^8.0.6","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-istanbul":"^6.0.0","babel-polyfill":"^6.26.0","chai":"^4.2.0","codecov":"^3.6.5","cpy-cli":"^3.1.0","cross-env":"^7.0.2","dirty-chai":"^2.0.1","dtslint":"^3.3.0","eslint":"^6.8.0","eslint-config-4catalyzer":"^1.1.1","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2","history":"^2.1.2","husky":"^4.2.3","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.1","karma-firefox-launcher":"^1.3.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon-chai":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","lint-staged":"^10.0.8","mocha":"^7.1.0","prettier":"^1.19.1","sinon":"^9.0.0","sinon-chai":"^3.5.0","webpack":"^4.42.0"},"gitHead":"c4356c051c271c0478199b1f4acfb1365b3e6d1b","_id":"scroll-behavior@0.10.0","_nodeVersion":"12.15.0","_npmVersion":"6.13.4","dist":{"shasum":"046b3a074ed9de4dd491128aaea4d23b6364f9ad","size":7469,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.10.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior_0.10.0_1583910103315_0.7267285618118415"},"_hasShrinkwrap":false,"publish_time":1583910103440,"_cnpm_publish_time":1583910103440},"0.9.12":{"name":"scroll-behavior","version":"0.9.12","description":"Pluggable browser scroll management","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"babel src -d lib --delete-dir-on-start && cpy types/*.d.ts lib","format":"eslint --fix . && npm run prettier -- --write","lint":"eslint . && npm run prettier -- -l","prepublish":"npm run build","prettier":"prettier --ignore-path .eslintignore '**/*.{md,ts,tsx}'","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run test:ts && npm run testonly","test:ts":"dtslint types","testonly":"npm run tdd -- --single-run"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"eslint --fix","*.{md,ts,tsx}":"prettier --write"},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.4.0","invariant":"^2.2.4"},"devDependencies":{"@4c/babel-preset":"^7.3.3","@babel/cli":"^7.8.4","@babel/core":"^7.8.7","@babel/polyfill":"^7.8.7","babel-loader":"^8.0.6","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-istanbul":"^6.0.0","babel-polyfill":"^6.26.0","chai":"^4.2.0","codecov":"^3.6.5","cpy-cli":"^3.1.0","cross-env":"^7.0.2","dirty-chai":"^2.0.1","dtslint":"^3.3.0","eslint":"^6.8.0","eslint-config-4catalyzer":"^1.1.1","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2","history":"^2.1.2","husky":"^4.2.3","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.1","karma-firefox-launcher":"^1.3.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon-chai":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","lint-staged":"^10.0.8","mocha":"^7.1.0","prettier":"^1.19.1","sinon":"^9.0.0","sinon-chai":"^3.5.0","webpack":"^4.42.0"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"scroll-behavior@0.9.12","dist":{"shasum":"1c22d273ec4ce6cd4714a443fead50227da9424c","size":7431,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.12.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior_0.9.12_1583909267857_0.13499674668080375"},"_hasShrinkwrap":false,"publish_time":1583909268009,"_cnpm_publish_time":1583909268009},"0.9.11":{"name":"scroll-behavior","version":"0.9.11","description":"Pluggable browser scroll management","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"babel src -d lib --delete-dir-on-start && cpy types/*.d.ts lib","format":"eslint --fix . && npm run prettier -- --write","lint":"eslint . && npm run prettier -- -l","prepublish":"npm run build","prettier":"prettier --ignore-path .eslintignore '**/*.{md,ts,tsx}'","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run test:ts && npm run testonly","test:ts":"dtslint types","testonly":"npm run tdd -- --single-run"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint --fix","git add"],"*.{md,ts,tsx}":["prettier --write","git add"]},"prettier":{"printWidth":79,"singleQuote":true,"trailingComma":"all"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.4.0","invariant":"^2.2.4"},"devDependencies":{"@4c/babel-preset":"^7.2.4","@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/polyfill":"^7.7.0","babel-loader":"^8.0.6","babel-plugin-add-module-exports":"^1.0.2","babel-plugin-istanbul":"^5.2.0","babel-polyfill":"^6.26.0","chai":"^4.2.0","codecov":"^3.6.1","cpy-cli":"^3.0.0","cross-env":"^6.0.3","dirty-chai":"^2.0.1","dtslint":"^2.0.2","eslint":"^6.7.2","eslint-config-4catalyzer":"^1.0.1","eslint-config-prettier":"^6.7.0","eslint-plugin-import":"^2.19.1","eslint-plugin-prettier":"^3.1.2","history":"^2.1.2","husky":"^3.1.0","karma":"^4.4.1","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.1","karma-firefox-launcher":"^1.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon-chai":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","lint-staged":"^9.5.0","mocha":"^6.2.2","prettier":"^1.19.1","sinon":"^7.5.0","sinon-chai":"^3.3.0","webpack":"^4.41.2"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"scroll-behavior@0.9.11","dist":{"shasum":"f7b34380c038062bdcbd604c90e1d313220f7f3c","size":7439,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.11.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior_0.9.11_1576709325382_0.6702032954772896"},"_hasShrinkwrap":false,"publish_time":1576709325672,"_cnpm_publish_time":1576709325672},"0.9.10":{"name":"scroll-behavior","version":"0.9.10","description":"Pluggable browser scroll management","main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.2.1","invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-stage-2":"^6.24.1","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","dirty-chai":"^2.0.1","eslint":"^4.7.2","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"gitHead":"6501ec89868ce1e25e1ea69c6a0daaa1b3fdd263","_id":"scroll-behavior@0.9.10","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"c8953adeeb3586060b903328d860aa8346d62861","size":6463,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.10.tgz"},"maintainers":[{"name":"taion","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior_0.9.10_1549484932140_0.24469157966977972"},"_hasShrinkwrap":false,"publish_time":1549484932245,"_cnpm_publish_time":1549484932245},"0.9.9":{"name":"scroll-behavior","version":"0.9.9","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.2.1","invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-stage-2":"^6.24.1","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","dirty-chai":"^2.0.1","eslint":"^4.7.2","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"scroll-behavior@0.9.9","dist":{"shasum":"ebfe0658455b82ad885b66195215416674dacce2","size":6437,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.9.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior-0.9.9.tgz_1517847124156_0.8075644809287041"},"directories":{},"publish_time":1517847125143,"_hasShrinkwrap":false,"_cnpm_publish_time":1517847125143},"0.9.7":{"name":"scroll-behavior","version":"0.9.7","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.2.1","invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-stage-2":"^6.24.1","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","dirty-chai":"^2.0.1","eslint":"^4.7.2","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","_id":"scroll-behavior@0.9.7","dist":{"shasum":"61249b22df36c37c6d13302604a84bb21b87f1c1","size":6393,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.7.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior-0.9.7.tgz_1517846758236_0.8146172149572521"},"directories":{},"publish_time":1517846759218,"_hasShrinkwrap":false,"_cnpm_publish_time":1517846759218},"0.9.5":{"name":"scroll-behavior","version":"0.9.5","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.2.1","invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-stage-2":"^6.24.1","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","dirty-chai":"^2.0.1","eslint":"^4.7.2","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"gitHead":"493c9b07a9cff42d01489aed0264f49fd56b61ef","_id":"scroll-behavior@0.9.5","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"41da30b559da004eb48450f6cff6068c7696ff23","size":6059,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.5.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior-0.9.5.tgz_1510125579295_0.8896370197180659"},"directories":{},"publish_time":1510125580266,"_cnpm_publish_time":1510125580266,"_hasShrinkwrap":false},"0.9.4":{"name":"scroll-behavior","version":"0.9.4","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.2.1","invariant":"^2.2.2"},"devDependencies":{"babel-cli":"^6.26.0","babel-core":"^6.26.0","babel-eslint":"^7.2.3","babel-loader":"^7.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^4.1.5","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-stage-2":"^6.24.1","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","dirty-chai":"^2.0.1","eslint":"^4.7.2","eslint-config-4catalyzer":"^0.3.0","eslint-plugin-import":"^2.7.0","history":"^2.1.2","karma":"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.4","karma-sinon-chai":"^1.3.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.4","mocha":"^3.5.3","rimraf":"^2.6.2","sinon":"^2.4.1","sinon-chai":"^2.13.0","webpack":"^3.6.0"},"gitHead":"63558230c0210769330f7afd73cae67906bf13d0","_id":"scroll-behavior@0.9.4","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"73b4a0eae3e59c0b8f3b6fc1ff78f054a513e79c","size":5762,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.4.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scroll-behavior-0.9.4.tgz_1507929119748_0.280313883908093"},"directories":{},"publish_time":1507929120703,"_cnpm_publish_time":1507929120703,"_hasShrinkwrap":false},"0.9.3":{"name":"scroll-behavior","version":"0.9.3","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.0.0","invariant":"^2.2.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^2.0.3","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-stage-2":"^6.18.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^3.1.3","dirty-chai":"^1.2.2","eslint":"^3.9.1","eslint-config-4catalyzer":"^0.1.3","eslint-plugin-import":"^1.16.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"e3a852d3b8ee96ddeed531ef4ffc358a4cbcef21","_id":"scroll-behavior@0.9.3","_shasum":"e48bcc8af364f3f07176e8dbca3968bd5e71557b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.4.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"e48bcc8af364f3f07176e8dbca3968bd5e71557b","size":5506,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.3.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.9.3.tgz_1488855315290_0.852308290079236"},"directories":{},"publish_time":1488855317245,"_cnpm_publish_time":1488855317245,"_hasShrinkwrap":false},"0.9.2":{"name":"scroll-behavior","version":"0.9.2","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.0.0","invariant":"^2.2.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^2.0.3","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-stage-2":"^6.18.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^3.1.3","dirty-chai":"^1.2.2","eslint":"^3.9.1","eslint-config-4catalyzer":"^0.1.3","eslint-plugin-import":"^1.16.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"1980638239c0be8b98956f3b36c144dbfa17a228","_id":"scroll-behavior@0.9.2","_shasum":"5c04648b1bd8bb14306410a97de3948c72ee1618","_from":".","_npmVersion":"4.0.2","_nodeVersion":"7.2.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"5c04648b1bd8bb14306410a97de3948c72ee1618","size":5269,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.2.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.9.2.tgz_1481061981129_0.05590658658184111"},"directories":{},"publish_time":1481061981767,"_cnpm_publish_time":1481061981767,"_hasShrinkwrap":false},"0.9.1":{"name":"scroll-behavior","version":"0.9.1","description":"Pluggable browser scroll management","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel src -d lib","lint":"eslint src test *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.0.0","invariant":"^2.2.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^2.0.3","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-stage-2":"^6.18.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^3.1.3","dirty-chai":"^1.2.2","eslint":"^3.9.1","eslint-config-4catalyzer":"^0.1.3","eslint-plugin-import":"^1.16.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"9ae58994196af4fa71565c4512c0fb13e6c83bf0","_id":"scroll-behavior@0.9.1","_shasum":"4a1346edb9297471aead4c2289c5ea1fc2cf709f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"4a1346edb9297471aead4c2289c5ea1fc2cf709f","size":5331,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.9.1.tgz_1478320646258_0.7458278280682862"},"directories":{},"publish_time":1478320647882,"_cnpm_publish_time":1478320647882,"_hasShrinkwrap":false},"0.9.0":{"name":"scroll-behavior","version":"0.9.0","description":"Pluggable browser scroll management","files":["es","lib"],"main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel src -d es","lint":"eslint src test tools *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^3.0.0","invariant":"^2.2.1"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-eslint":"^7.1.0","babel-loader":"^6.2.7","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^2.0.3","babel-polyfill":"^6.16.0","babel-preset-latest":"^6.16.0","babel-preset-stage-2":"^6.18.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^3.1.3","dirty-chai":"^1.2.2","eslint":"^3.9.1","eslint-config-4catalyzer":"^0.1.3","eslint-plugin-import":"^1.16.0","history":"^2.1.2","karma":"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.2.0","karma-mocha-reporter":"^2.2.0","karma-sinon-chai":"^1.2.4","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","mocha":"^3.1.2","rimraf":"^2.5.4","sinon":"^1.17.6","sinon-chai":"^2.8.0","webpack":"^1.13.3"},"gitHead":"aee5f2415634bcbfe5fea7ac463a9ea55fd94130","_id":"scroll-behavior@0.9.0","_shasum":"d649832e236c13b1f89ddee8d0145c60984364aa","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"d649832e236c13b1f89ddee8d0145c60984364aa","size":5670,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.9.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.9.0.tgz_1478300821889_0.5526668676175177"},"directories":{},"publish_time":1478300822434,"_cnpm_publish_time":1478300822434,"_hasShrinkwrap":false},"0.8.2":{"name":"scroll-behavior","version":"0.8.2","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel src -d es","lint":"eslint src test tools *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0","invariant":"^2.2.1"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^1.0.3","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^2.0.0","eslint":"^3.2.2","eslint-config-airbnb-base":"^5.0.1","eslint-plugin-import":"^1.12.0","history":"^2.1.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"7940ee86fbed61adffd3e3fbd53d3061dc4a2b86","_id":"scroll-behavior@0.8.2","_shasum":"ace13e40b001d8d4d007aec0e7fb668cf9043546","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"ace13e40b001d8d4d007aec0e7fb668cf9043546","size":6311,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.8.2.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.8.2.tgz_1475619939055_0.30745374294929206"},"directories":{},"publish_time":1475619940915,"_cnpm_publish_time":1475619940915,"_hasShrinkwrap":false},"0.8.1":{"name":"scroll-behavior","version":"0.8.1","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel src -d es","lint":"eslint src test tools *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0","invariant":"^2.2.1"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^1.0.3","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^2.0.0","eslint":"^3.2.2","eslint-config-airbnb-base":"^5.0.1","eslint-plugin-import":"^1.12.0","history":"^2.1.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"2206538f57a2832fbf82cc9d756031a77ab784af","_id":"scroll-behavior@0.8.1","_shasum":"5f26b8a29b8fb49cfa77c087e2eb25944665470c","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"5f26b8a29b8fb49cfa77c087e2eb25944665470c","size":6312,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.8.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.8.1.tgz_1470449490524_0.09469215222634375"},"directories":{},"publish_time":1470449492486,"_cnpm_publish_time":1470449492486,"_hasShrinkwrap":false},"0.8.0":{"name":"scroll-behavior","version":"0.8.0","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","module":"es/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && babel src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel src -d es","lint":"eslint src test tools *.js","prepublish":"npm run build","tdd":"cross-env NODE_ENV=test karma start","test":"npm run lint && npm run testonly","testonly":"npm run tdd -- --single-run"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0","invariant":"^2.2.1"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.11.4","babel-core":"^6.13.2","babel-eslint":"^6.1.2","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-dev-expression":"^0.2.1","babel-plugin-istanbul":"^1.0.3","babel-polyfill":"^6.13.0","babel-preset-es2015":"^6.13.2","babel-preset-stage-1":"^6.13.0","chai":"^3.5.0","codecov":"^1.0.1","cross-env":"^2.0.0","eslint":"^3.2.2","eslint-config-airbnb-base":"^5.0.1","eslint-plugin-import":"^1.12.0","history":"^2.1.2","karma":"^1.1.2","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.1","karma-mocha-reporter":"^2.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^3.0.1","rimraf":"^2.5.4","webpack":"^1.13.1"},"gitHead":"1aedd4ec30a3a544647571535c1790b60f1545a9","_id":"scroll-behavior@0.8.0","_shasum":"03366914a21946e60ed8c28884a2dc831548e02f","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"03366914a21946e60ed8c28884a2dc831548e02f","size":6251,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.8.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.8.0.tgz_1470445656884_0.9003840929362923"},"directories":{},"publish_time":1470445658993,"_cnpm_publish_time":1470445658993,"_hasShrinkwrap":false},"0.7.0":{"name":"scroll-behavior","version":"0.7.0","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel ./src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel ./src -d es","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && cross-env BABEL_ENV=cjs karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.7.7","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-polyfill":"^6.7.4","babel-preset-es2015":"^6.6.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-es2015-loose-native-modules":"^1.0.0","babel-preset-es2015-native-modules":"^6.6.0","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","cross-env":"^1.0.7","eslint":"^2.9.0","eslint-config-airbnb-base":"^2.0.0","eslint-plugin-import":"^1.6.1","history":"^2.1.1","isparta-loader":"^2.0.0","karma":"^0.13.22","karma-chrome-launcher":"^1.0.1","karma-coverage":"^0.5.5","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.7","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","rimraf":"^2.5.2","webpack":"^1.13.0"},"gitHead":"1ccca3b5f4d477cf9d0e9d5c6b3e5f6e2b12cdb4","_id":"scroll-behavior@0.7.0","_shasum":"8e65ac4ea9c15f93319e482350852b64ef1e296d","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"8e65ac4ea9c15f93319e482350852b64ef1e296d","size":4455,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.7.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.7.0.tgz_1462517174857_0.03663149964995682"},"directories":{},"publish_time":1462517176367,"_cnpm_publish_time":1462517176367,"_hasShrinkwrap":false},"0.6.1":{"name":"scroll-behavior","version":"0.6.1","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel ./src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel ./src -d es","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && cross-env BABEL_ENV=cjs karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.7.7","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-polyfill":"^6.7.4","babel-preset-es2015":"^6.6.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-es2015-loose-native-modules":"^1.0.0","babel-preset-es2015-native-modules":"^6.6.0","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","cross-env":"^1.0.7","eslint":"^2.9.0","eslint-config-airbnb-base":"^2.0.0","eslint-plugin-import":"^1.6.1","history":"^2.1.1","isparta-loader":"^2.0.0","karma":"^0.13.22","karma-chrome-launcher":"^1.0.1","karma-coverage":"^0.5.5","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.7","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","rimraf":"^2.5.2","webpack":"^1.13.0"},"gitHead":"8eb253d4f9c0c75747a662731f42e1e316a52215","_id":"scroll-behavior@0.6.1","_shasum":"01fa270d4360a7774b1504c1b983912e602247b1","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"01fa270d4360a7774b1504c1b983912e602247b1","size":5027,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.6.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.6.1.tgz_1462291908564_0.06843113084323704"},"directories":{},"publish_time":1462291909721,"_cnpm_publish_time":1462291909721,"_hasShrinkwrap":false},"0.6.0":{"name":"scroll-behavior","version":"0.6.0","description":"Scroll management for history","files":["es","lib"],"main":"lib/index.js","jsnext:main":"es/index.js","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && cross-env BABEL_ENV=cjs babel ./src -d lib","build-es":"rimraf es && cross-env BABEL_ENV=es babel ./src -d es","lint":"eslint src test *.js","prepublish":"npm run build","test":"npm run lint && cross-env BABEL_ENV=cjs karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","dependencies":{"dom-helpers":"^2.4.0"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"devDependencies":{"babel-cli":"^6.7.7","babel-core":"^6.7.7","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-add-module-exports":"^0.1.4","babel-polyfill":"^6.7.4","babel-preset-es2015":"^6.6.0","babel-preset-es2015-loose":"^7.0.0","babel-preset-es2015-loose-native-modules":"^1.0.0","babel-preset-es2015-native-modules":"^6.6.0","babel-preset-stage-1":"^6.5.0","chai":"^3.5.0","cross-env":"^1.0.7","eslint":"^2.9.0","eslint-config-airbnb-base":"^2.0.0","eslint-plugin-import":"^1.6.1","history":"^2.1.1","karma":"^0.13.22","karma-chrome-launcher":"^1.0.1","karma-coverage":"^0.5.5","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.7","karma-mocha":"^1.0.1","karma-mocha-reporter":"^2.0.2","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.4.5","rimraf":"^2.5.2","webpack":"^1.13.0"},"gitHead":"ed94437398c8c9fb770ff0f7a84551c5dfc847ab","_id":"scroll-behavior@0.6.0","_shasum":"76fb7dbc6d6f80218e9f1e51d97c479ff61fc754","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"76fb7dbc6d6f80218e9f1e51d97c479ff61fc754","size":4908,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.6.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.6.0.tgz_1462249175667_0.905506752897054"},"directories":{},"publish_time":1462249176916,"_cnpm_publish_time":1462249176916,"_hasShrinkwrap":false},"0.5.0":{"name":"scroll-behavior","version":"0.5.0","description":"Scroll behaviors for use with history","files":["es","lib"],"main":"lib/index.js","jsnext:main":"es/index","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es":"rimraf es && babel ./modules -d es --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","devDependencies":{"babel":"5.x","babel-core":"5.x","babel-eslint":"4.x","babel-loader":"5.x","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^2.0.0","isparta-loader":"1.x","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.13"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"f31e1d3a40248408c88734ae5fa794817fec9dcb","_id":"scroll-behavior@0.5.0","_shasum":"9aabe8cfb679fa3cdf8a9dc9d853b01daf2cb336","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"9aabe8cfb679fa3cdf8a9dc9d853b01daf2cb336","size":6743,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.5.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.5.0.tgz_1462162762973_0.6054198550991714"},"directories":{},"publish_time":1462162763941,"_cnpm_publish_time":1462162763941,"_hasShrinkwrap":false},"0.4.0":{"name":"scroll-behavior","version":"0.4.0","description":"Scroll behaviors for use with history","files":["es","lib"],"main":"lib/index.js","jsnext:main":"es/index","scripts":{"build":"npm run build-cjs && npm run build-es","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es":"rimraf es && babel ./modules -d es --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","devDependencies":{"babel":"5.x","babel-core":"5.x","babel-eslint":"4.x","babel-loader":"5.x","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^2.0.0","isparta-loader":"1.x","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.13"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"b87af43c234fdcf8f05e3492bb588d5c3eeece8a","_id":"scroll-behavior@0.4.0","_shasum":"694d0db87e8b9294e212661b358e0dbc8f753bb5","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.10.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"694d0db87e8b9294e212661b358e0dbc8f753bb5","size":6683,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.4.0.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.4.0.tgz_1460600372453_0.7545324140228331"},"directories":{},"publish_time":1460600374302,"_cnpm_publish_time":1460600374302,"_hasShrinkwrap":false},"0.3.4":{"name":"scroll-behavior","version":"0.3.4","description":"Scroll behaviors for use with history","files":["es6","lib"],"main":"lib/index.js","jsnext:main":"es6/index","scripts":{"build":"npm run build-cjs && npm run build-es6","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es6":"rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","devDependencies":{"babel":"5.x","babel-core":"5.x","babel-eslint":"4.x","babel-loader":"5.x","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^2.0.0","isparta-loader":"1.x","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.13"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"a3c503b11491e93d1fbe10b9dbf4fe21a57aecc0","_id":"scroll-behavior@0.3.4","_shasum":"ea97ed081a6983402d25c1a3647f3e3d4e32c8ea","_from":".","_npmVersion":"2.15.3","_nodeVersion":"5.9.1","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"ea97ed081a6983402d25c1a3647f3e3d4e32c8ea","size":5801,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.3.4.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.3.4.tgz_1459539790752_0.5151837260928005"},"directories":{},"publish_time":1459539793040,"_cnpm_publish_time":1459539793040,"_hasShrinkwrap":false},"0.3.3":{"name":"scroll-behavior","version":"0.3.3","description":"Scroll behaviors for use with history","files":["es6","lib"],"main":"lib/index.js","jsnext:main":"es6/index","scripts":{"build":"npm run build-cjs && npm run build-es6","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es6":"rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/taion/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"homepage":"https://github.com/taion/scroll-behavior#readme","devDependencies":{"babel":"5.x","babel-core":"5.x","babel-eslint":"4.x","babel-loader":"5.x","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^2.0.0","isparta-loader":"1.x","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.13"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"02fe793b1267e672f93588a40c9c94111c095d79","_id":"scroll-behavior@0.3.3","_shasum":"f9ab60a82df5109d8064c5f1213021b56779b0c4","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.4.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"f9ab60a82df5109d8064c5f1213021b56779b0c4","size":5750,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.3.3.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.3.3.tgz_1456933125924_0.35175904585048556"},"directories":{},"publish_time":1456933128634,"_cnpm_publish_time":1456933128634,"_hasShrinkwrap":false},"0.3.2":{"name":"scroll-behavior","version":"0.3.2","description":"Scroll behaviors for use with history","files":["es6","lib"],"main":"lib/index.js","jsnext:main":"es6/index","scripts":{"build":"npm run build-cjs && npm run build-es6","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es6":"rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","devDependencies":{"babel":"5.x","babel-core":"5.x","babel-eslint":"4.x","babel-loader":"5.x","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^2.0.0","isparta-loader":"1.x","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.13"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"df886f775db7b220ea528c45db760c98c40b14e6","_id":"scroll-behavior@0.3.2","_shasum":"252138d8dedb867ac8bcf0ff15b0bc6e8b8c1566","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.4.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"252138d8dedb867ac8bcf0ff15b0bc6e8b8c1566","size":5721,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.3.2.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.3.2.tgz_1455230749771_0.7815252339933068"},"directories":{},"publish_time":1455230753088,"_cnpm_publish_time":1455230753088,"_hasShrinkwrap":false},"0.3.1":{"name":"scroll-behavior","version":"0.3.1","description":"Scroll behaviors for use with history","files":["es6","lib"],"main":"lib/index.js","jsnext:main":"es6/index","scripts":{"build":"npm run build-cjs && npm run build-es6","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es6":"rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","devDependencies":{"babel":"^5.8.29","babel-core":"^5.8.33","babel-eslint":"^4.1.4","babel-loader":"^5.3.3","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^1.13.0","isparta-loader":"^1.0.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.3"},"peerDependencies":{"history":"^1.12.1 || ^2.0.0-rc2"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"4f64cc2eb78801b9feb10118e83b7530ac19876e","_id":"scroll-behavior@0.3.1","_shasum":"29f65744bd5e7fe555ac8bcf17e45c2f6f657f3b","_from":".","_npmVersion":"2.14.15","_nodeVersion":"5.4.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"29f65744bd5e7fe555ac8bcf17e45c2f6f657f3b","size":5525,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.3.1.tgz"},"maintainers":[{"name":"taion","email":""}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/scroll-behavior-0.3.1.tgz_1454521411587_0.4123388903681189"},"directories":{},"publish_time":1454521412907,"_cnpm_publish_time":1454521412907,"_hasShrinkwrap":false},"0.3.0":{"name":"scroll-behavior","version":"0.3.0","description":"Scroll behaviors for use with history","files":["es6","lib"],"main":"lib/index.js","jsnext:main":"es6/index","scripts":{"build":"npm run build-cjs && npm run build-es6","build-cjs":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","build-es6":"rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run test -- --single-run && npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","devDependencies":{"babel":"^5.8.29","babel-core":"^5.8.33","babel-eslint":"^4.1.4","babel-loader":"^5.3.3","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^1.13.0","isparta-loader":"^1.0.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.3"},"peerDependencies":{"history":"^1.12.1"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"457955c319956938cdd4f7b33fe1176d0df02057","_id":"scroll-behavior@0.3.0","_shasum":"94b8fe90233a166a2a5d04712d37a3eee9124a61","_from":".","_npmVersion":"2.14.10","_nodeVersion":"5.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"94b8fe90233a166a2a5d04712d37a3eee9124a61","size":5526,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.3.0.tgz"},"maintainers":[{"name":"taion","email":""}],"directories":{},"publish_time":1447388835285,"_cnpm_publish_time":1447388835285,"_hasShrinkwrap":false},"0.2.0":{"name":"scroll-behavior","version":"0.2.0","description":"Scroll behaviors for use with history","files":["lib"],"main":"lib/index.js","scripts":{"build":"rimraf lib && babel ./modules -d lib --ignore '__tests__'","lint":"eslint modules *.js","prepublish":"npm run test -- --single-run && npm run build","test":"npm run lint && karma start"},"repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","devDependencies":{"babel":"^5.8.29","babel-core":"^5.8.33","babel-eslint":"^4.1.4","babel-loader":"^5.3.3","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","expect":"^1.12.2","history":"^1.13.0","isparta-loader":"^1.0.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.1","karma-coverage":"^0.5.3","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^0.1.6","karma-mocha":"^0.2.0","karma-mocha-reporter":"^1.1.1","karma-sourcemap-loader":"^0.3.6","karma-webpack":"^1.7.0","mocha":"^2.3.3","rimraf":"^2.4.3","webpack":"^1.12.3"},"peerDependencies":{"history":"^1.12.1"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"9d2241ac1456871737b7711027356b4f3053eb44","_id":"scroll-behavior@0.2.0","_shasum":"308b12eec7297f87a03f5e83b7f95ae0610c73e9","_from":".","_npmVersion":"2.14.9","_nodeVersion":"5.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"308b12eec7297f87a03f5e83b7f95ae0610c73e9","size":4544,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.2.0.tgz"},"maintainers":[{"name":"taion","email":""}],"directories":{},"publish_time":1446840779593,"_cnpm_publish_time":1446840779593,"_hasShrinkwrap":false},"0.1.0":{"name":"scroll-behavior","version":"0.1.0","description":"Scroll behaviors for use with history","files":["lib"],"main":"lib/index.js","scripts":{"build":"babel ./modules -d lib --ignore '__tests__'","lint":"eslint modules","mocha":"mocha --compilers js:babel-core/register modules/**/*-test.js","prepublish":"npm run test && npm run build","test":"npm run lint && npm run mocha"},"repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","devDependencies":{"babel":"^5.8.29","babel-core":"^5.8.33","babel-eslint":"^4.1.4","chai":"^3.4.0","eslint":"^1.8.0","eslint-config-rackt":"^1.1.1","history":"^1.13.0","mocha":"^2.3.3"},"peerDependencies":{"history":"^1.12.1"},"dependencies":{"dom-helpers":"^2.4.0"},"gitHead":"b172ceb8e13979af20c32afb972bcbc7aee8d542","_id":"scroll-behavior@0.1.0","_shasum":"fc1bb08719ecb857a4f115359a5494311d4cda17","_from":".","_npmVersion":"2.14.9","_nodeVersion":"5.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"fc1bb08719ecb857a4f115359a5494311d4cda17","size":3659,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.1.0.tgz"},"maintainers":[{"name":"taion","email":""}],"directories":{},"publish_time":1446760706735,"_cnpm_publish_time":1446760706735,"_hasShrinkwrap":false},"0.0.0":{"name":"scroll-behavior","version":"0.0.0","description":"Scroll behaviors for use with history","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/rackt/scroll-behavior.git"},"keywords":["history","location","scroll"],"author":{"name":"Jimmy Jia"},"license":"MIT","bugs":{"url":"https://github.com/rackt/scroll-behavior/issues"},"homepage":"https://github.com/rackt/scroll-behavior#readme","gitHead":"4aac4a23a5d49c70ad8421bfcf2152eee1e7c9a2","_id":"scroll-behavior@0.0.0","scripts":{},"_shasum":"87d13344c64a72f502891d51e1456d914a1fd670","_from":".","_npmVersion":"2.14.9","_nodeVersion":"5.0.0","_npmUser":{"name":"taion","email":"tesrin@gmail.com"},"dist":{"shasum":"87d13344c64a72f502891d51e1456d914a1fd670","size":1399,"noattachment":false,"key":"/scroll-behavior/-/scroll-behavior-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/scroll-behavior/download/scroll-behavior-0.0.0.tgz"},"maintainers":[{"name":"taion","email":""}],"directories":{},"publish_time":1446734048940,"_cnpm_publish_time":1446734048940,"_hasShrinkwrap":false}},"readme":"# scroll-behavior [![Travis][build-badge]][build] [![npm][npm-badge]][npm]\n\nPluggable browser scroll management.\n\n**This library is not generally meant to be used directly by applications. Instead, it's meant to be used in integrations for routing libraries or frameworks. For examples of such integrations, see:**\n\n- [Found Scroll](https://github.com/4Catalyzer/found-scroll): Integration for [Found](https://github.com/4Catalyzer/found)\n- [react-router-scroll](https://github.com/taion/react-router-scroll): Integration for [React Router](https://github.com/reactjs/react-router) v2 and v3\n\n[![Codecov][codecov-badge]][codecov]\n[![Discord][discord-badge]][discord]\n\n## Usage\n\n```js\nimport ScrollBehavior from 'scroll-behavior';\n\n/* ... */\n\nconst scrollBehavior = new ScrollBehavior({\n  addNavigationListener,\n  stateStorage,\n  getCurrentLocation,\n  /* shouldUpdateScroll, */\n});\n\n// After navigation:\nscrollBehavior.updateScroll(/* prevContext, context */);\n```\n\n## Guide\n\n### Installation\n\n```\n$ npm i -S scroll-behavior\n```\n\n### Basic usage\n\nCreate a `ScrollBehavior` object with the following arguments:\n\n- `addNavigationListener`: this function should take a navigation listener function and return an unlisten function\n  - The navigation listener function should be called immediately before navigation updates the page\n  - The unlisten function should remove the navigation listener when called\n- `stateStorage`: this object should implement `read` and `save` methods\n  - The `save` method should take a location object, a nullable element key, and a truthy value; it should save that value for the duration of the page session\n  - The `read` method should take a location object and a nullable element key; it should return the value that `save` was called with for that location and element key, or a falsy value if no saved value is available\n- `getCurrentLocation`: this function should return the current location object\n\nThis object will keep track of the scroll position. Call the `updateScroll` method on this object after navigation to emulate the default browser scroll behavior on page changes.\n\nCall the `stop` method to tear down all listeners.\n\n### Custom scroll behavior\n\nYou can customize the scroll behavior by providing a `shouldUpdateScroll` callback when constructing the `ScrollBehavior` object. When you call `updateScroll`, you can pass in up to two additional context arguments, which will get passed to this callback.\n\nThe callback can return:\n\n- a falsy value to suppress updating the scroll position\n- a position array of `x` and `y`, such as `[0, 100]`, to scroll to that position\n- a string with the `id` or `name` of an element, to scroll to that element\n- a truthy value to emulate the browser default scroll behavior\n\nAssuming we call `updateScroll` with the previous and current location objects:\n\n```js\nconst scrollBehavior = new ScrollBehavior({\n  ...options,\n  shouldUpdateScroll: (prevLocation, location) =>\n    // Don't scroll if the pathname is the same.\n    !prevLocation || location.pathname !== prevLocation.pathname,\n});\n```\n\n```js\nconst scrollBehavior = new ScrollBehavior({\n  ...options,\n  shouldUpdateScroll: (prevLocation, location) =>\n    // Scroll to top when attempting to visit the current path.\n    prevLocation && location.pathname === prevLocation.pathname\n      ? [0, 0]\n      : true,\n});\n```\n\n### Scrolling elements other than `window`\n\nCall the `registerElement` method to register an element other than `window` to have managed scroll behavior. Each of these elements needs to be given a unique key at registration time, and can be given an optional `shouldUpdateScroll` callback that behaves as above. This method should also be called with the current context per `updateScroll` above, if applicable, to set up the element's initial scroll position.\n\n```js\nscrollBehavior.registerScrollElement(\n  key,\n  element,\n  shouldUpdateScroll,\n  context,\n);\n```\n\nTo unregister an element, call the `unregisterElement` method with the key used to register that element.\n\n### Further scroll behavior customization\n\nIf you need to further customize scrolling behavior, subclass the `ScrollBehavior` class, then override methods as needed. For example, with the appropriate polyfill, you can override `scrollToTarget` to use smooth scrolling for `window`.\n\n```js\nclass SmoothScrollBehavior extends ScrollBehavior {\n  scrollToTarget(element, target) {\n    if (element !== window) {\n      super.scrollToTarget(element, target);\n      return;\n    }\n\n    if (typeof target === 'string') {\n      const targetElement =\n        document.getElementById(target) ||\n        document.getElementsByName(target)[0];\n      if (targetElement) {\n        targetElement.scrollIntoView({ behavior: 'smooth' });\n        return;\n      }\n\n      // Fallback to scrolling to top when target fragment doesn't exist.\n      target = [0, 0]; // eslint-disable-line no-param-reassign\n    }\n\n    const [left, top] = target;\n    window.scrollTo({ left, top, behavior: 'smooth' });\n  }\n}\n```\n\nIntegrations should accept a `createScrollBehavior` callback that can create an instance of a custom scroll behavior class.\n\n[build-badge]: https://img.shields.io/travis/taion/scroll-behavior/master.svg\n[build]: https://travis-ci.org/taion/scroll-behavior\n[npm-badge]: https://img.shields.io/npm/v/scroll-behavior.svg\n[npm]: https://www.npmjs.org/package/scroll-behavior\n[codecov-badge]: https://img.shields.io/codecov/c/github/taion/scroll-behavior/master.svg\n[codecov]: https://codecov.io/gh/taion/scroll-behavior\n[discord-badge]: https://img.shields.io/badge/Discord-join%20chat%20%E2%86%92-738bd7.svg\n[discord]: https://discord.gg/0ZcbPKXt5bYaNQ46\n","_attachments":{},"homepage":"https://github.com/taion/scroll-behavior#readme","bugs":{"url":"https://github.com/taion/scroll-behavior/issues"},"license":"MIT"}