opendatalayer-plugins-kaufhof
v0.0.0
Published
Kaufhof-specific plugins for the OpenDatalayer framework
Downloads
8
Readme
Kaufhof plugins for the OpenDatalayer framework
Collection of more or less Kaufhof-specific plugins for the OpenDatalayer. Most of them using very special attributes that are not universally applicable. Before they can become universal ODL plugins we need to sort out the issues and make them more generalized.
Usage
The plugins should be used together with ODL Builder. Install them as a local npm dependency like this:
npm install opendatalayer-plugins-kaufhof --save-dev
Then you can directly reference them in your ODL Builder configuration:
odlBuilder.configure({
plugins: {
'./node_modules/opendatalayer-plugins-kaufhof/dist/econda': {
config: { }
}
}
})
NOTE: This is very early pre-production software and we give no warranty for anything. Also: all existing hacks are necessary because of the poor ES6 module support in node. As soon as the support becomes native, we can get rid of many ES6->ES5 transpilation workarounds that are currently used throughout the ODL project.
TODO
- verify that plugins using jquery really work (or better: remove jquery dependency wherever possible)