{"_id":"nanopop","_rev":"4559501","name":"nanopop","description":"Ultra tiny, opinionated, positioning engine.","dist-tags":{"latest":"2.4.2"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"time":{"modified":"2026-04-09T17:53:46.000Z","created":"2020-05-08T15:26:24.562Z","2.4.2":"2024-01-26T12:09:36.377Z","2.4.1":"2024-01-19T05:13:18.905Z","2.4.0":"2024-01-17T16:05:08.997Z","2.3.0":"2023-04-15T12:34:06.394Z","2.2.0":"2022-09-03T13:11:50.063Z","2.1.0":"2020-08-24T07:58:10.513Z","2.0.0":"2020-08-19T11:04:28.796Z","1.3.0":"2020-05-19T11:57:35.679Z","1.2.0":"2020-05-12T11:51:48.754Z","1.1.3":"2020-05-11T16:01:20.924Z","1.1.2":"2020-05-11T15:55:04.499Z","1.1.1":"2020-05-09T15:57:41.139Z","1.1.0":"2020-05-09T15:20:15.061Z","1.0.0":"2020-05-08T15:26:24.562Z"},"users":{},"author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"versions":{"2.4.2":{"name":"nanopop","version":"2.4.2","description":"Ultra tiny, opinionated, positioning engine.","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","packageManager":"pnpm@8.0.0","main":"./dist/nanopop.umd.js","module":"./dist/nanopop.mjs","types":"./dist/src/index.d.ts","exports":{".":{"import":"./dist/nanopop.mjs","require":"./dist/nanopop.umd.js","types":"./dist/src/index.d.ts"}},"keywords":["positioning","popper","utility","positioning engine"],"scripts":{"dev":"vite","build":"vite build","serve":"vite preview --port 3005 --outDir .","lint":"eslint ./{src,tests}/**/*.ts","lint:fix":"npm run lint -- --fix","test":"playwright test","test:ci":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@playwright/test":"1.41.0","@typescript-eslint/eslint-plugin":"6.19.0","@typescript-eslint/parser":"6.19.0","eslint":"8.56.0","typescript":"5.3.3","vite":"5.0.11","vite-plugin-banner":"0.7.1","vite-plugin-dts":"3.7.1"},"_id":"nanopop@2.4.2","gitHead":"5a5335b1bdb2f3dcbb0533c75adec781250dc606","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"b55482135be7e64f2d0f5aa8ef51a58104ac7b13","size":12302,"noattachment":false,"key":"/nanopop/-/nanopop-2.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.4.2.tgz"},"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.4.2_1706270976207_0.49982738649505376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-26T12:09:36.377Z","publish_time":1706270976377,"_source_registry_name":"default","_cnpm_publish_time":1706270976377},"2.4.1":{"name":"nanopop","version":"2.4.1","description":"Ultra tiny, opinionated, positioning engine.","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","packageManager":"pnpm@8.0.0","main":"./dist/nanopop.umd.js","module":"./dist/nanopop.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/nanopop.mjs","require":"./dist/nanopop.umd.js"}},"keywords":["positioning","popper","utility","positioning engine"],"scripts":{"dev":"vite","build":"vite build","serve":"vite preview --port 3005 --outDir .","lint":"eslint ./{src,tests}/**/*.ts","lint:fix":"npm run lint -- --fix","test":"playwright test","test:ci":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@playwright/test":"1.41.0","@typescript-eslint/eslint-plugin":"6.19.0","@typescript-eslint/parser":"6.19.0","eslint":"8.56.0","typescript":"5.3.3","vite":"5.0.11","vite-plugin-banner":"0.7.1","vite-plugin-dts":"3.7.1"},"_id":"nanopop@2.4.1","gitHead":"2c6b08f7592fa38df6469e492844d05ea88dc09a","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"b2cc7eadec637c891dd449d054fd833450176f28","size":12287,"noattachment":false,"key":"/nanopop/-/nanopop-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.4.1.tgz"},"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.4.1_1705641198752_0.27975386266264346"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-19T05:13:18.905Z","publish_time":1705641198905,"_source_registry_name":"default","_cnpm_publish_time":1705641198905},"2.4.0":{"name":"nanopop","version":"2.4.0","description":"Ultra tiny, opinionated, positioning engine.","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","packageManager":"pnpm@8.0.0","engines":{"node":"^20"},"main":"./dist/nanopop.umd.js","module":"./dist/nanopop.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/nanopop.mjs","require":"./dist/nanopop.umd.js"}},"keywords":["positioning","popper","utility","positioning engine"],"scripts":{"dev":"vite","build":"vite build","serve":"vite preview --port 3005 --outDir .","lint":"eslint ./{src,tests}/**/*.ts","lint:fix":"npm run lint -- --fix","test":"playwright test","test:ci":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@playwright/test":"1.41.0","@typescript-eslint/eslint-plugin":"6.19.0","@typescript-eslint/parser":"6.19.0","eslint":"8.56.0","typescript":"5.3.3","vite":"5.0.11","vite-plugin-banner":"0.7.1","vite-plugin-dts":"3.7.1"},"_id":"nanopop@2.4.0","gitHead":"ca7f51f00254c003ccbba92e2156f405f74bbb0f","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"ac11c8c5edfad8f1a1e0d02040464c60811d21ee","size":12309,"noattachment":false,"key":"/nanopop/-/nanopop-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.4.0.tgz"},"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.4.0_1705507508835_0.7848411287894592"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-17T16:05:08.997Z","publish_time":1705507508997,"_source_registry_name":"default","_cnpm_publish_time":1705507508997},"2.3.0":{"name":"nanopop","version":"2.3.0","description":"Ultra tiny, opinionated, positioning engine.","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","main":"./dist/nanopop.umd.js","module":"./dist/nanopop.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/nanopop.mjs","require":"./dist/nanopop.umd.js"}},"keywords":["positioning","popper","utility","positioning engine"],"scripts":{"dev":"vite","build":"vite build","serve":"vite preview --port 3005 --outDir .","lint":"eslint ./{src,tests}/**/*.ts","lint:fix":"npm run lint -- --fix","test":"playwright test","test:ci":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@playwright/test":"^1.32.3","@typescript-eslint/eslint-plugin":"^5.58.0","@typescript-eslint/parser":"^5.58.0","eslint":"^8.38.0","playwright-chromium":"^1.32.3","playwright-firefox":"^1.32.3","playwright-webkit":"^1.32.3","typescript":"^5.0.4","vite":"^4.2.1","vite-plugin-banner":"^0.7.0","vite-plugin-dts":"^2.2.0"},"gitHead":"491358201a886f2cb5dcaf741d4c7715b3708d72","_id":"nanopop@2.3.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"a5f672fba27d45d6ecbd0b59789c040072915123","size":11600,"noattachment":false,"key":"/nanopop/-/nanopop-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.3.0.tgz"},"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.3.0_1681562046173_0.5677880696033244"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-15T12:34:06.394Z","publish_time":1681562046394,"_cnpm_publish_time":1681562046394},"2.2.0":{"name":"nanopop","version":"2.2.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","serve":"serve . -p 3000","lint":"eslint './{src,tests}/**/*.ts'","lint:fix":"npm run lint -- --fix","test":"playwright test","test:ci":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@playwright/test":"^1.25.1","@rollup/plugin-replace":"^4.0.0","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.36.1","@typescript-eslint/parser":"^5.36.1","concurrently":"^7.3.0","eslint":"^8.23.0","jest":"^28.1.3","jest-environment-puppeteer":"^6.1.1","jest-image-snapshot":"^5.2.0","jest-playwright-preset":"^2.0.0","playwright-chromium":"^1.25.1","playwright-firefox":"^1.25.1","playwright-webkit":"^1.25.1","rollup":"^2.79.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-ts":"^3.0.2","serve":"^14.0.1","typescript":"^4.8.2"},"gitHead":"c012fff67a2e1682cd166ea5296998a4d975907b","_id":"nanopop@2.2.0","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"shasum":"bd1c25588a7beaf68865bc2df19db4c58c77dcc9","size":10289,"noattachment":false,"key":"/nanopop/-/nanopop-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.2.0.tgz"},"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.2.0_1662210709904_0.8985028868344898"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-03T13:11:54.419Z","publish_time":1662210710063,"_cnpm_publish_time":1662210710063},"2.1.0":{"name":"nanopop","version":"2.1.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest","dry":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.3","@types/ws":"^7.2.6","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.0","@wessberg/rollup-plugin-ts":"^1.3.2","concurrently":"^5.3.0","eslint":"^7.6.0","eslint-config-simon":"^2.1.0","jest":"^26.4.0","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^4.1.0","jest-playwright-preset":"^1.3.1","playwright-chromium":"^1.3.0","playwright-firefox":"^1.3.0","playwright-webkit":"^1.3.0","rollup":"^2.25.0","rollup-plugin-terser":"^7.0.0","serve":"^11.3.2","typescript":"^3.9.7"},"gitHead":"e52fefbca50e82ab5fb64cd98aa35dead8699ed4","_id":"nanopop@2.1.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.8","dist":{"shasum":"23476513cee2405888afd2e8a4b54066b70b9e60","size":10497,"noattachment":false,"key":"/nanopop/-/nanopop-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.1.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.1.0_1598255890349_0.5769229107388707"},"_hasShrinkwrap":false,"publish_time":1598255890513,"_cnpm_publish_time":1598255890513},"2.0.0":{"name":"nanopop","version":"2.0.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest","dry":"npm run lint:fix && npm run build && npm test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.3","@types/ws":"^7.2.6","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.0","@wessberg/rollup-plugin-ts":"^1.3.2","concurrently":"^5.3.0","eslint":"^7.6.0","eslint-config-simon":"^2.1.0","jest":"^26.4.0","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^4.1.0","jest-playwright-preset":"^1.3.1","playwright-chromium":"^1.3.0","playwright-firefox":"^1.3.0","playwright-webkit":"^1.3.0","rollup":"^2.25.0","rollup-plugin-terser":"^7.0.0","serve":"^11.3.2","typescript":"^3.9.7"},"gitHead":"9186b3673c77ffb6cb146d61e570cdc3023a233b","_id":"nanopop@2.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.6","dist":{"shasum":"d5ef16616d03da5028ae6601ca0e1af446a6b922","size":10139,"noattachment":false,"key":"/nanopop/-/nanopop-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-2.0.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_2.0.0_1597835068681_0.6113575625848517"},"_hasShrinkwrap":false,"publish_time":1597835068796,"_cnpm_publish_time":1597835068796},"1.3.0":{"name":"nanopop","version":"1.3.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^7.0.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^4.0.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.1.0","rollup":"^2.10.4","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.9.2"},"gitHead":"539de9558a113ca6548a0d7d316ae8c65d7817d5","_id":"nanopop@1.3.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"831df018169fb0a699d55a8d70a2ecd82abe7d00","size":9210,"noattachment":false,"key":"/nanopop/-/nanopop-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.3.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.3.0_1589889455579_0.9377187912622222"},"_hasShrinkwrap":false,"publish_time":1589889455679,"_cnpm_publish_time":1589889455679},"1.2.0":{"name":"nanopop","version":"1.2.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest --runInBand","dry":"npm run lint:fix && npm run build && npm run test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^3.1.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.0.4","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.8.3"},"gitHead":"c077a1c47e043eadb568d7954f96ff19494d69f2","_id":"nanopop@1.2.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"dea84faa62d0ab0447ac6bdac8831c255c05a305","size":8981,"noattachment":false,"key":"/nanopop/-/nanopop-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.2.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.2.0_1589284308639_0.19190785879661654"},"_hasShrinkwrap":false,"publish_time":1589284308754,"_cnpm_publish_time":1589284308754},"1.1.3":{"name":"nanopop","version":"1.1.3","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest --runInBand","dry":"npm run lint:fix && npm run build && npm run test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^3.1.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.0.4","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.8.3"},"gitHead":"778970940d9e30522ef3877952bb8121f74818b2","_id":"nanopop@1.1.3","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"15df3c106e4203c87f3d4c3d7b721e694ff48831","size":9342,"noattachment":false,"key":"/nanopop/-/nanopop-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.1.3.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.1.3_1589212880821_0.7087489223708681"},"_hasShrinkwrap":false,"publish_time":1589212880924,"_cnpm_publish_time":1589212880924},"1.1.2":{"name":"nanopop","version":"1.1.2","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest --runInBand","dry":"npm run lint:fix && npm run build && npm run test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^3.1.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.0.4","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.8.3"},"gitHead":"908cbc4fdbd5b0673e0a7cf3f68eb6621698cc1e","_id":"nanopop@1.1.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"f0179a4622d02090f276036cf147320d4c15f949","size":9343,"noattachment":false,"key":"/nanopop/-/nanopop-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.1.2.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.1.2_1589212504400_0.08782661581114892"},"_hasShrinkwrap":false,"publish_time":1589212504499,"_cnpm_publish_time":1589212504499},"1.1.1":{"name":"nanopop","version":"1.1.1","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest --runInBand","dry":"npm run lint:fix && npm run build && npm run test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^3.1.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.0.4","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.8.3"},"gitHead":"10fc08010b8d2dea4fbb5da13b883965a2a3d24b","_id":"nanopop@1.1.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"a7b957bfd33e1e254a7311f610e128bde17b82d0","size":8748,"noattachment":false,"key":"/nanopop/-/nanopop-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.1.1.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.1.1_1589039861050_0.14222486613963015"},"_hasShrinkwrap":false,"publish_time":1589039861139,"_cnpm_publish_time":1589039861139},"1.1.0":{"name":"nanopop","version":"1.1.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.prod.js","dev":"concurrently \"rollup -c rollup.config.dev.js --watch\" \"serve .\"","lint":"eslint ./src/**/*.ts ./tests/**/*.js","lint:fix":"eslint ./src/**/*.ts ./tests/**/*.js --fix","test":"jest --runInBand","dry":"npm run lint:fix && npm run build && npm run test"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","concurrently":"^5.2.0","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","jest":"^26.0.1","jest-environment-puppeteer":"^4.4.0","jest-image-snapshot":"^3.1.0","jest-puppeteer":"^4.4.0","puppeteer":"^3.0.4","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","serve":"^11.3.0","typescript":"^3.8.3"},"gitHead":"d5c3599670b47b53b86606ab9f6b339b2379c519","_id":"nanopop@1.1.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"8a4e427a90078c681c68793330feee4b80fb3cec","size":8742,"noattachment":false,"key":"/nanopop/-/nanopop-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.1.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.1.0_1589037614901_0.050941344912968756"},"_hasShrinkwrap":false,"publish_time":1589037615061,"_cnpm_publish_time":1589037615061},"1.0.0":{"name":"nanopop","version":"1.0.0","description":"Ultra tiny, opinionated, positioning engine.","main":"./lib/nanopop.min.js","module":"./lib/nanopop.min.mjs","author":{"name":"Simon Reinisch","email":"trash@reinisch.io"},"license":"MIT","types":"./lib/nanopop.min.d.ts","keywords":["positioning","popper","utility","positioning engine"],"scripts":{"build":"rollup -c rollup.config.js","lint":"eslint ./src/**/*.ts","lint:fix":"eslint ./src/**/*.ts --fix"},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"repository":{"type":"git","url":"git+https://github.com/Simonwep/nanopop.git"},"devDependencies":{"@rollup/plugin-replace":"^2.3.2","@types/ws":"^7.2.4","@typescript-eslint/eslint-plugin":"^2.31.0","@typescript-eslint/parser":"^2.31.0","@wessberg/rollup-plugin-ts":"^1.2.24","eslint":"^6.8.0","eslint-config-simon":"^1.3.0","rollup":"^2.8.2","rollup-plugin-terser":"^5.3.0","typescript":"^3.8.3"},"gitHead":"6f8dbfa1a5176ea227edeebb170c1d840f4c6fa9","_id":"nanopop@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"shasum":"6f2f6dae602625868a4c18c390b5f7cb74ff393f","size":8840,"noattachment":false,"key":"/nanopop/-/nanopop-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nanopop/download/nanopop-1.0.0.tgz"},"maintainers":[{"name":"simonwep","email":"toports@gmx.de"}],"_npmUser":{"name":"simonwep","email":"simon@reinisch.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanopop_1.0.0_1588951584461_0.4075464833446152"},"_hasShrinkwrap":false,"publish_time":1588951584562,"_cnpm_publish_time":1588951584562}},"readme":"<h3 align=\"center\">\n    <img src=\"https://user-images.githubusercontent.com/30767528/81419142-155b4100-914e-11ea-913b-cb9f0cccd4e2.png\" width=\"500\" alt=\"Logo\">\n</h3>\n\n<h3 align=\"center\">\n    Ultra Tiny, Opinionated Positioning Engine\n</h3>\n\n<p align=\"center\">\n  <img alt=\"gzip size\" src=\"https://img.badgesize.io/https://cdn.jsdelivr.net/npm/nanopop/dist/nanopop.mjs?compression=gzip&style=flat-square\">\n  <img alt=\"brotli size\" src=\"https://img.badgesize.io/https://cdn.jsdelivr.net/npm/nanopop/dist/nanopop.mjs?compression=brotli&style=flat-square\">\n  <a href=\"https://github.com/Simonwep/nanopop/actions\"><img\n     alt=\"Build Status\"\n     src=\"https://img.shields.io/github/workflow/status/Simonwep/nanopop/CI?style=flat-square\"/></a>\n  <a href=\"https://www.npmjs.com/package/nanopop\"><img\n     alt=\"Download count\"\n     src=\"https://img.shields.io/npm/dm/nanopop.svg?style=popout-square\"></a>\n  <img alt=\"No dependencies\" src=\"https://img.shields.io/badge/dependencies-none-27ae60.svg?style=popout-square\">\n  <a href=\"https://www.jsdelivr.com/package/npm/nanopop\"><img\n     alt=\"JSDelivr download count\"\n     src=\"https://data.jsdelivr.com/v1/package/npm/nanopop/badge\"></a>\n  <img alt=\"Current version\"\n       src=\"https://img.shields.io/github/tag/Simonwep/nanopop.svg?color=3498DB&label=version&style=flat-square\">\n  <a href=\"https://github.com/sponsors/Simonwep\"><img\n     alt=\"Support me\"\n     src=\"https://img.shields.io/badge/github-support-3498DB.svg?style=popout-square\"></a>\n</p>\n\n<br>\n\nNanopop is an ultra-tiny positioning engine. Hold up, isn't there [PopperJS](https://github.com/popperjs/popper-core)?\nYeah - and PopperJS is great! But there are tons of features that, in most cases, you just might not need. This library is less than a third of PopperJS.\n\n#### When should I use Nanopop and not PopperJS?\n1. Situations where you want **full control** over positioning, including handling events such as scrolling, and manual resizing.\n2. **Performance-critical** cases with lots of elements [...] nanopop will only makes changes if you say so.\n3. Poppers with **minimal footprint** such as drop-downs and tooltips which don't require that much configurability.\n4. You might have some special needs about how your popper behaves. Index exposes a function for the sole purpose of positioning something, use it in your own library!\n\nThis library was originally part of [pickr](https://github.com/Simonwep/pickr) - now ported to TS with tests and a few updates / bug-fixes.\n\n> Heads up! This is the readme for v2 - if you're looking for the first version head over [here](https://github.com/Simonwep/nanopop/tree/539de9558a113ca6548a0d7d316ae8c65d7817d5) (v1 is not maintained anymore).\n\n## Getting Started\n\nInstall via npm:\n```shell\n$ npm install nanopop\n```\n\nInstall via yarn:\n```shell\n$ yarn add nanopop\n```\n\nInclude directly via jsdelivr:\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/nanopop/dist/nanopop.umd.js\"></script>\n```\n\nUsing [JavaScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules):\n\n````js\nimport {\n    reposition,   // Core, stateless function to reposition an element\n    createPopper, // Stateful function which keeps track of your configuration\n    defaults,     // A subset of nanopops options used as default values\n    version       // Current version\n} from 'https://cdn.jsdelivr.net/npm/nanopop/lib/nanopop.min.mjs'\n````\n\n> ???? Index is fully tree-shakable! E.g. if you only use `reposition` you'll probably end up with less than 500B code!\n\n## Usage\n\n```js\nreposition(\n    /* reference: */ document.querySelector('.btn'),\n    /* popper: */ document.querySelector('.dropdown'),\n    /* We're using the default options */\n);\n```\n\n> ⚠ The popper-element must have set `position` to `fixed`.\n\n> ℹ Because the default-`container` is `document.documentElement` you might have to increase the `height` of the `html` element to make room for your popper (e.g. `html {height: 100vh;}`)\n\n#### All options\n```ts\nimport {reposition, createPopper} from 'nanopop';\n\n// Using a object and reposition directly\nconst nanopop = reposition(reference, popper, {\n\n    // The DOMRect of the container, it used the html-element as default.\n    // You could also create your own boundary using a custon DOMRect (https://developer.mozilla.org/en-US/docs/Web/API/DOMRect)!\n    container: document.documentElement.getBoundingClientRect(),\n\n    // Optional arrow element that is positioned between the popper and the reference element.\n    arrow: undefined,\n\n    // Margin between the popper element and the reference\n    margin: 8,\n\n    // Minimum space between the popper and the container\n    padding: 0,\n\n    // Preferred position, any combination of [top|right|bottom|left]-[start|middle|end] is valid.\n    // 'middle' is used as default-variant if you leave it out.\n    position: 'bottom-middle',\n\n    // In case the variant-part (start, middle or end) cannot be applied you can specify what (and if)\n    // should be tried next.\n    variantFlipOrder: {\n        start: 'sme', // In case of -start try 'start' first, if that fails 'middle' and 'end' if both doesn't work.\n        middle: 'mse',\n        end: 'ems'\n    },\n\n    // The same as variantFlipOrder, but if all variants fail you might want to try other positions.\n    positionFlipOrder: {\n        top: 'tbrl', // Try 'top' first, 'bottom' second, 'right' third and 'left' as latest position.\n        right: 'rltb',\n        bottom: 'btrl',\n        left: 'lrbt'\n    }\n});\n\n/**\n * Using the createPopper function to create a stateful wrapper\n *\n * Correct ways of calling it are:\n * createPopper(reference: HTMLElement, popper: HTMLElement, options?: NanoPopOptions)\n * createPopper(options?: NanoPopOptions)\n * ⚠ If you omit options entierly you'll have to set both the reference and the popper later when calling .update!\n */\nconst popper = createPopper({...});\npopper.update(); // You can pass an object to update which will get merged with the existing config.\n```\n\nCalling `popper.update(...)` or `reposition(...)` both returns a position-pair (For example `te` for **T**op-**E**nd) or `null` based on if it was possible to find a position for the popper without clipping it._\n\n> Tip: The returned position-pair is perfect for tool-tips to give them a little arrow!\n\n## Caveats\n1. The popper-element must have `position` set to `fixed`.\n2. If nanopop cannot find a position without clipping your popper it'll revert its `top` and `left` values - you can use css / js to handle this case.\n","_attachments":{},"homepage":"https://github.com/Simonwep/nanopop#readme","bugs":{"url":"https://github.com/Simonwep/nanopop/issues"},"license":"MIT"}