1.4.2 • Published 3 years ago

reibus-utils v1.4.2

Weekly downloads
63
License
ISC
Repository
github
Last release
3 years ago

Reibus Intl Utilities

Reibus utilities than can be used in BackEnd and also on FrontEnd.

About

One stop shop for all the company's commonly used tools. This package contains functions and objects that are commonly used throughout the Reibus API and Front-End codebases.

How To Add

  1. Create the function/object and export it from index.js.
  2. Make sure you're logged in to the contributing npm proflie:
    • This can be done by running npm login
    • If you want to confirm you are already loggen in, run npm whoami
  3. Check and update version
    • Check what the current version is with `npm version'
    • Update the version, depending on your changes with that same command, followed by the new version you are publishing npm version 1.0.1.
  4. Publish your changes by running npm publish
  5. Install or update the latest version of this package in the repository where you want to use it.

Importing

In your node project, add the file using the following property in the package.json

"reibus-utils": "git@github.com:reibusintl/reibus-utils.git#vX.Y.Z"

The vX.Y.Z specifies the version number

Creating a new version

To create a new version, use the command:

npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=<prerelease-id>] | from-git]

Afterwards, push the code to the repo using: git push --follow-tags.

More information for the npm version command in https://docs.npmjs.com/cli/v6/commands/npm-version

What's Included

Functions

  • calculateGauge()
  • capitalizeFirstLetter()
  • createRFQTitle()

Objects

  • rangeSpecSchema
1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago