Including Modules within Mobile Services using Node


  • Hi all,

    I am developing a collection of Web Service custom APIs using Mobile Services within Azure.  I am finding myself duplicating functions multiple times - once for each custom API.  Surely, this is not an efficient way of building the service - I must be missing an obvious way to create a library of custom functions that I can include in each custom API.  With other modules it is possible to use the require instruction to include an external module.  However, I cannot get this to work for my own library  - I must be doing something wrong.  I see something like this as a pretty trivial, and fundamental, task. However, I have not been able to find any documentation written about the subject.  Would one of you kind souls inform me on the best way to achieve this goal.

    Many thanks,

    FunnyCodingBear. :-)


    Sunday, August 25, 2013 9:15 PM


All replies