Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: How develop pure JS library involving multiple source files? Date: Mon, 29 Aug 2016 12:58:00 +0100 Organization: A noiseless patient Spider Lines: 22 Message-ID: <87wpizkcs7.fsf@bsb.me.uk> References: <26eae79d-b1cd-4e4d-b795-608f470c97db@googlegroups.com> <8737lnlxj4.fsf@bsb.me.uk> <4c14deb8-3276-4bc5-9577-b64147bfcbfd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="4840"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4KQMaD59fEbt5ZzGQQacQf+PZqOrN3Rk=" Cancel-Lock: sha1:K3Yzwrsg/k5/46An1CHbuu8BmwY= sha1:fXLOrgX9G9v5Cistf8/awc5J8/Q= X-BSB-Auth: 1.4ba833c82ed7105ca1ba.20160829125800BST.87wpizkcs7.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:31207 Ken Tilton writes: > On Monday, August 29, 2016 at 5:44:37 AM UTC-4, Ben Bacarisse wrote: >> ... As a Linux user I use nodejs, but you name some things >> below that I've not heard of so I think you many be using Windows. > Thanks, Ben, I am up and running with nodejs. This page explained the > bit I was missing: how to use "require" to go cross-file: > > http://openmymind.net/2012/2/3/Node-Require-and-Exports/ > > btw, I am running a Node.js Express project under Webstorm on Ubuntu, > though it does have Windows and Mac OS versions. Ah, OK. I've got too familiar with my editor to want to investigate other interfaces so I was not aware of Webstorm on Linux, but it's good I've now heard of it! Glad you're up and running. -- Ben.