@@ -494,6 +494,15 @@ And for use in the browser:
494 %include JavaScript "path/to/external.js"
494 %include JavaScript "path/to/external.js"
496The given files will be added to the top of the generated code.
496The given files will be added to the top of the generated code.
497+For library packages you can also use the ipkg objs option to include the
498+js file in the installation, and use
500+.. code-block:: idris
502+ %include Node "package/external.js"
504+This javascript and node backends idris will also lookup for the file on
498Including *NodeJS* modules
507Including *NodeJS* modules
499--------------------------
508--------------------------