{"_id":"@19h47/switch","_rev":"10-1b1c5ff5f2ee1ffae1db192ac808e90e","name":"@19h47/switch","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.0":{"name":"@19h47/switch","version":"0.0.0","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.0.0","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"c98df18787d0e1fe94a8231ca1d60e3b92e5a30d","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.0.0.tgz","fileCount":3,"integrity":"sha512-FyU93paaPBVHgkVIhzbNCQe9v0t8Ii6yGxFhStrye0pYwJYh2AER3QQOqYHhukUcbjUPkGYiBdTK0awMf1mWQQ==","signatures":[{"sig":"MEYCIQDUDZw+ehPPalZEG9ijjWNW3a4RF/2MQ/a14eDIC19EOwIhAMzteo5dK4tXl33oS/HKNM/zFo9pcr38seuA48ZcMejv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQWAICRA9TVsSAnZWagAAJiIP/i+pMAZvI0RVw2rXVSZB\n02jXcOdWq4cDtzTWO6qhfwWrH0TQrv4oCJqAv7D2sItzCo8VaMCcf7NTHnfj\nYUJHET2CpkKZpd6TETOlYHRvr+CnxT8uWA28Ac0xWCHtcf5wpk16EwBvNfJZ\nzvMylyS6Uo8BpkUTKiRvrT1Qo+UtiUwHPWY/I4SSCJMREelTpMgFH15BMwEe\nTqAJ/cwyFbW35TifNdqb6JauzseXF8sFHrqwo17qKv8xeltKyouP7OtcWqVt\nJYB29GjdWUqFyBLxaphIjz+z8qPz4zkbD+eAFEnGvwdjhyij+JmDoZDWBa03\nmC50REcMsWzsy6hkt4SU890Z31sqvSbIc723Q42sK6D3QuqjiicN7w/7XJSF\nNufUbtn7PChbv9cIU5EuzvYo8D40FtTgAOgGB5rapebxHXiGCFkEVNsxO4Uw\nvtDKw1xBX2DWHO4teeVUrMvKYAjo/88MNq55m5R0cSplaEXbdh3+niAy5y2e\nlOzV1hAI0xyB8FuZwVC9RLK73bgkqv0OR/YfC0Yc4BgvRlb3kefP7dBX1qeA\nmkqPM5Cx9JLvNxfRduMECZ6FWSr/SY8bf1YPdp64WZqVo/UI5A8BiLM5vAJb\n7sQYMhi1CAe3b+9eBwtt+ha/Ms0sApIPppOV2UUuFgKaYNUUxfpQVLotmynp\nM25y\r\n=Y2So\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","gitHead":"bc577de12d9ee8be29c444653bc76bfbd7bc38d9","scripts":{"dev":"./bin/development","prod":"./bin/production","start":"./bin/start","deploy":"./bin/deploy"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"6.13.7","description":"Switch role","directories":{},"_nodeVersion":"12.14.0","dependencies":{"core-js":"^3.6.4","@19h47/keycode":"^2.0.0","@babel/plugin-transform-runtime":"^7.8.3"},"_hasShrinkwrap":false,"devDependencies":{"ora":"^3.4.0","clear":"^0.1.0","eslint":"^5.16.0","webpack":"^4.41.5","@babel/core":"^7.8.4","webpack-cli":"^3.3.10","babel-eslint":"^10.0.3","babel-loader":"^8.0.6","eslint-loader":"^2.2.1","webpack-merge":"^4.2.2","@babel/runtime":"^7.8.4","webpack-notifier":"^1.8.0","@babel/preset-env":"^7.8.4","eslint-plugin-node":"^8.0.1","webpack-dev-server":"^3.10.3","html-webpack-plugin":"^3.2.0","clean-webpack-plugin":"^3.0.0","eslint-plugin-import":"^2.20.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.1","webpack-format-messages":"^2.0.6","eslint-config-airbnb-base":"^13.2.0","@babel/plugin-syntax-dynamic-import":"^7.8.3"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.0.0_1581342728035_0.35858761837660524","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@19h47/switch","version":"0.1.0","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.1.0","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"1a93c24e5fa84c89da3546a375efe9c49c10375f","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.1.0.tgz","fileCount":5,"integrity":"sha512-ZLspdciLp2D8djxus5oWukyhJ5p4jwlwG4HchJzed/glEtwPvA68XGdsE1tYE1BUOSw21LITWsO21hM2e67nhw==","signatures":[{"sig":"MEUCIQDUrAsMz6b1povTS9qbz6VJgtoXbUsaoTYcl9n/tMUw9AIgUTQjTX3No9dYOMw1JKyILM9eBoeqj3JbpUCAn1PjZes=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjxy9CRA9TVsSAnZWagAAmgYP/i0SN37jsiTqK5grWsVx\nOjzCTbjNJukLm5aeF7Dd1COp6usw859inZXUFDVetGxALY5UItG1IieB+T96\nDBLEx/xDzPdpRHyhVfdBiHhjXZTtD1ivLYcWd/P1wFmJo+rRu0jTaNlXwcLR\n9gx4zXH2psXB2W+bjETNWfL2S0lxq0x9+poj5+ZERB8KmbBDVFiRgEHXefJ2\nmQaRVv0rMaUDbOus4iUGwAH/tkp/LfY72DTJ39wL5ZniLZKRsmrYe3a7qZlH\npj0otcQ90Zd+yB026D57SpNrxksaaJUYfvJz7OFzfp28YK2lC81Nf/zsTVS/\nzFzLDySSaaLZxdSK2Ue8JmLe3m5fbUz1Dh3CkigDq9Gd2qumkPp5AI0uAQbn\nacMnkF4MTX1TSFiOn0LDfiO2Wge+DpFKoKrGMgWB8oEUmKJ+f/D8+iaoDXAu\njHPyBJSHS8ZYHR2iRRvL6Ip24AaSNZ/SC/gdg9YD6RSoP7bvO9gTvyBDH7Bm\nBLGV3scIgWowUBi/0TlJj9z9KMF7SBo9CnGVbVfr7Lg8R1+ywrMzo/1fyswq\nvIaiVBO5/5/BrN0KtYQMLvy1QRvhFkp49yzQzLGtkqoNqL/6S4kFg0z4Afs+\nJZLXwWyY2bsRrj6BwKKsWa1TnNM8My/2kbBkK0RDcDRKm4qVBUtciuA9YnOl\nPnOy\r\n=TpHN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","gitHead":"a0cb554c58698bd5163da751a8a34fb6ce5aec15","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","prod":"webpack --mode=production --config webpack/webpack.config.js","start":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"yarn login && yarn prod && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"6.14.8","description":"Switch role","directories":{},"_nodeVersion":"14.13.0","dependencies":{"events":"^3.2.0","@19h47/keycode":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.11.0","core-js":"^3.6.5","webpack":"^4.44.2","prettier":"^2.1.2","@babel/core":"^7.12.3","webpack-cli":"^3.3.12","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","eslint-loader":"^4.0.2","webpack-merge":"^5.2.0","@babel/runtime":"^7.12.1","webpack-notifier":"^1.8.0","@babel/preset-env":"^7.12.1","eslint-plugin-node":"^11.1.0","webpack-dev-server":"^3.11.0","copy-webpack-plugin":"^6.2.1","html-webpack-plugin":"^4.5.0","clean-webpack-plugin":"^3.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1","eslint-config-airbnb-base":"^14.2.0","eslint-import-resolver-webpack":"^0.13.0","@babel/plugin-transform-runtime":"^7.12.1","@babel/plugin-syntax-dynamic-import":"^7.8.3"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.1.0_1603214525010_0.661009981511774","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@19h47/switch","version":"0.1.1","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.1.1","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"51ca2fec443aa2ded8e1588ec586fbc902425b27","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.1.1.tgz","fileCount":3,"integrity":"sha512-5XmpokhI3S1PKQCtzBtWqAYbcu1WBpVGL9wQQLlN0piXnwGCJuwLYGnUs4QSiIlfuFANhAn4afjgxxKmmBnEWw==","signatures":[{"sig":"MEQCICWW7lcCRB/sXKf9JM55RK08Gk2xND9Dx7t5F6UEauqLAiBuC4elrst0+2baM73szCQBvrU3VlQnMsTj24mgLtjcSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjxz4CRA9TVsSAnZWagAAnKcP+wYtB7A+XoZ9hxR2y6x2\nSf8YYVfVw+ENUUmLtGByc8sG+C9Qw1sDAgqSJ2XPGCm5+KwkEP/f78flZdPr\nGnVCgsPEyzW2MigXaysAZNO5eSh3OFmT5r4Jzj4on4O6sHBZQY0PWdPT7BYq\nrQKrkCQw/s+EaTErMil69VDdsX9yb2qHVZuzEobPVLaAjoViRlMS2CDXjjND\nV6V2SG6kIKVBy2kT3tNsfSleYgk9hBF/cO5iAJQjVuZyv9DyQZs6Dfqxkmb4\nmMT1KuWg/dHAVgVXAHbTE8rmcS4PtoDKWUW1dnm4hXYP8G6wWQgCOLe3ibdk\nCHg+phxAwnutPfVdO0N5CWl2crhEajzNqYSZrQapk3uXOCkJr6wA/Nehde4R\n31quePrg1yFCB9WNs2bJlPlq38MOZSV1qKOsQRkb41tX7kQno8TF26/M1Kgk\nX4H1MiSnojTmAZphdbPa0qDcYtfgpMzCRiEZOv7rA619rSSw3WScZE651tib\nSfZfRrOIsgBC8rVGviapL1KWSf9lRXgavIp8Q1zLx6cIk445BuIUNw0pPaI5\ncCeUk3uaUQkGCIHeh3KYkqsz5sTroIXwQyc6EpMcblR1wcNW4Xr+Te76ylQr\n3IgSeXTim4N4YTbJXOdw7XFXGIwPYW5Crzo/k5zWITygyF3Ai2TAKchWVgWB\nXbEa\r\n=Y4jw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","gitHead":"a0cb554c58698bd5163da751a8a34fb6ce5aec15","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","prod":"webpack --mode=production --config webpack/webpack.config.js","start":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"yarn login && yarn prod && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"6.14.8","description":"Switch role","directories":{},"_nodeVersion":"14.13.0","dependencies":{"events":"^3.2.0","@19h47/keycode":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.11.0","core-js":"^3.6.5","webpack":"^4.44.2","prettier":"^2.1.2","@babel/core":"^7.12.3","webpack-cli":"^3.3.12","babel-eslint":"^10.1.0","babel-loader":"^8.1.0","eslint-loader":"^4.0.2","webpack-merge":"^5.2.0","@babel/runtime":"^7.12.1","webpack-notifier":"^1.8.0","@babel/preset-env":"^7.12.1","eslint-plugin-node":"^11.1.0","webpack-dev-server":"^3.11.0","copy-webpack-plugin":"^6.2.1","html-webpack-plugin":"^4.5.0","clean-webpack-plugin":"^3.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^6.13.0","eslint-config-standard":"^14.1.1","eslint-plugin-standard":"^4.0.1","eslint-config-airbnb-base":"^14.2.0","eslint-import-resolver-webpack":"^0.13.0","@babel/plugin-transform-runtime":"^7.12.1","@babel/plugin-syntax-dynamic-import":"^7.8.3"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.1.1_1603214583761_0.7871396900698007","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@19h47/switch","version":"0.1.2","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.1.2","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"4c3d0ead0d31c2650f8403b69da94ec832bed81e","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.1.2.tgz","fileCount":3,"integrity":"sha512-VQN+4uUEAmwgcrGNkMsTXNoCpVGxLuMb2Ractx4iuQZt41x86OWBZYNaAFO1yqPYvDNcvPI/c12+ID05sQJ9ow==","signatures":[{"sig":"MEUCIEEEz/aj9p6sOvHtl8H0/ACv6O2zC6w90h3hcxamj60sAiEAmmhLPiLJhNosagAHOaSpXI9ak5CyDHmOEv7SNHjBxdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr0stCRA9TVsSAnZWagAAr4IP/Rr+fUtLHorkWN9onG0s\nCWPuUhtaVzDZTEU25nh1V0UCL0d0BxPc1TweQVyPFLHhgy7mz/IwJ+0NzcRz\nZpwPvm4ssaXRWPEozx6rKG1vAlM+OMfniLkPZvPcT/Ll6w4mFY5Qe4zYA7IA\nCB4HLo8oCSYgCNMdS70pVcqc+/JsI6w0/oRhtIKGp0AQaKsURK5fviW8RpEh\n38jOUfANgK3RxnkUnsGQEPgAFnm2a/6hD1ixppgKMs5wQhf8IQDMwgEDcTuZ\nLuUNI4AQmtGpKN9mbbfnShVHs1SVrs/VQIeQLOEZItVIphwDHdqbOZPrR/vJ\nj+VFtJnP2x6Csa4kyh72vajNYt/bM6ypvWzTP/f9C/6Wjj8p63oSu49puHzc\n1OlPgAnPda905Phb1mx8XXKXbITCPohWgSmhw3hhyS+7UdW2utiwr/oNxS4Z\nYZei8n662Uy5UMKuY9slCT3xN0tuShuWs2NfODXEKau2IDv8cMWQgRldrDFa\nH6/Y2NTUUFY6U3go1jDJ3l4n3qHnE5mK5W6GTlJk4AemD0fCsy9/kyqy2KXZ\nmM3mP9/rsryh4M5/nbHwtW2ydpC4w0GMLHtCaajLwpZUA6piTTayWmR47jiR\nFeSCX9E8HPyoAcMiXi2pN2yhO3c6bU2r3WQtjlqsC0yRLD77gIa/lGv3skf3\nFWzq\r\n=be/p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/main.js","gitHead":"ca98df2e0600f87bb8c09967afce2a0320c46e57","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","prod":"webpack --mode=production --config webpack/webpack.config.js","start":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"yarn login && yarn prod && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"7.5.6","description":"Switch role","directories":{},"_nodeVersion":"14.8.0","dependencies":{"events":"^3.3.0","@19h47/keycode":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.27.0","core-js":"^3.13.0","webpack":"^5.37.1","prettier":"^2.3.0","@babel/core":"^7.14.3","webpack-cli":"^4.7.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","eslint-loader":"^4.0.2","webpack-merge":"^5.7.3","@babel/runtime":"^7.14.0","webpack-notifier":"^1.13.0","@babel/preset-env":"^7.14.2","eslint-plugin-node":"^11.1.0","webpack-dev-server":"^3.11.2","copy-webpack-plugin":"^9.0.0","html-webpack-plugin":"^5.3.1","@babel/eslint-plugin":"^7.13.16","eslint-plugin-import":"^2.23.3","eslint-plugin-promise":"^5.1.0","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-standard":"^5.0.0","eslint-config-airbnb-base":"^14.2.1","eslint-import-resolver-webpack":"^0.13.1","@babel/plugin-transform-runtime":"^7.14.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-proposal-class-properties":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.1.2_1622100779147_0.1265584828434283","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@19h47/switch","version":"0.1.3","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.1.3","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"2264a66f80b3671d17c5abc5169812fac6ad5d55","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.1.3.tgz","fileCount":3,"integrity":"sha512-DpJbCVNQAROoJxKfiQcrpNbmQzNwNPbrLR1275kTF0VjsAgWiULz8OtxnoX1EqYCvUMhu3xNDow5Dwgbuwc+bA==","signatures":[{"sig":"MEQCIFY/+Zp9WSbIZ8XSsD4ZJhW2k+pQFEh78EQqdZ/R+pQUAiBYbMBsMjAb8eTAx6YVDkK/44QfsJz3Y1yIO0eU9D96/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31817},"main":"dist/main.js","gitHead":"f08701666a5ebf655a8bbd6d68725405037db96b","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","prod":"webpack --mode=production --config webpack/webpack.config.js","start":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"yarn login && yarn prod && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"9.3.1","description":"Switch role","directories":{},"_nodeVersion":"18.14.1","dependencies":{"events":"^3.3.0","@19h47/keycode":"^3.0.3","@babel/eslint-parser":"^7.22.9","clean-webpack-plugin":"^4.0.0","eslint-webpack-plugin":"^4.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.45.0","core-js":"^3.13.0","webpack":"^5.37.1","prettier":"^3.0.0","@babel/core":"^7.14.3","webpack-cli":"^5.1.4","babel-eslint":"^10.1.0","babel-loader":"^9.1.3","webpack-merge":"^5.7.3","@babel/runtime":"^7.14.0","webpack-notifier":"^1.13.0","@babel/preset-env":"^7.14.2","eslint-plugin-node":"^11.1.0","webpack-dev-server":"^4.15.1","copy-webpack-plugin":"^11.0.0","html-webpack-plugin":"^5.3.1","@babel/eslint-plugin":"^7.13.16","eslint-plugin-import":"^2.23.3","eslint-plugin-promise":"^6.1.1","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-standard":"^5.0.0","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-webpack":"^0.13.1","@babel/plugin-transform-runtime":"^7.14.3","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-proposal-class-properties":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.1.3_1690448979957_0.9777081120370714","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@19h47/switch","version":"0.2.0","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@0.2.0","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"843e888fa6dd211c49ea94e36c16b95f59469004","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-0.2.0.tgz","fileCount":3,"integrity":"sha512-O+jbemuXFOoS4zeD6ZEVkjb3wDWQwbTjZ3gWF8EsWTSw0Yar1+0srVX5aceKwoXtYZIIqLPFFVy6gdgoJRxCHw==","signatures":[{"sig":"MEYCIQCp88dShLxvJRZ/n8LupQWM+yZ9rw4+N+ldlLEUegmeowIhAOdrPE2s2LbItU1CFFg9o+jxKvFn+tIuGLKP/r9Ame7c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13368},"main":"dist/main.js","gitHead":"dd861bbbf7a8f47691fa38f0e1303aaf81eeb60f","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","prod":"webpack --mode=production --config webpack/webpack.config.js","start":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"yarn login && yarn prod && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"9.3.1","description":"Switch role","directories":{},"_nodeVersion":"18.14.1","dependencies":{"events":"^3.3.0","@19h47/keycode":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.45.0","webpack":"^5.37.1","prettier":"^3.0.0","@babel/core":"^7.14.3","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","webpack-merge":"^5.7.3","@babel/runtime":"^7.14.0","webpack-notifier":"^1.13.0","@babel/preset-env":"^7.14.2","webpack-dev-server":"^4.15.1","copy-webpack-plugin":"^11.0.0","html-webpack-plugin":"^5.3.1","@babel/eslint-parser":"^7.22.9","@babel/eslint-plugin":"^7.13.16","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.23.3","eslint-webpack-plugin":"^4.0.1","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^9.0.0","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-webpack":"^0.13.1","@babel/plugin-transform-runtime":"^7.14.3"},"_npmOperationalInternal":{"tmp":"tmp/switch_0.2.0_1695885276447_0.7522937324662611","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@19h47/switch","version":"1.0.0","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@1.0.0","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"801e3683787509cf38d81594f403686f9236d82b","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-1.0.0.tgz","fileCount":3,"integrity":"sha512-FzezYUguA5cMlJqjy6UiOEUAqPV+zm+D+HzfVE31eSkVfPGgMbF0fLq2I1W0QsxOdUloZOSdms8wb8oVs/L/Rw==","signatures":[{"sig":"MEQCIBHOu2ICGCOEUUeYRaW8lnj6AurhjL9AmBAMboEx7X9QAiAFtjQlkhyE/k+1IpBercJA7rbi4XPpV6MaET4L21bQVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10905},"main":"dist/main.js","gitHead":"a99830c152f9a92f4981c89e07bce5505474621f","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","build":"webpack --mode=production --config webpack/webpack.config.js","serve":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"npm login && npm run build && npm publish"},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"9.3.1","description":"Switch role","directories":{},"_nodeVersion":"18.14.1","dependencies":{"events":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.45.0","webpack":"^5.37.1","prettier":"^3.0.0","ts-loader":"^9.4.4","typescript":"^5.2.2","webpack-cli":"^5.1.4","webpack-merge":"^5.7.3","webpack-notifier":"^1.13.0","webpack-dev-server":"^4.15.1","copy-webpack-plugin":"^11.0.0","html-webpack-plugin":"^5.3.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.23.3","eslint-webpack-plugin":"^4.0.1","@19h47/prettier-config":"^1.0.0","eslint-config-prettier":"^9.0.0","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-webpack":"^0.13.1"},"_npmOperationalInternal":{"tmp":"tmp/switch_1.0.0_1696424767651_0.3190674461222627","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@19h47/switch","version":"2.0.0","keywords":["input","file","ES6"],"author":{"url":"https://19h47.fr","name":"Jérémy Levron","email":"jeremylevron@19h47.fr"},"license":"ISC","_id":"@19h47/switch@2.0.0","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"dist":{"shasum":"d238fc5be8c71ee63b62a8fe4f7e10d0d65d393c","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-2.0.0.tgz","fileCount":3,"integrity":"sha512-JYM73zSSvHM3yw68B9dwzArCXdCQbARTZ0VYw7wxCuCbB/QWlvGc/1vYBNSZCcC2Uc7HjqIJ9ZUcCyNGlhiiQg==","signatures":[{"sig":"MEYCIQDX4g97XhzEGsj1CxBUzCFGounDJ4VIY+oRQ8EXyd3NPgIhAOmWSdizRQ/0bEDvySipKwz0XiyFJrChTF0oXYDQ+q0i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10901},"main":"dist/main.js","gitHead":"a99830c152f9a92f4981c89e07bce5505474621f","scripts":{"dev":"webpack --mode=development --config webpack/webpack.config.js","build":"webpack --mode=production --config webpack/webpack.config.js","serve":"webpack-dev-server --mode=development --hot --config webpack/webpack.config.js","deploy":"npm login && npm run build && npm publish"},"_npmUser":{"name":"19h47","actor":{"name":"19h47","type":"user","email":"jeremylevron@19h47.fr"},"email":"jeremylevron@19h47.fr"},"repository":{"url":"git://github.com/19h47/19h47-switch.git","type":"git"},"_npmVersion":"11.4.1","description":"Switch role","directories":{},"_nodeVersion":"22.15.0","dependencies":{"events":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.29.0","webpack":"^5.99.9","prettier":"^3.5.3","ts-loader":"^9.5.2","typescript":"^5.8.3","webpack-cli":"^6.0.1","webpack-merge":"^6.0.1","webpack-notifier":"^1.13.0","webpack-dev-server":"^5.2.2","copy-webpack-plugin":"^13.0.0","html-webpack-plugin":"^5.6.3","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.31.0","eslint-webpack-plugin":"^5.0.2","@19h47/prettier-config":"^2.0.0","eslint-config-prettier":"^10.1.5","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-webpack":"^0.13.10"},"_npmOperationalInternal":{"tmp":"tmp/switch_2.0.0_1750164359110_0.6533335004764904","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@19h47/switch","version":"2.1.0","description":"An accessible switch widget implementing the ARIA switch pattern, with keyboard support and native DOM events.","keywords":["accessibility","a11y","switch"],"homepage":"https://github.com/19h47/19h47-switch#readme","bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"repository":{"type":"git","url":"git://github.com/19h47/19h47-switch.git"},"license":"ISC","author":{"name":"Jérémy Levron","email":"jeremylevron@19h47.fr","url":"https://19h47.fr"},"type":"module","main":"./dist/switch.umd.cjs","module":"./dist/switch.js","exports":{".":{"import":"./dist/switch.js","require":"./dist/switch.umd.cjs"}},"devDependencies":{"typescript":"^5.8.3","vite":"^6.2.2"},"scripts":{"dev":"vite","build":"vite build && vite build --config vite.config.docs.js","build:docs":"vite build --config vite.config.docs.js","deploy":"pnpm login && pnpm run build && pnpm publish --access public --no-git-checks"},"_id":"@19h47/switch@2.1.0","_integrity":"sha512-+CIRbE5i3L6TxS/7nFaSW0Qk7+fClcIgoxlx6c+DIyXQiRpt+BZyIaxAXh0q5/oCkxbZQCytQbZSDMiIi7JxjA==","_resolved":"/private/var/folders/vt/kpbgrh4d7k14zvxmcm01bfxh0000gn/T/1042984ea36c90b6b9e55eb95adb5458/19h47-switch-2.1.0.tgz","_from":"file:19h47-switch-2.1.0.tgz","_nodeVersion":"22.22.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-+CIRbE5i3L6TxS/7nFaSW0Qk7+fClcIgoxlx6c+DIyXQiRpt+BZyIaxAXh0q5/oCkxbZQCytQbZSDMiIi7JxjA==","shasum":"273188edd766eb5e3ae458b7d31b96b5a25892da","tarball":"https://registry.npmjs.org/@19h47/switch/-/switch-2.1.0.tgz","fileCount":5,"unpackedSize":21322,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCn0E05czcyuX6ndYdHCG+aZppiZLJ7x8+YpjjlJwJjfQIhAIYDnx+ezdqUgTy/LhyK7e4/M+naHz/+/fE2VP40FR3u"}]},"_npmUser":{"name":"19h47","email":"jeremylevron@19h47.fr"},"directories":{},"maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/switch_2.1.0_1782277892278_0.9582365049655872"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-10T13:52:08.005Z","modified":"2026-06-24T05:11:32.532Z","0.0.0":"2020-02-10T13:52:08.128Z","0.1.0":"2020-10-20T17:22:05.162Z","0.1.1":"2020-10-20T17:23:03.945Z","0.1.2":"2021-05-27T07:32:59.325Z","0.1.3":"2023-07-27T09:09:40.139Z","0.2.0":"2023-09-28T07:14:36.593Z","1.0.0":"2023-10-04T13:06:07.801Z","2.0.0":"2025-06-17T12:45:59.288Z","2.1.0":"2026-06-24T05:11:32.420Z"},"bugs":{"url":"https://github.com/19h47/19h47-switch/issues"},"author":{"name":"Jérémy Levron","email":"jeremylevron@19h47.fr","url":"https://19h47.fr"},"license":"ISC","homepage":"https://github.com/19h47/19h47-switch#readme","keywords":["accessibility","a11y","switch"],"repository":{"type":"git","url":"git://github.com/19h47/19h47-switch.git"},"description":"An accessible switch widget implementing the ARIA switch pattern, with keyboard support and native DOM events.","maintainers":[{"name":"19h47","email":"jeremylevron@19h47.fr"}],"readme":"# @19h47/switch\n\nA switch is an on/off control that represents a binary setting. It provides an accessible, keyboard-navigable interface following the [ARIA switch pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/), reads its state from the markup, and dispatches native DOM events when toggled.\n\n## Installation\n\n```\npnpm add @19h47/switch\n```\n\n## HTML\n\n```html\n<div role=\"switch\" tabindex=\"0\" aria-checked=\"false\">\n\t<span class=\"label\">Notifications</span>\n\t<span class=\"switch\"><span></span></span>\n\t<span class=\"on\" aria-hidden=\"true\">On</span>\n\t<span class=\"off\" aria-hidden=\"true\">Off</span>\n\t<div hidden><input type=\"checkbox\" /></div>\n</div>\n```\n\nWhen disabled, use `aria-disabled=\"true\"` and `tabindex=\"-1\"`.\n\n```html\n<div role=\"switch\" tabindex=\"-1\" aria-checked=\"false\" aria-disabled=\"true\">\n\t<span class=\"label\">Disabled switch</span>\n\t<span class=\"switch\"><span></span></span>\n\t<div hidden><input type=\"checkbox\" /></div>\n</div>\n```\n\n## JavaScript\n\n```javascript\nimport Switch from '@19h47/switch';\n\nconst $switch = document.querySelector('[role=\"switch\"]');\n\nconst switchButton = new Switch($switch);\nswitchButton.init();\n```\n\n## Keyboard support\n\n| Key                                  | Function                                                |\n| ------------------------------------ | ------------------------------------------------------- |\n| <kbd>Tab</kbd>                       | <ul><li>Moves keyboard focus to the `switch`.</li></ul> |\n| <kbd>Space</kbd><br><kbd>Enter</kbd> | <ul><li>Toggle switch between on and off.</li></ul>     |\n\n## Event\n\nEvents are dispatched on the switch element.\n\n| Event             | Description              |\n| ----------------- | ------------------------ |\n| Switch.activate   | Fired when activated.    |\n| Switch.deactivate | Fired when deactivated.  |\n\n```javascript\nimport Switch from '@19h47/switch';\n\nconst $switch = document.querySelector('[role=\"switch\"]');\n\nconst switchButton = new Switch($switch);\nswitchButton.init();\n\n$switch.addEventListener('Switch.deactivate', () => {\n\tconsole.log('deactivated');\n});\n\n$switch.addEventListener('Switch.activate', () => {\n\tconsole.log('activated');\n});\n```\n\n## Acknowledgment\n\n-   [Switch Example](https://www.w3.org/WAI/ARIA/apg/patterns/switch/examples/switch/)\n-   [Switch Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/)\n","readmeFilename":"README.md"}