Socket
Socket
Sign inDemoInstall

inputadviser

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    inputadviser

input adviser helper


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

HTMLInputAdviser

An adviser for HTML input tag

Directly use dist/InputAdviser.js

Just load InputAdviser.js by script tag and the InputAdviser.InputAdviser is the class object.

install

npm i inputadviser

Usage

new InputAdviser('selector of the input or the element',async word=>{
	const list=[],descList=[];
	//do something to get advice list
	//...

	list.descList=descList;//if there is a description list, set it to list.descList

	return list;
});

Keywords

FAQs

Last updated on 17 Oct 2022

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