Npm dependencies at administration

Hi Everyone,
I try to install some dependencies via NPM to administration,
installation of npm package is proper,but when i use in index.js file,then not working my plugin.

I follow below steps:

  1. create package.json file.
  2. Import npm package (eg. npm i formBuilder)
  3. Also import dependent package of formBuilder.
  4. Create webpack.config.js file.
  5. Import module file in main.js file.
  6. Use formBuilder package in index.js file

Please give me any idea or refrences for how to work with npm package at administration.
thank you in advance.