I need some help because i'm fairly new to javascript and nodejs world and i'm stuck..
I have a nodejs app project where I installed dependencies (npm install) and then in my .js file, I load my modules like : var Backbone = require('backbone')
and it works well.
But then i tried to install Backbone.DOMStorage (https://github.com/mikeedwards/Backbone.DOMStorage) module...
I did npm install https://github.com/mikeedwards/Backbone.DOMStorage
and installation was Ok (js file is present in the node_modules folder), but when I try to load it with require('Backbone.DOMStorage')
it failed to find and load the module...
From what I understood after many searches, it seems that the plugin isn't CommonJS compliant..
So how can I transform this script to be able to use it like any other module ??
Thanks !