pipe-services
This module provides a service library that can be used by react projects using the node module pipe-automater.
Get started
- Create an app with pipe-automater
$ npm install pipe-services
- Use services when needed
Usage
I18n
Import and initialize i18n service with the .i18n.json file you want to use.
;;const i18n = i18nFile; // Get translation of string with give id in the current system languageconsole;// Get translation with giving an option array to substitute each variable in {} included in the string console;
Hoc
Higher order components for components, modules and views.
They are also used when running $ npm run add
inside the template