🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

select

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
s

select

Programmatically select the text of a HTML element

1.1.2
latest
100

Supply Chain Security

100

Vulnerability

82

Quality

81

Maintenance

100

License

Version published
Weekly downloads
1.6M
-16.97%
Maintainers
1
Weekly downloads
 
Created
Issues
1

select

Build Status

Programmatically select the text of a HTML element.

Install

You can get it on npm.

npm install select --save

Or bower, too.

bower install select --save

If you're not into package management, just download a ZIP file.

Usage

Standalone

<script src="dist/select.js"></script>
var input = document.querySelector('input');
var result = select(input);

Browserify

var select = require('select');
var input = document.querySelector('input');
var result = select(input);

License

MIT License © Zeno Rocha

FAQs

Package last updated on 08 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts