1.0.3 • Published 4 years ago
creating-npm-package-workflow-jh v1.0.3
Creating an NPM package
To install run:
npm install creating-npm-package-workflow-jhTo 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.