Socket
Socket
Sign inDemoInstall

select

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    select

Programmatically select the text of a HTML element


Version published
Weekly downloads
1.6M
increased by3.61%
Maintainers
1
Install size
13.2 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 08 Feb 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc