Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 306 Bytes

constants_api.md

File metadata and controls

16 lines (11 loc) · 306 Bytes

Constants APIs

Create an object of values which holds strings that are prefixed with given namespace.

Static Methods

createConstants(namespace, constantsMapping)

import { createConstants } from 'modulajs';

createConstants(
  string namespace,
  object constantsMapping
);