spacename
Namespace your type constants.
Usage
Install:
npm install --save spacename
Define:
; const ns = ; const LOGGED_IN = ; // auth/LOGGED_INconst LOGGED_OUT = ; // auth/LOGGED_OUT
Works great with babel-plugin-filenamespace:
// .babelrc "plugins": "filenamespace" "root": "src"
// src/action/auth.js; const ns = ; const LOGGED_IN = ; // action/auth/LOGGED_INconst LOGGED_OUT = ; // action/auth/LOGGED_OUT