{"_id":"gitio","_rev":"13-8ada3a95377524368b91d68ed22d8bd6","name":"gitio","description":"Library for nodejs to call the git.io URL shortner","dist-tags":{"latest":"2.3.0"},"versions":{"1.0.0":{"name":"gitio","version":"1.0.0","description":"Library for nodejs to call the git.io URL shortner","main":"./index","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"_id":"gitio@1.0.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"0d0e6c33d4f3b21425fb53805c71aa4d4f5440fd","tarball":"https://registry.npmjs.org/gitio/-/gitio-1.0.0.tgz","integrity":"sha512-ppyF8XMex1FP6GhlKzT0pXqxF15P4wYnqa/hDrrONrTdEYvhFCQCF9BV7JlzWMK5C01NLIxROk4eCPcnlG0enw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6zONdJjWWLj1NoB6gQsA+dydIbkSUBtZQx2+P0TfOAAiEAwtKkFbQIuFMPObw7vjhl2uDlI3+qqszYHeR9LjWLDBY="}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"gitio","version":"1.0.1","author":{"name":"Tane Piper","email":"piper.tane@gmail.com"},"description":"Library for nodejs to call the git.io URL shortner","main":"./index","repository":{"type":"git","url":"git://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.4.0"],"_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"_id":"gitio@1.0.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.1","_defaultsLoaded":true,"dist":{"shasum":"267852323c5d38a473e27d582ed66c773b702230","tarball":"https://registry.npmjs.org/gitio/-/gitio-1.0.1.tgz","integrity":"sha512-KaL4biAt49v6BCc7AWMVSzUCx0aL5gA6AxWdKJqp69om2DL2/mq2HQd6Ki9EFXmSUly2u4JjEHT+7zq5WkhGMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7F7K4tD+rXPKL2OlPsr9b+F5mH04A9kUWyKyOaOvyAwIhANg2DQmENfmjFJbK3vtjNMiPWWEqhFlxQT/V9/1N1eQe"}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.0.0":{"name":"gitio","description":"Library for nodejs to call the git.io URL shortner","version":"2.0.0","license":"MIT","homepage":"https://github.com/tanepiper/node-gitio","author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.12.0"],"devDependencies":{"babel":"~5.8.29","chai":"~3.4.0","mocha":"~2.3.3"},"scripts":{"compile":"babel --source-maps --out-dir lib/ src/","test":"mocha test/ --recursive --compilers js:babel/register","prepublish":"npm run compile"},"dependencies":{"boom":"~2.10.0"},"gitHead":"5270eebb93fcfcde4702956a05c678a3ca1d4c7c","_id":"gitio@2.0.0","_shasum":"acf18581dcb310bb310152269e24725c134685df","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"dist":{"shasum":"acf18581dcb310bb310152269e24725c134685df","tarball":"https://registry.npmjs.org/gitio/-/gitio-2.0.0.tgz","integrity":"sha512-IxZDnYZnvN8X4d7v5WM3WguvNIDoq3AyGrLyU5pXKL6R3AKiHbKmCCh5zodu7Xd7YiB+/wnscbd6bTkvTuOCOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJcmvXbwf92MD09V22xcnPdGnApdpQjGE6TiwuSxq92AiBw2O3TgPr0oYmNYKLgAJG/oibgk2tliYLl2N58NmdbBQ=="}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.0":{"name":"gitio","description":"Library for nodejs to call the git.io URL shortner","version":"2.1.0","license":"MIT","homepage":"https://github.com/tanepiper/node-gitio","author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"contributors":[{"name":"Felix Saparelli","email":"me@passcod.name","url":"https://github.com/passcod"},{"name":"Lucas Hrabovsky","email":"hrabovsky.lucas@gmail.com","url":"https://github.com/imlucas"}],"main":"lib/index.js","bin":{"gitio":"lib/cli.js"},"repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.12.0"],"devDependencies":{"babel":"~5.8.29","chai":"~3.4.0","mocha":"~2.3.3"},"scripts":{"compile":"babel --source-maps --out-dir lib/ src/","test":"mocha test/ --recursive --compilers js:babel/register","prepublish":"npm run compile"},"dependencies":{"boom":"~2.10.0","optimist":"~0.6.1"},"gitHead":"5a97fc0b7a979ea7cf6b007c1826859f25c48c6a","_id":"gitio@2.1.0","_shasum":"c15d077dfb15a6708313576fce6ff238fe77be9c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"dist":{"shasum":"c15d077dfb15a6708313576fce6ff238fe77be9c","tarball":"https://registry.npmjs.org/gitio/-/gitio-2.1.0.tgz","integrity":"sha512-hkzcbNrMiWupmm2TgNQDqC2YWWATDvXpW1t1miWHNC7/mXf5GybynvAP0W7jnEzyrGKUrxJ/P2gD6saJJV5GkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqY6Qmo5Xz0iDnJux+wSnOthtaXbVQTPVe1uO1zWkTTAiAwKVnOZFxvyiuzIB1KsG/tvS1hL/fZswwAGk7uZU6gIg=="}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.1.1":{"name":"gitio","description":"Library for nodejs to call the git.io URL shortner","version":"2.1.1","license":"MIT","homepage":"https://github.com/tanepiper/node-gitio","author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"contributors":[{"name":"Felix Saparelli","email":"me@passcod.name","url":"https://github.com/passcod"},{"name":"Lucas Hrabovsky","email":"hrabovsky.lucas@gmail.com","url":"https://github.com/imlucas"}],"main":"lib/index.js","bin":{"gitio":"lib/cli.js"},"repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.12.0"],"devDependencies":{"babel":"~5.8.29","chai":"~3.4.0","mocha":"~2.3.3"},"scripts":{"compile":"babel --source-maps --out-dir lib/ src/","test":"mocha test/ --recursive --compilers js:babel/register","prepublish":"npm run compile"},"dependencies":{"boom":"~2.10.0","optimist":"~0.6.1"},"gitHead":"87f0c336b5a6015157dd0a18294ac4acd64c39a7","_id":"gitio@2.1.1","_shasum":"5da18b270e09414327236c469c261416d046637b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"dist":{"shasum":"5da18b270e09414327236c469c261416d046637b","tarball":"https://registry.npmjs.org/gitio/-/gitio-2.1.1.tgz","integrity":"sha512-j30txw8OZQKINkBldKp+MoHTbMILVbwDQe6198p4ehR+6vTfPiiMBHaNz+tHifpI1TmXXz2SDKMJfyZw6yREdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrtHQYvYeDeo35/sRU/LQcCR+rzGogosV8LHf289zdmgIhAKxTS+4ecO1+oCEWtvRe+eMVmf7QEcFH4q209fzDBckt"}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.2.1":{"name":"gitio","description":"Library for nodejs to call the git.io URL shortner","version":"2.2.1","license":"MIT","homepage":"https://github.com/tanepiper/node-gitio","author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"contributors":[{"name":"Felix Saparelli","email":"me@passcod.name","url":"https://github.com/passcod"},{"name":"Lucas Hrabovsky","email":"hrabovsky.lucas@gmail.com","url":"https://github.com/imlucas"},{"name":"noformnocontent","url":"https://github.com/noformnocontent"}],"main":"lib/gitio.js","bin":{"gitio":"lib/cli.js"},"repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.12.0"],"devDependencies":{"chai":"~3.5.0","mocha":"~2.4.5"},"scripts":{"test":"mocha test/ --recursive --compilers js:babel-core/register"},"dependencies":{"boom":"~3.1.2","yargs":"~4.1.0"},"gitHead":"d6ab7c3a01c64f91cb6b018cd68925f61a7d311d","_id":"gitio@2.2.1","_shasum":"31da74be9f66861ac272fe86504724b511548629","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"dist":{"shasum":"31da74be9f66861ac272fe86504724b511548629","tarball":"https://registry.npmjs.org/gitio/-/gitio-2.2.1.tgz","integrity":"sha512-MSFL4Du/I5bPoTZw+cSlkg1zuYI0LDtsqrMVgv93n6Yr4wsTIrsWyS3YD77uo3fiz+eP7VQwKbBpi75leoZqLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHVPO4zopFTmbjSQGNJU4hSVABTUFp0vOURxmx30/c9AiBfQ3zcvIvEU5xKpCraTU+vjnhINmLuUrezb8tpGPY/fg=="}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gitio-2.2.1.tgz_1490281383505_0.39711621636524796"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.0":{"name":"gitio","description":"Library for nodejs to call the git.io URL shortner","version":"2.3.0","license":"MIT","homepage":"https://github.com/tanepiper/node-gitio","author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"contributors":[{"name":"Felix Saparelli","email":"me@passcod.name","url":"https://github.com/passcod"},{"name":"Lucas Hrabovsky","email":"hrabovsky.lucas@gmail.com","url":"https://github.com/imlucas"},{"name":"noformnocontent","url":"https://github.com/noformnocontent"}],"main":"lib/gitio.js","bin":{"gitio":"lib/cli.js"},"repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"engines":["node >= 0.12.0"],"devDependencies":{"chai":"~3.5.0","mocha":"~2.4.5"},"scripts":{"test":"mocha test/ --recursive --compilers js:babel-core/register"},"dependencies":{"boom":"~3.1.2","yargs":"~4.1.0"},"gitHead":"a1caaf9b4b3003f137c53d61753b16620eb06b07","_id":"gitio@2.3.0","_shasum":"aeed23a6611a02137a41a47ced8be75c45070c32","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"tanepiper","email":"piper.tane@gmail.com"},"dist":{"shasum":"aeed23a6611a02137a41a47ced8be75c45070c32","tarball":"https://registry.npmjs.org/gitio/-/gitio-2.3.0.tgz","integrity":"sha512-NL5rLOQEFcuDOzsPCMNJMgpabSc3bx4q1alC07lFt/wAiK37sHZsWNKtO2CWVNzhtCskO+cGP0Vsy1FAKivFUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6RJLjOjJYRmoD1AZdhxVk2oM7ZSnq6i2viwRe1tkTZAiAf/GfosmX2ZRCS2cEZlpnhgr+Z5vHjlF6DW+VnZKFYsQ=="}]},"maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/gitio-2.3.0.tgz_1490345276682_0.2781724806409329"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"# `gitio`\n\nA Node.js module to call GitHub's [git.io url shortener service](https://github.com/blog/985-git-io-github-url-shortener).\n\n## Library Usage\n\n```js\nconst gitio = require('gitio');\n\n// Pass a direct URL and get back a random URL\ngitio('https://github.com/tanepiper/node-gitio').then(result => {\n  console.log(result);\n});\n\n// Pass an optional key to get the URL of your request\ngitio('https://github.com/joyent/node', 'nodejs').then(result => {\n  console.log(result);\n});\n```\n\n## API\n\n### gitio(url, [code])\n\n#### url\n\nType: `string`\n\nThe `github.com` URL to shorten.\n\n#### code\n\nType: `string`\n\nThe shortened URL path.\n\n\n## Command line usage\n\nInstall and use from the command line.  Takes a required github.com url, and an optional code as\na second parameter.\n\n```\n> npm install -g gitio\n> gitio https://github.com/tanepiper [tanepiper]\n```\n","maintainers":[{"name":"tanepiper","email":"piper.tane@gmail.com"}],"time":{"modified":"2022-06-18T12:36:12.889Z","created":"2011-11-16T21:52:51.749Z","1.0.0":"2011-11-16T21:52:54.037Z","1.0.1":"2011-11-16T22:17:23.333Z","2.0.0":"2015-10-30T11:29:32.219Z","2.1.0":"2015-10-30T14:58:37.814Z","2.1.1":"2015-10-30T15:15:22.306Z","2.2.1":"2017-03-23T15:03:05.453Z","2.3.0":"2017-03-24T08:47:58.496Z"},"author":{"name":"Tane Piper","email":"piper.tane@gmail.com","url":"https://github.com/tanepiper"},"repository":{"type":"git","url":"git+https://github.com/tanepiper/node-gitio.git"},"homepage":"https://github.com/tanepiper/node-gitio","bugs":{"url":"http://github.com/tanepiper/node-gitio/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Felix Saparelli","email":"me@passcod.name","url":"https://github.com/passcod"},{"name":"Lucas Hrabovsky","email":"hrabovsky.lucas@gmail.com","url":"https://github.com/imlucas"},{"name":"noformnocontent","url":"https://github.com/noformnocontent"}]}