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
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)