lib-shared-constants

1.0.0 • Public • Published

Shared Constants

This lib allow to share any constants that we need between multiple services or app. For exemple: product codes, action types, pool mode...

Installation

npm:

npm install @iopool/lib-shared-constants

yarn:

yarn add @iopool/lib-shared-constants

Usage

Constant

import { productCode } from "@iopool/lib-shared-constants";

console.log(productCode); // { TabCl200: "TabCl200", TabCl20: "TabCl20", ... }

Flow type

import { productCode } from "@iopool/lib-shared-constants";
import type { ProductCodeType } from "@iopool/lib-shared-constants";

const product: ProductCodeType = productCode.TabCl200;

Readme

Keywords

none

Package Sidebar

Install

npm i lib-shared-constants

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

7.23 kB

Total Files

14

Last publish

Collaborators

  • iopool-usr