1.0.0 • Published 3 years ago
npm-2ndtrial-lesson3 v1.0.0
#Silly Input
To install run:
npm install silly-input
To use in your project, add a class of .silly-input
to any HTML input you want to convert.
<input placeholder="First name" class="silly-input" />
Then in your JavaScript file import and call Silly Input like this:
import sillyInput from "silly-input";
sillyInput();
*Note: You will need to use a bundler like Parcel or Webpack to import the package like this.
1.0.0
3 years ago