textarea selection library for the browser

npm install selix
8 downloads in the last week
8 downloads in the last month

selix - the JavaScript text input selection library

selix is a extremely tiny and easy-to-use JavaScript library for manipulating the selection inside of user input elements. It helps you manipulate the selection inside of user inputs such as textareas and inputs and it is therefore very useful in cases such as text editors.


bower install selix

You can also manually download the file. selix also supports Browserify - it exports itself the node way if that is possible.


Make sure to read the documentation. You need to take special precautions for Internet Explorer:

Get involved

selix is still very young and therefore bug reports are very much encouraged. Feel free to submit pull requests. selix is built using gulp from the command line: just run gulp


selix is licensed under the MIT license which is found in the root of this repository.

npm loves you