1.0.0 • Published 2 years ago

dwh-key-maps v1.0.0

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

npm version code style: prettier

dwh-Key-Maps

A npm package to handle dwh keys. It will contain various helper functions to manage dwh keys.

This project requires NodeJS (version 8 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.

$ npm -v && node -v
6.4.1
v8.16.0

Usage

Install the package

npm install @growthpal/dwhKeyMaps

Import the package

const dwhKeyMaps = require("@growthpal/dwhKeyMaps")
or
import dwhKeyMaps from '@growthpal/dwhKeyMaps'

Current supported functions:

  • convertV1ToV3Ids
    • Description: As the name suggest, this helper function will be used to convert v1 dwh ids to v3.
    • Usage:
      const {convertV1ToV3Ids} = require("@growthpal/dwhKeyMaps")
      let v3Id = convertV1ToV3Ids(v1Id)