The io service is used as a unique shared interface in order to perform read/write actions, typically like localStorage/cookieStorage.
npm i qipp-services-io
In the config phase of your application
For example, if you want to set the service to be tied to the localStorageService from angular-local-storage:
ioProviderdefaultsprovider = 'localStorageService'ioProviderdefaultsgetMethod = 'get'ioProviderdefaultssetMethod = 'set'ioProviderdefaultsclearMethod = 'clearAll'
Then you can perfom the usual I/O operations needed:
ioio // 123// Clear all values.ioclear
Linting with StandardJS
npm run lint
Unit testing with Karma
- angular 1.4.3
- qipp-services-relay 0.1.0