{"_id":"input-autogrow","_rev":"9-6784b96b60ea0a4c360536b5b90774f5","name":"input-autogrow","description":"Autogrow plugin for inputs","dist-tags":{"latest":"1.1.1"},"versions":{"0.9.0":{"name":"input-autogrow","version":"0.9.0","description":"jQuery autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","javascript","js"],"author":{"name":"Weston Ganger"},"license":"GNU GPL","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{"jquery":">=1.0"},"devDependencies":{"gulp":"*","gulp-uglify":"*","gulp-rename":"*","pump":"*","del":"*"},"gitHead":"97c84da38f0838c4d418f2fca6f6d8bb3f5b177d","_id":"input-autogrow@0.9.0","scripts":{},"_shasum":"18ccf225bc2319221700fd8cad78b506f25b71d4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"westonganger","email":"westonganger@gmail.com"},"dist":{"shasum":"18ccf225bc2319221700fd8cad78b506f25b71d4","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-0.9.0.tgz","integrity":"sha512-pt+PDaZaJX0ZBRFneL04e6OWdvJq9uksM/NPFB9rC0fupYYPnR3ttrvJNbIsU01/xFmNe7ROct4vc3cd0GH4Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC57iDsCAGGfTBqBb+cAqKypAa32mgQW1cVZU3groyoeAIgZBC/iZqh9uRsXndTqGdbMgJKNvWAMqYN9d0PCU9RVWU="}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/input-autogrow-0.9.0.tgz_1471712500557_0.5415609457995743"}},"1.0.0":{"name":"input-autogrow","version":"1.0.0","description":"jQuery autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","javascript","js"],"author":{"name":"Weston Ganger"},"license":"GNU GPL","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{"jquery":">=1.0"},"devDependencies":{"gulp":"*","gulp-uglify":"*","gulp-rename":"*","pump":"*","del":"*"},"gitHead":"b954dc5d13b198c8d732ebc863ba2328a811bad2","_id":"input-autogrow@1.0.0","scripts":{},"_shasum":"fb22d5d83931d20edaa7a647ad73135818eba7f2","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"westonganger","email":"westonganger@gmail.com"},"dist":{"shasum":"fb22d5d83931d20edaa7a647ad73135818eba7f2","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-1.0.0.tgz","integrity":"sha512-B6U1vI+IlPsmWlKITlpdJG7mB4ibnwucr1JiFkAuGNjIWwECWry8YljSVerUDNhJd0mIQxPk3vZ8PmEKXVj3JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGf/fQjPxvjqQAVKOAXhuPYmpEpc2XEznskkpSiCG5BmAiEA+6Ub+mD+uNRaK/J/HbTbHQEE9ki1Xk12nXYG6CpiOoY="}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/input-autogrow-1.0.0.tgz_1485368619970_0.46517191268503666"}},"1.0.1":{"name":"input-autogrow","version":"1.0.1","description":"Autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","zepto","javascript","js"],"author":{"name":"Weston Ganger"},"license":"MIT","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{},"devDependencies":{"gulp":"*","gulp-uglify":"*","gulp-rename":"*","pump":"*","del":"*"},"gitHead":"aec7e4164906b802a3dd549383fac9372e65f52e","_id":"input-autogrow@1.0.1","scripts":{},"_shasum":"11c0a71b3f01507334d326d2c656ee082257a130","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"westonganger","email":"westonganger@gmail.com"},"dist":{"shasum":"11c0a71b3f01507334d326d2c656ee082257a130","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-1.0.1.tgz","integrity":"sha512-eDRkMRM0T8bIoHTQalz9ZjPHQWVU/fzKSm/PTp2Gg9GxOfbhiB9GeTDVRytUl7WKBD2EhXF3Sg624HDGlhk1CQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYwsXQVifjflZKnHICtPZqimuRji6FAzgUHsNVbd7X4gIhAMBqdLetFqu69AOeYSufpdVkwm+KYgvOqo3bsqrSZH3r"}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/input-autogrow-1.0.1.tgz_1488221206005_0.42712955735623837"}},"1.0.2":{"name":"input-autogrow","version":"1.0.2","description":"Autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","zepto","javascript","js"],"author":{"name":"Weston Ganger"},"license":"MIT","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{},"devDependencies":{"gulp":"*","gulp-uglify":"*","gulp-rename":"*","pump":"*","del":"*"},"gitHead":"7d25979aa3b3a50cc73a3a0db399247fa2347620","_id":"input-autogrow@1.0.2","scripts":{},"_shasum":"0de6f9da04f0a08b5d29aa610f4495a664c45513","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"westonganger","email":"westonganger@gmail.com"},"dist":{"shasum":"0de6f9da04f0a08b5d29aa610f4495a664c45513","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-1.0.2.tgz","integrity":"sha512-yPDtWMUC6fGAr966A48cw54txp9UlBKfvgH5aud9LwqsEdT6/hWJ8wd5Rjt1ecxokYrslc5QBgANqnQpf/CtzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDq94H33pwxRAKLJvBEKbeeZE4SrACwcpX4RE8apuyTwIhAOJKMP4R9cTlWafsbss5SdyelF/oFgWHJothcvXND1ke"}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/input-autogrow-1.0.2.tgz_1493157304516_0.5226703446824104"}},"1.1.0":{"name":"input-autogrow","version":"1.1.0","description":"Autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"scripts":{"test":"if [[ $OSTYPE == \"darwin\"* ]]; then open test/test.html; else xdg-open test/test.html; fi;"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","zepto","javascript","js"],"author":{"name":"Weston Ganger"},"license":"MIT","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{},"devDependencies":{"del":"*","gulp":"*","gulp-rename":"*","gulp-uglify":"*","pump":"*"},"gitHead":"70e321d2bb2f610c19aefda3bf09dcb4cc9199fe","_id":"input-autogrow@1.1.0","_npmVersion":"5.8.0","_nodeVersion":"9.9.0","_npmUser":{"name":"westonganger","email":"westonganger@gmail.com"},"dist":{"integrity":"sha512-rYq146+huT34U+nYpOh+EWcr3qcdodT7ptjNom2yydefBdH6v6mXMSyYmWVBjBTMDTpdwV4356+5Vd11GFQEow==","shasum":"9d6474257d4d545ce0aa429811680084cae2694d","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-1.1.0.tgz","fileCount":11,"unpackedSize":13953,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBn0HcNThAzTRVQgsqF4ESW/TvvUrX/m5NIQhj9SEZR6AiEAmyWJK3p8z5PAriz6MycE9GagtcyV7xHj/Umdvsu3VxI="}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/input-autogrow_1.1.0_1522906476467_0.6450810513275431"},"_hasShrinkwrap":false},"1.1.1":{"name":"input-autogrow","version":"1.1.1","description":"Autogrow plugin for inputs","main":"dist/input-autogrow.min.js","directories":{"test":"test"},"scripts":{"test":"if [[ $OSTYPE == \"darwin\"* ]]; then open test/test.html; else xdg-open test/test.html; fi;"},"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"keywords":["autogrow","auto-grow","input","jquery","zepto","javascript","js"],"author":{"name":"Weston Ganger"},"license":"MIT","bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"homepage":"https://github.com/westonganger/input-autogrow","dependencies":{},"devDependencies":{"del":"*","gulp":"< 4","gulp-rename":"*","gulp-uglify":"*","gulp-header":"*","pump":"*"},"gitHead":"84afd500c536b35601522658f82d39bce0cc6cea","_id":"input-autogrow@1.1.1","_shasum":"3ceec5282abb2305ee90dbcd65b6b955986e57cd","_from":".","_npmVersion":"3.5.2","_nodeVersion":"8.10.0","_npmUser":{"name":"westonganger","email":"weston@westonganger.com"},"dist":{"shasum":"3ceec5282abb2305ee90dbcd65b6b955986e57cd","tarball":"https://registry.npmjs.org/input-autogrow/-/input-autogrow-1.1.1.tgz","integrity":"sha512-C9xYJYNx5v3Y5nSssC7qyUujGmWk82tCShJ2EnFl6M497LoQbvIT2fEmeFCiGwk/gf9679fhSRFdf0GLBuqSeQ==","fileCount":12,"unpackedSize":15129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvS0mCRA9TVsSAnZWagAAhswP/iUaPDFG6i+7BxauQiZ9\nZNbSSbujP5OqgjkGs6ti+HFX5mVJhvuQa+uG9qshM4BxRjAqHlMHx3WPjkEH\nwTZqEDX0i58rNoFVDFonefEpc8Z2AUHQAOOJlFhrJ8JFqaGZf1+bmxuktLYw\nQ9VOWGcZbtKLF1eF8xtfvjJaivcISUSEQGqon0RmqJeFAFKZMpUSHYUARUxd\n8RcYZAB/CyiFI/fMDHN/VSlINYXLzLEtyUmHCVRPigdlq5v721DOZfJg42B2\n0xeJ3VI5nJj7eBzOUzhRN35jfsahvPDRUWz+/8LlUIPl4fxjrZu5dWy4edMf\nKv1eSPmnWbbpkCrmKnMoG2ohvlXxBIMd3JF7HtxpCXIPI8AUInEZK0WchmAE\noprt6rWPTkGJhT3l0y+FNvYtixRK/PK6ByQYhgkQ8LnHt8WTENqqOWb9JHgC\nyXpsbmOj9TsyZT2dxhL8HkRnDE3KoP1Z4oDL9CX3rzYI67u1B4378aOMcrjn\n3FBqQmESkMBoLHnB4THinoJySxWLv+anMtt+WQAmrLfwcEcmjxQ31xkaEHPh\nUBE5D/lRdw6jxBRDI74ZGnbfuFK0j4E+FhOWDwPTUnxgen4pGsjVkKRprMc1\nBpRlqi/FGxqmKk75FbJANrdnZp+DHvzpC+3B1N9bRQFxAV+kjuP/cFEehd7W\nrT5X\r\n=if0J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqcaO+u5asuKabYPeurz16MmRLIp8PEr20sh8g88rYWAiEAp1Xa/2eIvj5jwjuTq50GYtFxZ85elrL9zGWrY51Q8l0="}]},"maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/input-autogrow_1.1.1_1572678950316_0.9166873418574932"},"_hasShrinkwrap":false}},"readme":"# input-autogrow\n<a href=\"https://badge.fury.io/js/input-autogrow\" target=\"_blank\"><img height=\"21\" style='border:0px;height:21px;' border='0' src=\"https://badge.fury.io/js/input-autogrow.svg\" alt=\"NPM Version\"></a>\n<a href='https://www.npmjs.org/package/input-autogrow' target='_blank'><img height='21' style='border:0px;height:21px;' src='https://img.shields.io/npm/dt/input-autogrow.svg?label=NPM+Downloads' border='0' alt='NPM Downloads' /></a>\n<a href='https://ko-fi.com/A5071NK' target='_blank'><img height='22' style='border:0px;height:22px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee' /></a> \n\nInput-Autogrow is a plugin for autogrowing inputs. This plugin is different from others because most usually target `textarea` tags, this library is instead targeted at `input` tags.\n\nRequires a DOM library such as jQuery, Zepto, or any that supports `$.fn` plugins.\n\n# Demo\n\nhttps://jsfiddle.net/xpvt214o/50743/\n\n# Install\n\n#### NPM, Yarn, or Bower\n```\nnpm install input-autogrow\n\nyarn add input-autogrow\n\nbower install input-autogrow\n```\n\n#### Rails Install\n```ruby\n# Gemfile\nsource 'https://rails-assets.org' do\n  gem 'rails-assets-input-autogrow'\nend\n\n\n# app/assets/javascripts/application.js\n/*\n *= require input-autogrow\n */\n```\n\n# Usage\n```javascript\n/* Makes input elements autogrow */\n$('input.autogrow').inputAutogrow();\n\n/* Manually trigger update */\n$('input.autogrow').trigger('autogrow');\n/* or */\n$('input.autogrow').trigger('change');\n\n/* Custom Options */\n$('input.autogrow').inputAutogrow({maxWidth: 500, minWidth: 25, trailingSpace: 10});\n\n/* Remove autogrow from input */\n$('input.autogrow').inputAutogrow('destroy');\n\n/* If the parent container width is changed (and maxWidth is not specified)\n   OR the options need to be changed, then you must destroy & re-initialize inputAutogrow */\n$('input.autogrow').inputAutogrow('destroy');\n$('input.autogrow').inputAutogrow();\n```\n\n# Options\n`maxWidth` - The max width of the autogrow - Defaults to the inputs parent width\n\n`minWidth` - The min width of the autogrow - Defaults to the inputs original input start width\n\n`trailingSpace` - This is extra spacing at the end of the input which is used until the maxWidth is hit - Default: `0`\n\n# Contributing\n- Only edit js files from `src/` and `test/` folders.\n- To run tests: `npm run test`\n- Remember to run `gulp` to run the dist build after your done adding and testing your changes.\n\n# Credits\nCreated & Maintained by Weston Ganger - [@westonganger](https://github.com/westonganger)\n\nOriginally based on this [Stackoverflow answer](http://stackoverflow.com/questions/931207) by James Padolsey\n\nFor any consulting or contract work please contact me via my company website: [Solid Foundation Web Development](https://solidfoundationwebdev.com)\n","maintainers":[{"name":"westonganger","email":"westonganger@gmail.com"}],"time":{"modified":"2022-06-19T01:25:30.577Z","created":"2016-08-20T17:01:42.925Z","0.9.0":"2016-08-20T17:01:42.925Z","1.0.0":"2017-01-25T18:23:42.264Z","1.0.1":"2017-02-27T18:46:46.227Z","1.0.2":"2017-04-25T21:55:06.140Z","1.1.0":"2018-04-05T05:34:36.707Z","1.1.1":"2019-11-02T07:15:50.434Z"},"homepage":"https://github.com/westonganger/input-autogrow","keywords":["autogrow","auto-grow","input","jquery","zepto","javascript","js"],"repository":{"type":"git","url":"git+ssh://git@github.com/westonganger/input-autogrow.git"},"author":{"name":"Weston Ganger"},"bugs":{"url":"https://github.com/westonganger/input-autogrow/issues"},"license":"MIT","readmeFilename":"README.md"}