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