[nodejs] JAR like format for nodejs

2016-10-13 Thread Jan Flyborg
Hi, I am wondering if there are any plans to change the module system of nodejs to make it able to import modules from a single archive (much like Java's jar which actually is a zip in disguise). We are planning on deploying code on a space constrained device and since our node_module folder is

Re: [nodejs] Is it possible to halt npm install before running any install scripts?

2016-10-13 Thread Paul Johnston
Thanks Ryan, that looks good. On Thursday, October 13, 2016 at 6:33:49 AM UTC-6, Ryan Graham wrote: > > You could do `npm install --ignore-scripts`, run your checks, and then do > `npm rebuild`. That should do what you want. > > These commands are also useful for bundled dependency workflows,

[nodejs] Does nodejs have an interface definition language(.idl) file for automatically generating bindings for alternative javascript languages?

2016-10-13 Thread crocket
For example, DOM has .idl files for its own API, so alternative javascript languages automatically generate bindings to DOM from .idl files. Does nodejs have an equivalent of .idl file? -- Job board: http://jobs.nodejs.org/ New group rules:

Re: [nodejs] Is it possible to halt npm install before running any install scripts?

2016-10-13 Thread Ryan Graham
You could do `npm install --ignore-scripts`, run your checks, and then do `npm rebuild`. That should do what you want. These commands are also useful for bundled dependency workflows, by the way. ~Ryan On Thu, Oct 13, 2016, 3:38 AM Paul Johnston wrote: > I'd like to be able