1.0.2 • Published 3 years ago

@raunak96/is-password v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

first-npm-package

Steps:

  • Initialise npm
npm init
  • add relevant code to JS file.
  • For Testing:

    • In the root folder for package do the following:
      npm link
    • Go to a seperate Test folder and do the following:
      npm link <package-name>
    • Then normally required the package and test it out.
  • Then simply do in root folder (make sure you have npm account which is verified):

       npm publish
  • IF package name is scoped like say @/package-name like in babel for example and if we dont want paid private package which these scoped packages default to, do the following:

       npm publish --access=public
  • To update package version:

      npm version <update_type>
      npm publish

    where upate_type = <patch|minor|major>