{"_id":"@darowasahito/gekko","_rev":"27-0fdfd270288338f54ca7fa936668dd10","name":"@darowasahito/gekko","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@darowasahito/gekko","version":"1.0.0","keywords":["smooth","scroll","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.0","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"60fcf06a581d6951124ba8448a99c88bbf6a0d45","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.0.tgz","fileCount":10,"integrity":"sha512-PTA+qQOzYnyRqxnUHtE/RzOxaueVP4/O8p73Gn4+0sbieDnwK7IFcPTDkdpDTPjQulUwmgXAPXMi+fQccOUKSA==","signatures":[{"sig":"MEYCIQD4hDvp9LL6DjtqCeJLRCAuAdipY19QjfztPuj90c9S6wIhAP8yDIl9j0V5PRrj7YIrg8OySi0ZXHkXgS5Dy5cOAgII","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22739},"main":"./dist/gekko.umd.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.umd.cjs"},"gitHead":"d6110335385fd540173c87aec4de7bbd0f3071df","private":false,"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"9.8.0","description":"smoothscroll library","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.0_1716452274532_0.589045327509979","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@darowasahito/gekko","version":"1.0.1","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.1","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"7d8aa1c42f1711fd0345375845f5aac29865b52d","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.1.tgz","fileCount":10,"integrity":"sha512-RDDEREGtcNKypjC/tC7ofuVsJP09MX8vz8OgI/vo/H3BBCuFrV6ksemksROYoLJhiVVL+vH/n2D/hNL6BaHDiA==","signatures":[{"sig":"MEUCIQDmlqsAczpso/HChdwyWxXh+CQO7NnZHGZsBqlzC9IzpQIgTFea/mx5dmFld/dZyjOisPqxC6U51v+Lw9eRGKInQ4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22361},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"837b778ecd10426f03ea68d46d75b913d36c09fa","private":false,"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"9.8.0","description":"smoothscroll library","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.1_1716458156443_0.09405335296941142","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@darowasahito/gekko","version":"1.0.2","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.2","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"11238a6d1b212986554775e85cc18eaa0092eb83","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.2.tgz","fileCount":11,"integrity":"sha512-3c5pMMEds+hIkXTsuComXdSrIQSEcC+nXtHg0nLN5xWavIxdYTP5sUsYLNta1OESs3TxgqM7KYGZdpxIdFkVag==","signatures":[{"sig":"MEQCIEvm2JhmeUsBGvMUjdMrWX5ptZWII4t1BwUNZ6a6ONvsAiBRVZWc/W3hrYG9Am6y2XkezdF6hnolXdmgTAZoEWd7gA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35455},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"36119364825eb2737951447d7525dc9c4c18f96a","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"9.8.0","description":"smoothscroll library","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.2_1718010364352_0.011957943744008048","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@darowasahito/gekko","version":"1.0.3","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.3","homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"4a6f99248b68d46af12bcf11bd081f3009d66cbc","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.3.tgz","fileCount":11,"integrity":"sha512-TDYJ8nVu2cnMthI1qO8mzS7OW65xgzoDlkquYjDEVDF77uUzvb690whmdiStO9OS2ggi1EP9I669ivGzJ9ynmQ==","signatures":[{"sig":"MEQCIGzzM80lDfuvkJbUF+6DY4UCcSnrA9GuFmRdKt1ycLTBAiAxnVpTJr4g9TrD3x7FxCZtUzpCOkNgTjolpLdasZ/4Zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35357},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"2722d6cf7a6667e1df1a3890c10be28acbe61e4c","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"9.8.0","description":"smoothscroll library","directories":{},"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.3_1718958707075_0.2186926526415165","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@darowasahito/gekko","version":"1.0.4","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.4","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"d54b967e6f6b642b3a2d22a40fb38110b081ed85","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.4.tgz","fileCount":11,"integrity":"sha512-wZmHJBoMRWaGdweX8rPN3WGD9EB8JVT7dNnvtpUC9O6Z0NTRMt86SZxlpHh+4ovDfxWqsmuG+xKHDUwIbvwRTg==","signatures":[{"sig":"MEQCIAlr3BR2KN5p7XVETptEvlMxD0KZqz5kp2jN+KEj7pv6AiAsKFv5OQjeVltcZy7L89Y/QKKe9wLv8X2iIIHQsXr84A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36305},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"fdefcd8d1715c1ee1a4bad27001b41a0e5e5c49a","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"10.8.2","description":"smoothscroll library","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.4_1765427731759_0.8983666985144554","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@darowasahito/gekko","version":"1.0.5","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.5","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"5c7fb90d2e7ea98c50bd7cedd80a0a4f195bcc19","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.5.tgz","fileCount":11,"integrity":"sha512-MUQveM6m25vjYoFxsMADm7ThhKUq4NQLy6NjPiKgYqw+SqLtTToeFUsrHcx6gz/p+O4mCGMB1gnD1H6JvwX0VA==","signatures":[{"sig":"MEUCIFgCMq3nJ5uJ8HHETKkwvXlDXRLe1UfoxeH6jEVENmhOAiEAn04IbgZaul2r2y6yDQT3FPMhgNm3/UL/TXakp9ypw5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36419},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"df8d6ac1007a611476d271b236f3bd30dd932d6e","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"10.8.2","description":"smoothscroll library","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.5_1770424397430_0.15310505465454027","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@darowasahito/gekko","version":"1.0.6","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.6","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"526b4ab51d2cbe1ef862f89c85855c925358b89d","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.6.tgz","fileCount":11,"integrity":"sha512-FG88XGi7MUM7eVyKJRIuKj5+tKhBu3tFnR1Kza5c7ElpCkU+r5XtLpgupqiLLVsI2jZbTEFvbP94e8ncxp1x9Q==","signatures":[{"sig":"MEYCIQDKa2ULVJ2ZYkhuMomTE3zfTNKBjZaeXSzxyw4ZXrAn/gIhAKDOwra6mPeq7PzI/wEOtpFbIV6nKyMcjRiYS/XK0rIs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38718},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"d09518569ceac84d29eae4cfd65f49b47033c372","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"10.8.2","description":"smoothscroll library","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.6_1770428517252_0.5088444573637367","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@darowasahito/gekko","version":"1.0.7","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"author":{"name":"darowasahito"},"license":"MIT","_id":"@darowasahito/gekko@1.0.7","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"dist":{"shasum":"876a5add869cbd8c6fa80c9053494d3ce3caf795","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.0.7.tgz","fileCount":11,"integrity":"sha512-8kRviifdeL0w/NlYsy5/iIdWIWglmOjq5APs9Gld87iHxB/9N5rPvAG1hBdIE/xp7LN9P1h+uQuIzMPps2LNeQ==","signatures":[{"sig":"MEUCIQCjEjf49qh5gj9+COqPka65JkHBwxcM74KyawTeujO4/QIgKNBszXhVW5yyjUooXqe6BsLFCdjxAasn+6DavJC9QA0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38632},"main":"./dist/gekko.min.js","type":"module","types":"./dist/gekko.d.ts","module":"./dist/gekko.es.js","exports":{"types":"./dist/gekko.d.ts","import":"./dist/gekko.es.js","require":"./dist/gekko.min.js"},"gitHead":"db06f4afa2ab5deba675dac1951dc9c0fad46607","private":false,"scripts":{"dev":"vite","test":"vite --config test/vite.config.js","build":"tsc && vite build","build:test":"tsc && vite build --config test/vite.config.js"},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"repository":{"url":"git+https://github.com/koishikawa-inc/gekko.git","type":"git"},"_npmVersion":"10.8.2","description":"smoothscroll library","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"vite":"^3.2.3","typescript":"^4.6.4","vite-plugin-dts":"^3.9.1"},"_npmOperationalInternal":{"tmp":"tmp/gekko_1.0.7_1770698083133_0.9137536225303069","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@darowasahito/gekko","description":"smoothscroll library","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"repository":{"type":"git","url":"git+https://github.com/koishikawa-inc/gekko.git"},"private":false,"version":"1.1.0","author":{"name":"darowasahito"},"license":"MIT","homepage":"https://github.com/koishikawa-inc/gekko#readme","bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"type":"module","main":"./dist/gekko.min.js","module":"./dist/gekko.es.js","types":"./dist/gekko.d.ts","exports":{"require":"./dist/gekko.min.js","import":"./dist/gekko.es.js","types":"./dist/gekko.d.ts"},"scripts":{"dev":"vite","build":"tsc && vite build","test":"vite --config test/vite.config.js","build:test":"tsc && vite build --config test/vite.config.js"},"devDependencies":{"typescript":"^4.6.4","vite":"^3.2.3","vite-plugin-dts":"^3.9.1"},"_id":"@darowasahito/gekko@1.1.0","gitHead":"ee38f706995ce7c0938cb9f2e15bd2df5b3faab6","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Zy3w6FUcxxy6DEfGbopOI4PfURndPQKXw/H8q5AD1JnYMAf/lzq4Uc2UKZZIBrn4Y1+PXS92RWtWZX6My8b8Bw==","shasum":"711f9b1da89cc6c78f2231a01a683abd569eb0f0","tarball":"https://registry.npmjs.org/@darowasahito/gekko/-/gekko-1.1.0.tgz","fileCount":11,"unpackedSize":40230,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBl7MS784BCcc+h+Vbm/V5bnnkGsIYYV4Do9jNqeFOUIAiEA5/Hx45rPEi3sUISu+WytHuM3V2Jf34zMaLk5krAnmAk="}]},"_npmUser":{"name":"darowasahito","email":"darowasahito@icloud.com"},"directories":{},"maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gekko_1.1.0_1775704529073_0.5273695412352872"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-23T05:39:19.201Z","modified":"2026-04-09T03:15:29.338Z","0.0.1":"2024-05-23T05:39:19.465Z","0.0.2":"2024-05-23T06:01:47.240Z","0.0.3":"2024-05-23T06:05:32.686Z","0.0.4":"2024-05-23T06:27:46.641Z","0.0.5":"2024-05-23T06:30:09.415Z","0.0.7":"2024-05-23T07:18:41.779Z","0.0.8":"2024-05-23T08:01:46.079Z","0.0.9":"2024-05-23T08:03:27.638Z","0.1.0":"2024-05-23T08:11:35.510Z","1.0.0":"2024-05-23T08:17:54.687Z","1.0.1":"2024-05-23T09:55:56.620Z","1.0.2":"2024-06-10T09:06:04.551Z","1.0.3":"2024-06-21T08:31:47.325Z","1.0.4":"2025-12-11T04:35:31.905Z","1.0.5":"2026-02-07T00:33:17.577Z","1.0.6":"2026-02-07T01:41:57.397Z","1.0.7":"2026-02-10T04:34:43.306Z","1.1.0":"2026-04-09T03:15:29.226Z"},"bugs":{"url":"https://github.com/koishikawa-inc/gekko/issues"},"author":{"name":"darowasahito"},"license":"MIT","homepage":"https://github.com/koishikawa-inc/gekko#readme","keywords":["smooth","scroll","javascript","typescript","ヤモリ","スムーススクロール"],"repository":{"type":"git","url":"git+https://github.com/koishikawa-inc/gekko.git"},"description":"smoothscroll library","maintainers":[{"name":"darowasahito","email":"darowasahito@icloud.com"}],"readme":"# Gekko\n\nスムーススクロールライブラリ。\n\nGekko は フィンランド語でヤモリを意味する言葉です。\n\n## 特徴\n- 他のライブラリに依存しません\n- Typescript対応\n\n## できること\n\n- アンカーリンクまでアニメーションでスクロール\n- 外部ページから遷移時にアニメーションでスクロール\n- 位置調整（ヘッダーなど）\n- 絶対パス、相対パスに対応\n- data-gekko=\"no-smooth\" 追加でアニメーション無効\n- スクロール開始時に「beforeScroll」イベントを発火\n- スクロール終了時に「afterScroll」イベントを発火\n- スクロール中断時に「stopScroll」イベントを発火\n- メソッド制御\n\n## 使い方\n\n\n### import して使う場合\n\n```sh\nnpm install @darowasahito/gekko\n```\n\n```javascript\nimport Gekko from \"@darowasahito/gekko\";\n\nconst gekko = new Gekko();\n```\n\n### CDNから読み込んでして使う場合\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@darowasahito/gekko/dist/gekko.min.js\"></script>\n\n<script>\n  const gekko = new Gekko();\n</script>\n```\n\n### ダウンロードして使う場合\n\ndist/gekko.min.js を良きディレクトリに設置\n\n```html\n<script src=\"ディレクトリ/gekko.min.js\"></script>\n\n<script>\n  const gekko = new Gekko();\n</script>\n```\n\n\n\n## オプション\n\n### デフォルト\n\n| プロパティ | 型                                                                                                                                                                                                                                                                                                                                                                                                                      | デフォルト | 説明                                                                                                                            |\n| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------- |\n| speed      | number                                                                                                                                                                                                                                                                                                                                                                                                                  | 1000       | アニメーションスピード。  isSpeedAsDuration が false のとき、1 秒間に移動するピクセル量。  isSpeedAsDuration が true のとき、アニメーション時間 |\n| isSpeedAsDuration | boolean                                                                                                                                                                                                                                                                                                                                                                                                                 | false      | speed をアニメーション時間(duration)として扱うかどうか                                                                          |\n| delay      | number                                                                                                                                                                                                                                                                                                                                                                                                                  | 0          | 遅延 ミリ秒                                                                                                                     |\n| easing     | いずれかの文字列 'inQuad', 'outQuad' , 'inOutQuad' , 'inCubic' , 'outCubic' , 'inOutCubic' , 'inQuart' , 'outQuart' , 'inOutQuart' , 'inQuint' , 'outQuint' , 'inOutQuint' , 'inSine' , 'outSine' , 'inOutSine' , 'inExpo' , 'outExpo' , 'inOutExpo' , 'inCirc' , 'outCirc' , 'inOutCirc' , 'inElastic' , 'outElastic' , 'inOutElastic' , 'inBack' , 'outBack' , 'inOutBack' , 'inBounce' , 'outBounce' , 'inOutBounce' | 'outQuad'  | イージング                                                                                                                      |\n| offset     | number \\| string \\| () => number                                                                                                                                                                                                                                                                                                                                                                                                               | 0          | スクロール位置をずらす。  <br>number: 数値を指定。指定ピクセル分ずらす。 <br>string: セレクタを指定。該当セレクタの高さ分ずらす。<br> () => number: 数値を返す関数を指定。引数なし。返り値の数値分ずらす。\n\n## イベント\n\n```javascript\nconst gekko = new Gekko();\n\n//スクロール開始時\ngekko.on(\"beforeScroll\", (anchor) => {\n  /*　anchor: 移動先のアンカー */\n});\n\n// スクロール終了時\ngekko.on(\"afterScroll\", (anchor) =>  {\n  /*　anchor: 移動先のアンカー */\n});\n\n// スクロール中断時\ngekko.on(\"stopScroll\", (anchor) =>  {\n  /*　anchor: 移動先のアンカー */\n});\n```\n\n## メソッド\n\n```javascript\nconst gekko = new Gekko();\n\n// #anchor までスムーススクロール\ngekko.scroll(\"#anchor\");\n\n// スムーススクロール停止\ngekko.stop();\n\n// オプション更新\ngekko.options( オプション );\n\n// gekko破棄\ngekko.destory();\n```\n\n## スムーススクロール無効化\n\n```data-gekko=\"no-smooth\"```がついたアンカーリンクは、スムーススクロールしません。\n\n```html\n<a href=\"#anchor\" data-gekko=\"no-smooth\">アンカーリンク</a>\n```\n\n## 参考\n\n[cferdinandi/smooth-scroll](https://github.com/cferdinandi/smooth-scroll)  \nvanilla js 化するにあたって参考にしました。\n\n[jQuery Easing](http://gsgd.co.uk/sandbox/jquery/easing/)  \nイージングのロジックを使っています。\n","readmeFilename":"readme.md"}