{"_id":"@binary-tree-syrup/sum-to","_rev":"2-102bfa807ab67b60412830d57d789a0a","name":"@binary-tree-syrup/sum-to","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@binary-tree-syrup/sum-to","version":"1.0.0","description":"CLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus","main":"./cli.js","bin":{"sum-to":"cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Chesare22/sum-to.git"},"author":{"name":"César Alejandro González Ortega"},"license":"ISC","bugs":{"url":"https://github.com/Chesare22/sum-to/issues"},"homepage":"https://github.com/Chesare22/sum-to#readme","dependencies":{"commander":"^12.0.0"},"_id":"@binary-tree-syrup/sum-to@1.0.0","gitHead":"1981a014bcdfdee5ae5237560b15f9ec8cbbc461","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-OCM02x3FvJYMEUWuui47Ef0Aao/rXmWn4Ypo/+XUn/nfFYYAAxTAsnn4w+QgjfazlL3ZfgRu+d3LUNFqtJ1ZTA==","shasum":"53252feae002a382f97fca4050ed80ac6da196af","tarball":"https://registry.npmjs.org/@binary-tree-syrup/sum-to/-/sum-to-1.0.0.tgz","fileCount":4,"unpackedSize":4527,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApSP6dpU+rSEgIXeOCfzvLZoFUmo/YzdSPOXrvdWQ16AiEApyJ9/hS1ZsVKB2kwNe2T9cS+coeGe8WOUGJD9EALEJQ="}]},"_npmUser":{"name":"chesare22","email":"chesarglez429@gmail.com"},"directories":{},"maintainers":[{"name":"chesare22","email":"chesarglez429@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sum-to_1.0.0_1713320365974_0.47849997533934463"},"_hasShrinkwrap":false},"1.0.1":{"name":"@binary-tree-syrup/sum-to","version":"1.0.1","description":"CLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus","keywords":["killer sudoku","commbinations","cli app","utility"],"main":"./cli.js","bin":{"sum-to":"cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Chesare22/sum-to.git"},"author":{"name":"César Alejandro González Ortega"},"license":"ISC","bugs":{"url":"https://github.com/Chesare22/sum-to/issues"},"homepage":"https://github.com/Chesare22/sum-to#readme","dependencies":{"commander":"^12.0.0"},"gitHead":"5737f12661e452406eace450ff5a45307115eb78","_id":"@binary-tree-syrup/sum-to@1.0.1","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-fL0eAEi4Ulq+WKruuvG+ztNym0xMEzr5hCq2kk+1Snc/lB16BO3VBH3e1zsQ5ctUMKTq4jWGWWSCK09GxxBIkQ==","shasum":"05b35e00d6eba7cd9330dc5cd3d4516430056163","tarball":"https://registry.npmjs.org/@binary-tree-syrup/sum-to/-/sum-to-1.0.1.tgz","fileCount":4,"unpackedSize":5460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICatrAnY45a4BKq8R/KXNbZEx0kRmYl+ledfqVDVJ257AiB79akUW2h4wduo6/87bI2qQCNuanHLLf/L86e4A8r2yQ=="}]},"_npmUser":{"name":"chesare22","email":"chesarglez429@gmail.com"},"directories":{},"maintainers":[{"name":"chesare22","email":"chesarglez429@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sum-to_1.0.1_1713329674845_0.9932523774841449"},"_hasShrinkwrap":false},"1.0.2":{"name":"@binary-tree-syrup/sum-to","version":"1.0.2","description":"CLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus","keywords":["killer sudoku","commbinations","cli app","utility"],"main":"./cli.js","bin":{"sum-to":"cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Chesare22/sum-to.git"},"author":{"name":"César Alejandro González Ortega"},"license":"ISC","bugs":{"url":"https://github.com/Chesare22/sum-to/issues"},"homepage":"https://github.com/Chesare22/sum-to#readme","dependencies":{"commander":"^12.0.0"},"gitHead":"f65982943fe874defe1485f0499cee902f3b6671","_id":"@binary-tree-syrup/sum-to@1.0.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-ryrB4Yl+bE+rZtq/qJHVUe9EjeCx1Kh6W49fSsJTTKdjo7wPJ/0mIytoC0Ye7HLSBcme9+Qdx2kkby+xRQVqOA==","shasum":"37e29acd8238c0fad8a53fc6bde25ae0e5c31dad","tarball":"https://registry.npmjs.org/@binary-tree-syrup/sum-to/-/sum-to-1.0.2.tgz","fileCount":4,"unpackedSize":5540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZxJOJ9jU8FTGoTdImvmLFhAPfDOzY/YoQyx/XrAvG3AiEAtcpfDbtSQGQPIyaCmSfBvTV4oCRge/t3vpDUU7dwGMA="}]},"_npmUser":{"name":"chesare22","email":"chesarglez429@gmail.com"},"directories":{},"maintainers":[{"name":"chesare22","email":"chesarglez429@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sum-to_1.0.2_1713403555075_0.8433396920695788"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-17T02:19:25.865Z","1.0.0":"2024-04-17T02:19:26.195Z","modified":"2024-04-18T01:25:55.429Z","1.0.1":"2024-04-17T04:54:35.006Z","1.0.2":"2024-04-18T01:25:55.219Z"},"maintainers":[{"name":"chesare22","email":"chesarglez429@gmail.com"}],"description":"CLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus","homepage":"https://github.com/Chesare22/sum-to#readme","repository":{"type":"git","url":"git+https://github.com/Chesare22/sum-to.git"},"author":{"name":"César Alejandro González Ortega"},"bugs":{"url":"https://github.com/Chesare22/sum-to/issues"},"license":"ISC","readme":"# sum-to\nCLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus\n\n## Install\n```\nnpm i -g @binary-tree-syrup/sum-to\n```\n\n## Usage\n```\nsum-to --help\n```\n\n```\nUsage: sum-to <sum> [options]\n\nCLI app to list all the possible ways of summing to N. Helpful when solving killer sudokus.\n\nArguments:\n  sum                                The number to sum to. It must be a positive integer.\n\nOptions:\n  -u, --using <amount>               The amount of summands to use. It must be a positive integer.\n  -f, --from <summand...>            The list of valid summands. The default value is 1-9.\n  -e, --excluding <not-summands...>  Numbers that should not be used as summands,\n  -h, --help                         display help for command\n```\n\n## Examples\n```\n$ sum-to 6 --using 2\nCombinations of 2 numbers from 1,2,3,4,5,6,7,8,9 that sum to 6:\n[ [ 1, 5 ], [ 2, 4 ] ]\n```\n```\n$ sum-to 8 --using 3 --from 1-5\nCombinations of 3 numbers from 1,2,3,4,5 that sum to 8:\n[ [ 1, 2, 5 ], [ 1, 3, 4 ] ]\n```\n```\nsum-to 18 --using 4 --excluding 3 9\nCombinations of 4 numbers from 1,2,4,5,6,7,8 that sum to 18:\n[ [ 1, 2, 7, 8 ], [ 1, 4, 5, 8 ], [ 1, 4, 6, 7 ], [ 2, 4, 5, 7 ] ]\n```\n```\n$ sum-to 30 --using 5\nCombinations of 5 numbers from 1,2,3,4,5,6,7,8,9 that sum to 30:\n[\n  [ 1, 5, 7, 8, 9 ],\n  [ 2, 4, 7, 8, 9 ],\n  [ 2, 5, 6, 8, 9 ],\n  [ 3, 4, 6, 8, 9 ],\n  [ 3, 5, 6, 7, 9 ],\n  [ 4, 5, 6, 7, 8 ]\n]\n```\n```\n$ sum-to 30 -u 5 -e 2\nCombinations of 5 numbers from 1,3,4,5,6,7,8,9 that sum to 30:\n[\n  [ 1, 5, 7, 8, 9 ],\n  [ 3, 4, 6, 8, 9 ],\n  [ 3, 5, 6, 7, 9 ],\n  [ 4, 5, 6, 7, 8 ]\n]\n```\n","readmeFilename":"README.md","keywords":["killer sudoku","commbinations","cli app","utility"]}