Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 326 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 326 Bytes

input-patterns

Install

$ npm install input-patterns

Usage

const pattern = require('input-patterns');

// In React, for example
<input type="text" pattern={`${pattern.alphaNumeric}`} title="Please use only alpha-numeric characters">

License

MIT © Carl Mungazi