{"_id":"cube-scramble.js","_rev":"26-81d7be14e39c3fee6d47721b99ee4fb8","name":"cube-scramble.js","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","dist-tags":{"latest":"1.0.18"},"versions":{"1.0.3":{"name":"cube-scramble.js","version":"1.0.3","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.3","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"dist":{"shasum":"1e6d9a8e21fe5899c7fe1ccfabf85c332e5fa5bd","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.3.tgz","fileCount":3,"integrity":"sha512-x46yiw2yNH1MQHOw4w27IzxOKDx+542yqPEjo9R/eqDyrlLj/GNCcPrvNo/Zo3nsFjmYH8oygTYmkiOQlgTyFg==","signatures":[{"sig":"MEUCICE3ZeBF+wB/Ob54FOG5XilnEGJky0qgOE3tX53uWKiJAiEA3pRDoRE/5bGtROIq2nctTIVHlrg8fo7fePF4lGz563Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8406},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.3_1692129288192_0.2787125653297704","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"cube-scramble.js","version":"1.0.4","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.4","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"dist":{"shasum":"c646e5d2b0229c7cbcd36cf908bd2e2abaea55bb","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.4.tgz","fileCount":3,"integrity":"sha512-pDJoPbKdBvGcM9SIMrmEX3oXQ/vqAl6AYI+9C+lJtlQcVXkLpdg4BpFkSG6CPuLUxL5eCRP15ydUHmV2fD+osQ==","signatures":[{"sig":"MEUCIQDsMOAvDhO3L962ZgL5CQYnVO/cVRyz2ZpkiGbqgiaatwIgN6vFhFvsQKsa56pIjvKeKfPMRT/mLuXOJdvXdIRHXfI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8402},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.4_1692129581670_0.5820329156826776","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"cube-scramble.js","version":"1.0.5","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.5","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"dist":{"shasum":"c6ef1d77e645464c90c60161039204a9d06924cd","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.5.tgz","fileCount":3,"integrity":"sha512-MDCRFa7bfrepfLwqviuIB5hVZ1WZZ/ESNfT8gkoYhoPL7Eo12rQe+Mv9CC6FIcIaIbnPEwA+ZtOrxamy4XXZAw==","signatures":[{"sig":"MEUCIFQCKFE7EX8F/YT0CG99HhsfFFv3zo85+RKkPlchi3sjAiEA1MW+hRGSITGwYv0iymAMLqHmDnPIxgtCfWt1u5mlKjw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8392},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.5_1692129779279_0.18470657896854825","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"cube-scramble.js","version":"1.0.6","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.6","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"dist":{"shasum":"ef9f9482913143e7c854658eb2dfa4dcb0b75a49","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.6.tgz","fileCount":3,"integrity":"sha512-wFfE0aLOuarq1IMYwxHAuAdun3c0cmmsJl4zb/tu89oe1IbWOKaCzZiTsSmAVxHyNf2ImxyPBI9SQENwK6Cofg==","signatures":[{"sig":"MEUCIQCAj0mPhOBL7AdUsI2w9476Z2rbbf76ZyM7OoxQyykk1gIgCbtdD199yLQ3r79vCAEOaXg1DySlCom6Vyi5nVQaaC8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9656},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"repository":{"url":"git+https://github.com/NerdyGamer05/CubeScrambler.git","type":"git"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.6_1692153673936_0.5687175058914933","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"cube-scramble.js","version":"1.0.7","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.7","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"dist":{"shasum":"480259d2cf6db0c9a76ecdb57e95f4578d5dbea0","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.7.tgz","fileCount":3,"integrity":"sha512-agk3S7gnMtTJ6HfHZ2w7Xv7IzjW/SVw+gOknKuwMHbu0vDCpGBDawPZpS83vYfHFYrgRqttWgtw+/1FUUZwmnA==","signatures":[{"sig":"MEQCIGvHVL9aSdFW6Lthlcx9PcymlO7XyyBLsdzkFGH6I+fMAiBSWwOKEdkI5N0ClJdmYF3KKHnIWOc48nTVAd2P3TGfyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9676},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"repository":{"url":"git+https://github.com/NerdyGamer05/CubeScrambler.git","type":"git"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.7_1692154580360_0.6555558785972995","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"cube-scramble.js","version":"1.0.15","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.15","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"dist":{"shasum":"e315301c90d31b228841a4c13a028986542d34de","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.15.tgz","fileCount":3,"integrity":"sha512-kX+O85A2CvwTULBA6K97PFgAzt/svgNt7HbTjl0MAJQMNNdHTFbD95o9USPew83F2veNjF9pYqaXjCDbdogpKw==","signatures":[{"sig":"MEUCIQCy3OhmLWpe+VoL1ToE4yfUiiB5XN7T+4phGpCooCaJ1gIgQ61xEAvVqJlVUKJ+EUkwL+j1ZB9N1vLGCDC+2TGB62c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5866},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"repository":{"url":"git+https://github.com/NerdyGamer05/CubeScrambler.git","type":"git"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.15_1692411648235_0.6571728442409437","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"cube-scramble.js","version":"1.0.16","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7","megaminx","skewb"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.16","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"dist":{"shasum":"a89aadbff608d94a247b1ca4470c37b7fcb8f06f","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.16.tgz","fileCount":3,"integrity":"sha512-wdUz1nIxDYN5i1WzxZFxeiO08yl0s7guHesne9jyGZlIVbK1cGdF8msMCNg31lUWWrTAxJZOiAqorWZzGX5V3A==","signatures":[{"sig":"MEYCIQCAQNbtHtWw489Bv+LNoxCmCfNZIA7oJYieAOTQvySIQQIhAJZKPtH36uCb74uGlmmO6Dylk5s4QWsg5UPCe5zlbfiP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5895},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"repository":{"url":"git+https://github.com/NerdyGamer05/CubeScrambler.git","type":"git"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.16_1692411896731_0.6236523413288115","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"cube-scramble.js","version":"1.0.17","keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7","megaminx","skewb"],"author":{"name":"NerdyGamer05"},"license":"MIT","_id":"cube-scramble.js@1.0.17","maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"dist":{"shasum":"7ab2eb9b0b7f451bc9d7c6835e08204c23df01f6","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.17.tgz","fileCount":3,"integrity":"sha512-kkSpE64Um/2c6avGkonWKtThqQub9LtACCsDx7osAfHKPyKW8zNqv4X/lUmG7oIkC9k/MBuqyVdjsqQw+0JnGw==","signatures":[{"sig":"MEUCIBxgwEDZ+0du/l2LYxPeE1Ns72cav8J0fjDUooVEUEDWAiEApOZcJU2YxRznsPnHX42l7BOLI2BIdj1OuaW07XmLTaY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6450},"main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"repository":{"url":"git+https://github.com/NerdyGamer05/CubeScrambler.git","type":"git"},"_npmVersion":"9.8.0","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","directories":{},"_nodeVersion":"20.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cube-scramble.js_1.0.17_1692755908576_0.23705026782539496","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"cube-scramble.js","version":"1.0.18","description":"Unofficial scrambler for WCA puzzles cubes using Vanilla JS","main":"scrambles.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7","megaminx","skewb"],"author":{"name":"NerdyGamer05"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/NerdyGamer05/CubeScrambler.git"},"_id":"cube-scramble.js@1.0.18","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","_nodeVersion":"20.5.0","_npmVersion":"10.5.2","dist":{"integrity":"sha512-Pwfcji5UUVk9NhSc2CAOa/9o1qR567atIaq30krHETCUwnJTvLwIRp1w/MDLKRNFERJTvYGbndxg7diGdbbMhw==","shasum":"fc5ae84e35ea49546776ff81dd6ed4beb4e0a154","tarball":"https://registry.npmjs.org/cube-scramble.js/-/cube-scramble.js-1.0.18.tgz","fileCount":3,"unpackedSize":10368,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaxnOi8JZuIHRI1XskcofYSJN6MYmL1TB1rQIY0gSMXgIhAJtSGL0o2IU1H6QctHStPt9DIcYr+mZoOHKklUVcWoP2"}]},"_npmUser":{"name":"nerdygamer","email":"mitjaipp@gmail.com"},"directories":{},"maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cube-scramble.js_1.0.18_1720133324634_0.8506744744951249"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-15T19:43:14.013Z","modified":"2024-07-04T22:48:44.988Z","1.0.9":"2023-08-15T19:43:14.184Z","1.0.0":"2023-08-15T19:43:45.265Z","1.0.1":"2023-08-15T19:47:02.874Z","1.0.2":"2023-08-15T19:48:26.105Z","1.0.3":"2023-08-15T19:54:48.379Z","1.0.4":"2023-08-15T19:59:41.889Z","1.0.5":"2023-08-15T20:02:59.418Z","1.0.6":"2023-08-16T02:41:14.121Z","1.0.7":"2023-08-16T02:56:20.510Z","1.0.8":"2023-08-16T14:18:08.695Z","1.0.10":"2023-08-16T14:28:10.629Z","1.0.11":"2023-08-18T22:53:20.220Z","1.0.12":"2023-08-19T02:03:19.030Z","1.0.13":"2023-08-19T02:15:04.165Z","1.0.15":"2023-08-19T02:20:48.394Z","1.0.16":"2023-08-19T02:24:57.022Z","1.0.17":"2023-08-23T01:58:28.832Z","1.0.18":"2024-07-04T22:48:44.805Z"},"maintainers":[{"name":"nerdygamer","email":"mitjaipp@gmail.com"}],"author":{"name":"NerdyGamer05"},"repository":{"type":"git","url":"git+https://github.com/NerdyGamer05/CubeScrambler.git"},"keywords":["javascript","algorithms","vanilla-javascript","cube","rubiks-cube","scrambler","4x4x4","pyraminx","2x2x2","3x3x3","cube-scrambler","5x5x5","6x6x6","magic-clock","7x7x7","megaminx","skewb"],"license":"MIT","homepage":"https://github.com/NerdyGamer05/CubeScrambler#readme","bugs":{"url":"https://github.com/NerdyGamer05/CubeScrambler/issues"},"readme":"# 🧩 CubeScrambler\nUnofficial scrambler for WCA puzzles cubes using Vanilla JS\n\n## Usage\nTo see all of the scramble types available, use `scrambleList`\n```js\nconst scrambler = require('cube-scramble.js');\nconst types = scrambler.scrambleList; // returns an array\n```\nTo generate a scramble, use the `scramble` function\n```js\nconst scrambler = require('cube-scramble.js');\nconst type = 'pyraminx';\nconst sequence = scramblers.scramble(type); // returns an array\n```\n---\nYou can also use `import` statements in a variety of ways:  \nImport the scramble function\n```js\nimport { scramble } from 'cube-scramble.js';\nconst type = '3x3';\nconst sequence = scramble(type);\nconsole.log(sequence);\n```\nImport the scrambleList property\n```js\nimport { scrambleList as types } from 'cube-scramble.js';\nconsole.log(types);\n```\nYou can also import specific scramble types. Note that this currently doesn't work for NxN cubes.\n```js\nimport { pyraminx } from 'cube-scramble.js';\nconst sequence = pyraminx();\nconsole.log(sequence);\n```\n---\nIf an invalid type is used, you will see the following message: **Error: Invalid scramble type provided.**","readmeFilename":"README.md"}