1.0.3 • Published 4 years ago
creating-npm-package-workflow-jh
Licence
ISC
Version
1.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Creating an NPM package
To install run:
npm install creating-npm-package-workflow-jh
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.