{"_id":"sell","_rev":"5-c4af4566b4af526d8c4fc9abacffa050","name":"sell","description":"Cross-browser text selection made simple","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"sell","version":"1.0.0","description":"Cross-browser text selection made simple","main":"sell.js","repository":{"type":"git","url":"https://github.com/bevacqua/sell.git"},"author":{"name":"Nicolas Bevacqua","email":"nicolasbevacqua@gmail.com","url":"http://bevacqua.io/"},"license":"MIT","bugs":{"url":"https://github.com/bevacqua/sell/issues"},"homepage":"https://github.com/bevacqua/sell","gitHead":"3950ef5162b23072fe342df8a414446b3cdee1bc","_id":"sell@1.0.0","scripts":{},"_shasum":"3baca7e51f78ddee9e22eea1ac747a6368bd1630","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.26","_npmUser":{"name":"bevacqua","email":"nicolasbevacqua@gmail.com"},"maintainers":[{"name":"bevacqua","email":"nicolasbevacqua@gmail.com"}],"dist":{"shasum":"3baca7e51f78ddee9e22eea1ac747a6368bd1630","tarball":"https://registry.npmjs.org/sell/-/sell-1.0.0.tgz","integrity":"sha512-xd3i7H12FAVIfAT4FiWM07pxjqEZj2aPWEDREvF1Yb+gD0AUQvwrY/4/lT+Xb+eGWG2H0avvo963xQQ8ERWhIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNCf2CROHXoqhuPz865bPLOX5ikTyjAwIRDTrrn/BMGgIgTqs++BcISE34F+f6PLCm6wWH56sh7HL/DZ/XfQhjTCg="}]}}},"readme":"# Sell\n\n> Cross-browser text selection made simple\n\n# Install\n\n```shell\nnpm install sell --save\n```\n\n# Use\n\nNote that `el` must be either an `<input>` element or a `<textarea>`.\n\n`sell(el)`\n\nReturns an object like `{ start: 1, end: 3 }` indicating where the selection starts and ends.\n\n`sell(el, p)`\n\nSets text selection on element `el` to a range `p`, like the ones returned from `sell(el)`. Note that you can set either `start` or `end` to the special `'end'` value, in which case `el.value.length` will be used.\n\n# License\n\nMIT\n","maintainers":[{"name":"bevacqua","email":"nicolasbevacqua@gmail.com"}],"time":{"modified":"2022-06-26T17:27:46.998Z","created":"2015-03-09T23:06:27.120Z","1.0.0":"2015-03-09T23:06:27.120Z"},"homepage":"https://github.com/bevacqua/sell","repository":{"type":"git","url":"https://github.com/bevacqua/sell.git"},"author":{"name":"Nicolas Bevacqua","email":"nicolasbevacqua@gmail.com","url":"http://bevacqua.io/"},"bugs":{"url":"https://github.com/bevacqua/sell/issues"},"license":"MIT","readmeFilename":"readme.markdown","users":{"cmtegner":true}}