{"_id":"@byndyusoft-ui/use-toggle","_rev":"3-1ef8a8de42e883370ebdaeea7f86f20d","name":"@byndyusoft-ui/use-toggle","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"@byndyusoft-ui/use-toggle","version":"0.0.0","keywords":["byndyusoft","byndyusoft-ui","react","hook","toggle"],"author":{"name":"Eugene Abrosimov","email":"sadcitizen@yandex.ru"},"license":"Apache-2.0","_id":"@byndyusoft-ui/use-toggle@0.0.0","maintainers":[{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},{"name":"alexanderbyndyu","email":"alexander.byndyu@gmail.com"}],"homepage":"https://github.com/Byndyusoft/ui/tree/master/hooks/use-toggle#readme","bugs":{"url":"https://github.com/Byndyusoft/ui/issues"},"dist":{"shasum":"c05a5fd47eaee484f21d4371aa2f045211e037a2","tarball":"https://registry.npmjs.org/@byndyusoft-ui/use-toggle/-/use-toggle-0.0.0.tgz","fileCount":8,"integrity":"sha512-XX0sqYL4VpeD0fI1I2Q8tTfUG4j9iBvUWgdQqDREon7ssTRJ6Rw0eWcrrVQBd+6T5C5D3uCG5wSvh5zpwSs7HQ==","signatures":[{"sig":"MEQCIEQVz7ZgSQZ382RwbC72I8FoKpcPfiQyqkTrxKywjEr2AiA1VnEs09qRO56UnZhmU1/DQ7nESZlJFlv++MHwgReQhw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhKZlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmof/g//T2Yd2+glQhT2ZUIQVtVqsO2ili0xjoB/cQRGvDXsPSepqXU4\r\nZrUKlftqovlKgMLEDWZTD71rHdwwkD2EBMi1/wPOpJo/bxVKNFSq8p4JBhcd\r\nu4i86qeZGVlurD7NYlcA6dJX36HVzjYomZIvpPJAUJHywkSYxkMxpV79PfTg\r\nl4mJVHwqx0FS3HbMcu+cdAJ8Ehei1oX67eYU7NtIKfmCTR+gMLhZc2hxi23i\r\n1MYKveLxQq1ojX+dIJRCIZnjRhK+LtkqTndFlcQdvyg5C1Y6Wk4BQ4Y3+XUH\r\nqVnFQKBE5ViAxEkdUXewcrS6pFwftZ6WvCJt0BGmC6Y0zB7ljSGNtKKLvjK2\r\nO2nUIMDJ1zw5JqjLBfFGumuoksscLVNjyzYg0EcJDbryjXS4E1t2DxTLDNvv\r\ncfRAdSlNuaOnNAsWzFAW7OloGpWB5+SVJnMTj6wDYuaGjBBXVWp/2y/JqlRr\r\n1K4m1nTkwJjwe5aRpBdgW8kv5c+UXuUBIelOQKb4PoVkAmA22+Bkg/XrnGiK\r\nDoSpX+Wy1XPx6FaxIBqk1u0GGwWFw+3wXjqCsb4AKZ2e/ZsokfsUqbbEmQd4\r\ncfN8jHrr6c3l3tholLNlnDeofWZJigSeo8qmuXvsOfZ7XfbbPx6XNnbAglCW\r\nfqYdIlY+Dp3+b+j36kFCHZKudUZcx92+s10=\r\n=p0MO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c46418463d185b5c3eec407804915764c8f44fc9","scripts":{"lint":"eslint src --config ../../eslint.config.js","test":"jest --config ../../jest.config.js","build":"tsc","clean":"rimraf dist"},"_npmUser":{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},"repository":{"url":"git+https://github.com/Byndyusoft/ui.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (win32)","description":"Byndyusoft UI React Hook","directories":{},"_nodeVersion":"14.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/use-toggle_0.0.0_1669637733767_0.4420788701519953","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@byndyusoft-ui/use-toggle","version":"0.1.0","keywords":["byndyusoft","byndyusoft-ui","react","hook","toggle"],"author":{"name":"Eugene Abrosimov","email":"sadcitizen@yandex.ru"},"license":"Apache-2.0","_id":"@byndyusoft-ui/use-toggle@0.1.0","maintainers":[{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},{"name":"alexanderbyndyu","email":"alexander.byndyu@yandex.ru"}],"homepage":"https://github.com/Byndyusoft/ui/tree/master/hooks/use-toggle#readme","bugs":{"url":"https://github.com/Byndyusoft/ui/issues"},"dist":{"shasum":"79f734c7e231f1f6d8bc2ad7f4dfdf6873c10317","tarball":"https://registry.npmjs.org/@byndyusoft-ui/use-toggle/-/use-toggle-0.1.0.tgz","fileCount":7,"integrity":"sha512-ymqzHj/UzXM8djVoZCe6gKsFExGC7tro/sMpFM0K6iJQYtXn7SBgZjQL6aDNOedJWM59w6HZkhmArAmYBxWCpA==","signatures":[{"sig":"MEYCIQC2pMtXXegACpLm34uKIrwuS97Eiv9MRJhlqc5qWceuOQIhANrzz9VuAOYrINdOcHBN6gzhH6+rzA5Nx2ymYLmiMoUi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2757},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1fd81e2ccef0120453360aa06e9907f61e20b2e8","scripts":{"lint":"eslint src --config ../../eslint.config.js","test":"jest --config ../../jest.config.js --roots hooks/use-toggle/src","build":"tsc","clean":"rimraf dist"},"_npmUser":{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},"repository":{"url":"git+https://github.com/Byndyusoft/ui.git","type":"git"},"_npmVersion":"8.19.4","description":"Byndyusoft UI React Hook","directories":{},"_nodeVersion":"16.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/use-toggle_0.1.0_1709394460026_0.5453122421881353","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@byndyusoft-ui/use-toggle","version":"1.0.0","description":"Byndyusoft UI React Hook","keywords":["byndyusoft","byndyusoft-ui","react","hook","toggle"],"author":{"name":"Eugene Abrosimov","email":"sadcitizen@yandex.ru"},"homepage":"https://github.com/Byndyusoft/ui/tree/master/hooks/use-toggle#readme","license":"Apache-2.0","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Byndyusoft/ui.git"},"scripts":{"build":"tsc --project tsconfig.build.json","clean":"rimraf dist","lint:check":"npm run eslint:check && npm run prettier:check && npm run stylelint:check","lint:fix":"npm run eslint:fix && npm run prettier:fix && npm run stylelint:fix","eslint:check":"eslint src --config ../../eslint.config.js","eslint:fix":"eslint src --config ../../eslint.config.js --fix","prettier:check":"prettier --check \"**/*.{ts,tsx,css,scss,json}\"","prettier:fix":"prettier --write \"**/*.{ts,tsx,css,scss,json}\"","stylelint:check":"stylelint '**/*.{css,scss}' --allow-empty-input","stylelint:fix":"stylelint '**/*.{css,scss}' --fix --allow-empty-input"},"bugs":{"url":"https://github.com/Byndyusoft/ui/issues"},"publishConfig":{"access":"public"},"_id":"@byndyusoft-ui/use-toggle@1.0.0","gitHead":"cc7351241ad2d7b944c126349971d67b46c05609","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-gnfNadwutYWXgYVhRqwunNo9GhigdsgjJTsBtzqAxH+ro620pysZRoJqmdOWM2QejgC9X7OIz1KLPPZHEBJHVA==","shasum":"7b70411589f815387927d8689b3faadced5a83a1","tarball":"https://registry.npmjs.org/@byndyusoft-ui/use-toggle/-/use-toggle-1.0.0.tgz","fileCount":9,"unpackedSize":2984,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICqLB9tkwQyqAxJhpoNCUx1EQuDgGJNp5wtfZ2eVVu2gAiAc8x90vlK0v+2gv9poagkRF86YSGItBFAUupGHnLVvXg=="}]},"_npmUser":{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},"directories":{},"maintainers":[{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},{"name":"alexanderbyndyu","email":"alexander.byndyu@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-toggle_1.0.0_1753162874744_0.5444061453659439"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-28T12:15:33.708Z","modified":"2025-07-22T05:41:15.120Z","0.0.0":"2022-11-28T12:15:33.951Z","0.1.0":"2024-03-02T15:47:40.171Z","1.0.0":"2025-07-22T05:41:14.908Z"},"bugs":{"url":"https://github.com/Byndyusoft/ui/issues"},"author":{"name":"Eugene Abrosimov","email":"sadcitizen@yandex.ru"},"license":"Apache-2.0","homepage":"https://github.com/Byndyusoft/ui/tree/master/hooks/use-toggle#readme","keywords":["byndyusoft","byndyusoft-ui","react","hook","toggle"],"repository":{"type":"git","url":"git+https://github.com/Byndyusoft/ui.git"},"description":"Byndyusoft UI React Hook","maintainers":[{"name":"sadcitizen","email":"sadcitizen@yandex.ru"},{"name":"alexanderbyndyu","email":"alexander.byndyu@yandex.ru"}],"readme":"# `@byndyusoft-ui/use-toggle`\n\n> A custom hook used to manage two values using `toLeftValue`, `toRightValue` and `toggle` functions.\n\n### Installation\n\n```\nnpm i @byndyusoft-ui/use-toggle\n```\n","readmeFilename":"README.md"}