{"_id":"smartdc-cost","_rev":"28-b67a187e0c352c3ceb89ee73e211ad8c","name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.1","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost` will return results like this:\n\n```\n  Devices:\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.03/hr\n   > Host2 @ 456.456.456.456 (Small 1GB) => $0.085/hr\n\n  Total:\n   > $0.12/hr\n   > $82.80/month\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `export SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `export SDC_CLI_ACCOUNT` your joyent account name\n - `export SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `export SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.1","dist":{"shasum":"4166761a9e03226c5c6cd191b11726db17572560","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.1.tgz","integrity":"sha512-ybuy5L/ZNBpUoUAC0aLvP0HJuEyXzzZM6W2SCr/WKZmJlJYKAzYsBryO7dCx/5ibI1j+IJsFDAQnFSTepdmYHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYGGHytuXVq+zt1sDH6+sb8IhcS1BIX2bK4/oV9SFQGQIhAIDqEkOhWAvTXvo9lgLYvfB4nNLlpOGrosKeYsi+PZXo"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}],"directories":{}},"0.0.2":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.2","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost` will return results like this:\n\n```\n  Devices:\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.03/hr\n   > Host2 @ 456.456.456.456 (Small 1GB) => $0.085/hr\n\n  Total:\n   > $0.12/hr\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.2","dist":{"shasum":"3a01e8f92f0949b5ca2a5e78f1cf538f7f489780","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.2.tgz","integrity":"sha512-AeVfNtvtsupBfnw7OkvZauGNFynRniGg0q7gpoEC6RoY341KLGz5Km8FDCAE9agh0pkHoAezeRxqKZJ0u8OESw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl0mGNI21+8W9K8hB4PPNpDOvAIc9fZpm9Fr2ap7MLsAIhAMwHBtnrv5i8eUsyRat6TKI2/uzZ7AYd655fQs16WKJB"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.3":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.3","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n\nyou can pass `--format` to define the type of output. Options are:\n### `sdc-listmachines-cost --format=JSON`  (default)\n\n```\n  { \n    totals: { \n      hourly: '0.12', \n      monthly: '82.80', \n      yearly: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         price: 0.03 },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         price: 0.085 },\n     ]\n  }\n```\n\n### `sdc-listmachines-cost --format=human`\n\n```\n  Devices:\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.03/hr\n   > Host2 @ 456.456.456.456 (Small 1GB) => $0.085/hr\n\n  Total:\n   > $0.12/hr\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.3","dist":{"shasum":"714e375cfea27bfda64facc6ab02c8bb4ddc06cf","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.3.tgz","integrity":"sha512-Yvu896szVNkT7npxejDSddIexL/G815DRxEjlezz0zssrSUtWT03ywzdaEdJD1kxXXfiVBiNxzqOS92iikOM1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHLeWDH6Hhbp9TVjltk9lm3n56swvf1XnEi8zt18otIAiEAiJnD4BvUvIH9NV1X1R1Pcpkn3HnLz2feK61mC05r69k="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.4":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.4","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n\nyou can pass `--format` to define the type of output. Options are:\n### `sdc-listmachines-cost --format=JSON`  (default)\n\n```\n  { \n    totals: { \n      hourly: '0.12', \n      monthly: '82.80', \n      yearly: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         price: 0.03 },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         price: 0.085 },\n     ]\n  }\n```\n\n### `sdc-listmachines-cost --format=human`\n\n```\n  Devices:\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.03/hr\n   > Host2 @ 456.456.456.456 (Small 1GB) => $0.085/hr\n\n  Total:\n   > $0.12/hr\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.4","dist":{"shasum":"65673dcfef40f26a08d5a084fa01ec90592aac3f","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.4.tgz","integrity":"sha512-KuctjJCyRbpoUmp7ErPJmPmjbypcLjyi6qeyXFXaKxZ7uZBgx6R5RbfYlXJqVXfL6eeA0xg6ez5NP79VFBBWsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPAtplF3K8UYd/DafoER/Nhbz901NqyvnbrNsaLEv/lgIhAPnbIWc9hRAwfd8uFg8VihxkVhhSIcVxTug5QiUfsnBI"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.5":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.5","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n --format: \"human\" or \"JSON\"\n   default: JSON\n\n --sort: \"alphabetical\" or \"price\"\n   default: alphabetical\n\n --period: \"hour\", \"day\", \"month\", or \"year\" (if you are using the --format=human flag)\n   default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```\n  Devices:\n   > Host2 @ 456.456.456.456 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.5","dist":{"shasum":"7eafce221d13a16bac61ba7b68c6dcb5a51d5e8d","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.5.tgz","integrity":"sha512-j4ujAoMs4b9SlZQTWL+UyFrOzy1ZJvfBh2fWwKtqGSnNsStBjEVqxQnqSeyoLlJKhJoC2RgBBZ1BcSm0h5jnFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOHaLkl+STf0z5VWNJuzBt+JnCrSNKiiSOeAc+Vv+HAQIhAIAIHM63pGQXnxK7yw3FD2Z1r2kgstSIryss+n2eDCtI"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.6":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.6","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n --format: \"human\" or \"JSON\"\n   default: JSON\n\n --sort: \"alphabetical\" or \"price\"\n   default: alphabetical\n\n --period: \"hour\", \"day\", \"month\", or \"year\" (if you are using the --format=human flag)\n   default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```\n  Devices:\n   > Host2 @ 456.456.456.456 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.6","dist":{"shasum":"22dd0335305dc43e9169608c324a66e4d2762a36","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.6.tgz","integrity":"sha512-fiAedaH1cruZVL/1UBOvVxbwMu6iBHsBKUkYeVkTLKSGlbjuzajttKd/FTD1Cd6T5mlaqtf2FzBOAkHDw36fAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB084KVpOFp6n2MCpN24H/xaeOQQ5YR8iWpxaLMjIII0AiAv4f1xVxMTeR0smGdSczTvXc2Jz+uvrzA8XzVlrfbAtA=="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.7":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.7","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n --format: \"human\" or \"JSON\"\n   default: JSON\n\n --sort: \"alphabetical\" or \"price\"\n   default: alphabetical\n\n --period: \"hour\", \"day\", \"month\", or \"year\" (if you are using the --format=human flag)\n   default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```\n  Devices:\n   > Host2 @ 456.456.456.456 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.7","dist":{"shasum":"f9a5841b7bf45eb52091cf7de2819dca220f78d9","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.7.tgz","integrity":"sha512-3Ncc3+XPN4dXBU+tWGiLjv+zDostU3GzrRLAAc35MhACL61kEgFu6dbw9Vr56I1UM4DWsbnNQtY8N/j7sxK5uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD37pia/bhNBJQ/klMpWoeCrm8VDwdZFdUcm9XUJHjRhgIhALgPpWAVQUnozwcS/s1yzMbI2LMmf92wQ44hrw0Gi5ud"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.0.8":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.0.8","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"6.5.4","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n --format: \"human\" or \"JSON\"\n   default: JSON\n\n --sort: \"alphabetical\" or \"price\"\n   default: alphabetical\n\n --period: \"hour\", \"day\", \"month\", or \"year\" (if you are using the --format=human flag)\n   default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```\n  Devices:\n   > Host2 @ 456.456.456.456 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_CLI_ACCOUNT` your joyent account name\n - `SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","readmeFilename":"readme.md","_id":"smartdc-cost@0.0.8","dist":{"shasum":"c3d2c83161714902b857bb946f5278444446064e","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.0.8.tgz","integrity":"sha512-n4QxW99DOgujYmTYY9sZXDjZrsIfwXWxj48IeWzU8lpRjyTXcwXAWn5W87OCDG1sEc3lSEj6gQ+GJ796WDH2Pw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZY+OIfK/piuZDPodXP+5n7Tq2GawEofSW7r4TYmC20AiBzrhq7WRZwLWTRnepnMY5J67R4CRoaJ9WN85ZsL6IM6g=="}]},"_npmVersion":"1.1.66","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.1.0":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.1.0","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"7.x.x","optimist":"0.3.x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financially minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n- format: `human` or `json`\n  - default: json\n- sort: `alphabetical` or `price`\n  - default: alphabetical\n- period: `hour`, `day`, `month`, or `year` \n  - only valid if you are using the `--format=human` flag\n  - default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```javascript\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '456.456.456.456',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```bash\n  Devices:\n   > Host2 @ 456.456.456.456 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\nThere are some packages which joyent no longer lists prices for.  These prices are either coppied from earlier data, or assumed based on the most similar current package.\n\nAll prices are for open-source servers (smartOS, Ubuntu, etc).  The prices of your induvidual machines *will* be higher than listed for licensed servers (windows, zeus, etc).\n\nCurrently, the binary package(s) assume you will be running the commands from bash, and have the following environment variables set for the normal smartdc API:\n\n - `SDC_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_ACCOUNT` your joyent account name\n - `SDC_KEY_ID` the fingerprint of your SSH key\n\nIf you are upgrading from `smartdc` v6x, note the name change for the required ENV variables, and click visit https://npmjs.org/package/smartdc to learn how to generate your ssh fingerprint","readmeFilename":"readme.md","bugs":{"url":"https://github.com/evantahler/smartdc-cost/issues"},"_id":"smartdc-cost@0.1.0","dist":{"shasum":"4fd985a8cba94887d3efcbff9df7003e38cc3a52","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.1.0.tgz","integrity":"sha512-4tNV+5yhRFLEaS1eOKfTZ05vp/y2R7G3MfTlBvH72B0G/mZw8HUKJ+qSIog/vwcp2eeUnXAEyueDUhb0varSKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDCLaj1XQsTVEVNG+mM9sszu4qFstjAInVgPfUlLD78QIhAM0zr+wXZTuvH5nsbiN8VnZgSbL5U7SCOAbkVz/6pwZw"}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]},"0.2.0":{"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"name":"smartdc-cost","description":"Extra commands added to Joyent's smartdc package for the financially conscious","version":"0.2.0","repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"keywords":["joyent","smartdc","smart-dc","cash","cost","money","datacenter"],"engines":{"node":">=0.6.0"},"dependencies":{"smartdc":"7.x.x","optimist":"0.3.x","request":"x"},"bin":{"sdc-listmachines-cost":"./bin/sdc-listmachines-cost"},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financially minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost`\n \n **Options**\n\n- format: `human` or `json`\n  - default: json\n- sort: `alphabetical` or `price`\n  - default: alphabetical\n- period: `hour`, `day`, `month`, or `year` \n  - only valid if you are using the `--format=human` flag\n  - default: hour\n\n## Examples\n\n*`sdc-listmachines-cost`*\n\n```javascript\n  { \n    totals: { \n      hour: '0.12', \n      day: '3.12'\n      month: '82.80', \n      year: '1051.20' \n    },\n    devices: \n     [ { name: 'Host1',\n         ip: '123.123.123.123',\n         type: 'Extra Small 512 MB',\n         prices: { \n           day: '0.72',\n           year: '262.80',\n           month: '22.32',\n           hour: '0.03' }\n        },\n       { name: 'Host2',\n         ip: '156.156.156.156',\n         type: 'Small 1GB',\n         prices: { \n           day: '2.04',\n           year: '744.60',\n           month: '61.20',\n           hour: '0.085' }\n         },\n     ]\n  }\n```\n\n*`sdc-listmachines-cost --format=human --sort=price --period=day`*\n\n```bash\n  Devices:\n   > Host2 @ 156.156.156.156 (Small 1GB) => $2.04/day\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.72/day\n\n  Total:\n   > $0.12/hr\n   > $3.12/day\n   > $82.80/month\n   > $1051.20/year\n```\n\n## Notes\n\nPrices for current images are retrived from [Joyent's public listing](http://www.joyent.com/assets/js/pricing.json).  There are some packages which joyent no longer lists prices for.  These prices are either coppied from earlier data, or assumed based on the most similar current package.  These prices are stored in `/lib/old-prices.json`.  If prices are returned from Joyent's public listing, those results will be used rather than those in `old-prices.json`\n\nAll prices are for open-source servers (smartOS, Ubuntu, etc).  The prices of your induvidual machines *will* be higher than listed for licensed servers (windows, zeus, etc).\n\nCurrently, the binary package(s) assume you will be running the commands from bash, and have the following environment variables set for the normal smartdc API:\n\n - `SDC_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `SDC_ACCOUNT` your joyent account name\n - `SDC_KEY_ID` the fingerprint of your SSH key\n\nIf you are upgrading from `smartdc` v6x, note the name change for the required ENV variables, and click visit https://npmjs.org/package/smartdc to learn how to generate your ssh fingerprint\n","readmeFilename":"readme.md","bugs":{"url":"https://github.com/evantahler/smartdc-cost/issues"},"homepage":"https://github.com/evantahler/smartdc-cost","_id":"smartdc-cost@0.2.0","dist":{"shasum":"2250a18d6b02b5c3b27c59645d2a7edc655abdd2","tarball":"https://registry.npmjs.org/smartdc-cost/-/smartdc-cost-0.2.0.tgz","integrity":"sha512-/DayZl94nBZTlGFCkBV1dwi6eet/z2oOgWES5hct+lqWg7PQar42/+mvxn9j+AEdjfUg2teFDqJZ5qxcOUBP3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDHJ+wyNIPNfHn8SiT++O2+M0kAaOxXCc6LNM3xjJpgwIgTv5vgP/83tFJdCksmMkIIjqUkA1b5yD4eUEmxFwpdq4="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"evantahler","email":"evantahler@gmail.com"},"maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}]}},"readme":"# smartdc-cost\nExtensions to the Joyent Smart Datacenter API for the financialy minded.\n\n## Install\n`npm install smartdc-cost -g`\n\n## Use \n`sdc-listmachines-cost` will return results like this:\n\n```\n  Devices:\n   > Host1 @ 123.123.123.123 (Extra Small 512 MB) => $0.03/hr\n   > Host2 @ 456.456.456.456 (Small 1GB) => $0.085/hr\n\n  Total:\n   > $0.12/hr\n   > $82.80/month\n```\n\n## Notes\nCurrently, the binary package(s) assume you will be runnign the commands from bash, and have the following envrionment variables set for the normal smartdc API:\n\n - `export SDC_CLI_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)\n - `export SDC_CLI_ACCOUNT` your joyent account name\n - `export SDC_CLI_KEY_ID` the name of the SSH/RSA Key registerd with Joyent\n - `export SDC_CLI_IDENTITY` path to the SSH/RSA key you have configured with your Joyent account","maintainers":[{"name":"evantahler","email":"evantahler@gmail.com"}],"time":{"modified":"2022-06-26T21:22:41.707Z","created":"2012-12-15T22:27:50.025Z","0.0.1":"2012-12-15T22:27:50.750Z","0.0.2":"2012-12-15T22:33:56.561Z","0.0.3":"2012-12-15T22:47:15.308Z","0.0.4":"2012-12-19T01:09:38.945Z","0.0.5":"2012-12-19T02:11:13.743Z","0.0.6":"2012-12-19T19:27:30.845Z","0.0.7":"2012-12-19T23:19:42.470Z","0.0.8":"2012-12-20T01:22:39.322Z","0.1.0":"2013-06-26T21:08:56.962Z","0.2.0":"2013-12-10T22:55:47.925Z"},"author":{"name":"Evan Tahler","email":"evantahler@gmail.com"},"repository":{"type":"git","url":"git://github.com/evantahler/smartdc-cost.git"},"users":{"xer0x":true}}