@unaffi/shared-utils

v1.0.1

Published

A collection of utility functions and helpers for UNAFFI JavaScript projects.

Downloads

2

Readme

Shared Utils

A collection of utility functions and helpers for UNAFFI JavaScript projects. Only define functions here that are used in the UI-kit. If not used in UI-Kit, define the function in the Shared.

Installation

npm install shared-utils

Usage

Example:

import { utilityFunction } from 'shared-utils';

const result = utilityFunction(data);

Development

Publishing Updates

  1. Bump the version in the package.json:
    {
        // …
        "version": "1.0.0", // to "1.0.1"
        // …
    } 
  2. Update Github:
    git add .
    git commit -m "Your commit message"
    git push
  3. Update npm:
    npm login
    npm publish