The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

20

NW.js (formerly node-webkit) You can write desktop apps using websites (HTML, CSS, JavaScript) while retaining access to all Node.JS features and APIs. Quoting its readme on GitHub: NW.js is an app runtime based on Chromium and node.js . You can write native apps in HTML and JavaScript with NW.js. It also lets you call Node.js modules directly from ...


5

I was looking for something like this for a quite long time, because Netbeans I was using with Ruby didn't do the job well enough with Node.js. So, my first stop was Eclipse, though it didn't last long: there was something about Eclipse and JavaScript together that just didn't feel right. The next one I tried was IntellijIDEA, Community Edition (which is ...


5

Please, excuse my self-promotion - but recently I developed tiny JavaScript implementation of Earley parser, which can extract multiple syntax trees (which have very simple structure, and can be easily traversed). The library (single JS file) and examples can be found here: https://github.com/lagodiuk/earley-parser-js


4

I found the alternative of Markdown parser for NodeJS. It is markdown-js. Like description of that repository said, markdown-js is Yet another Markdown parser, this time for JavaScript. There's a few options that precede this project but they all treat Markdown to HTML conversion as a single step process. You pass Markdown in and get HTML out, end of ...


4

2016 Update There are few options for writing GUI apps in Node: AppJS - the oldest one, not actively developed, recommends NW.js or Electron NW.js - previously known as node-webkit, sponsored by Intel and Gnor Tech, used in Intel XDK, WhatsApp for Desktop and many others apps Brackets Shell by Adobe, a CEF-based application shell for the Brackets editor, ...


4

devtool: npm install devtool -g Runs Node.js programs inside Chrome DevTools (using Electron). This allows you to profile, debug and develop typical Node.js programs with some of the features of Chrome DevTools. Use the devtool command in place of node: devtool myscript.js NodeMonkey: npm install node-monkey It captures anything that would ...


4

Use Webstorm. It's a fantastic IDE for Web Development with great support for Node.js. It's based on IntelliJ IDEA, so if you liked that IDE you'll love Webstorm, which is tailored for a web developer working in Node. The only problem is that you have to pay for it, but you can try it free for thirty days. Most people who use it will tell you that the ...


3

Recently I am using Visual Studio code. It is at basic level. But supports debugging, Code Completion and Code formatting. Thats the basic requirements. I like it. Main thing it is available on all platforms including Windows, Linux and Mac Update: Now the Visual Studio Code is more powerful than previous, lots of plugins, customisation. I really like it.


3

WebStorm is definitely the best choice for angularjs/protractor development. You would need to let WebStorm know which libraries you are using by configuring libraries, see: Configuring JavaScript Libraries Here is what libraries I have installed during an active protractor e2e test development: You would also need to have a separate run configuration ...


2

There's three that I found; typed-function var typed = require('typed-function'); // create a typed function var fn1 = typed('number, *': function (a, b) { return 'a is a number, b can be anything'; }); https://github.com/josdejong/typed-function check-args var accept = require("check-args-lib") var fn = accept(Number).accept(String).to(function(...


2

Syncfusion Essential Reports for JS/AngularJS can be used to display Reports in AngularJS applications : Sample. It does require a server side .NET based interface. The report viewer can be embedded in your application and reports can be created by the end users using the Report Designer. The whole suite of controls is available for free (commercial ...


2

If you use Node.js 5.10.1 or later, there is a native function: fs.mkdtemp() Does not seem to have any documentation yet Works only for folders


2

https://github.com/raszi/node-tmp A simple temporary file and directory creator for node.js. Does just that Free Open source: MIT License Updated 3 months ago Has not reached 1.0 Example usage: var tmp = require('tmp'); var tmpobj = tmp.dirSync(); console.log("Dir: ", tmpobj.name); // Manual cleanup tmpobj.removeCallback();


2

node.js can be used to create a stand-alone desktop application. It does not have to be used only to create a web server that would be used in concert with a browser. For example, you could write a node.js program to search through a comma delimited text file, find a bunch of data, then insert that data into a database, then output to the console how many ...


2

You mentioned in the Feathers Slack channel you were interested in Feathers. Ben Awad has a detailed and ongoing YouTube series about building a silent auction app with FeathersJS. Would that be useful? https://www.youtube.com/watch?v=wVUD9i_LYRw&list=PLN3n1USn4xlnoL-H2VIrzaZhq6uvQppMF


1

You can use a real Node application like Keystone: http://keystonejs.com/ It is a Node.js CMS & Web Application Platform. You can configure it however you like and stress test it to you needs. Other CMSes: http://apostrophecms.org/ https://www.totaljs.com/cms/


1

As someone who currently uses Node exclusively for all backend stuff, I have to warn you about possible problems that a beginner as your teammate may have. I see those problems regularly on Stack Overflow. The number one problem that people have with Node is asynchronous I/O. If your teammate has a frontend background than this can be not a problem. But ...


1

Disclaimer: I'm an active developer for the software I'm about to recommend, so I'm at least a bit biased. While it might be slight overkill for your particular use case, Netdata should be able to do a vast majority of the monitoring you would potentially be interested in. It's a bit more focused on the performance monitoring side of things, but it can ...


1

Handlebars seems to fit the bill perfectly.


1

If you want to do something basic in Java, use Servlets. Java servlets allow you to use java to make web pages at a very basic level. This is good if you aren't super experienced in making beautiful front-end pages. Servlets are like embedding HTML in your java. It is almost like you are writing a Java program to print out a dynamically created webpage. i.e....


1

In a user management system you have to take care of authentication and authorization. While for authorization I think one could say there is an "accepted" go-to library for Node.js (Passport), I don't think there is a complete solution for what you need. Actually, I was looking for the same thing a few weeks ago, and I found these projects: Aqua Frame ...


1

I would suggest taking a close look at the Django or Flask - both are: python based, Free, Gratis & Open Source Rapid prototyping and development Cross platform Have very helpful & active communites Can produce very good looking web sites take a look at Public Broadcasting Service, Instagram, Mozilla, The Washington Times, Disqus, Bitbucket, and ...


1

PDFTron actually has a couple of options for you. Server side, mobile native, and HTML5. PDFNet SDK for Linux/Android/iOS can optimize, split, crop, stitch. For optimizing specifically, there is an Optimizer class, which you can configure in different ways to minimize file size. https://www.pdftron.com/pdfnet/samplecode/OptimizerTest.sphp.html https://...


1

https://github.com/bruce/node-temp Temporary files, directories, and streams for Node.js. Does streams too Automatically track and cleanup files at exit Free Open source: MIT License Updated a year ago Has not reached 1.0 Example usage: var temp = require('temp'), fs = require('fs'), util = require('util'), exec = require('child_process')...


1

DB has to be SQL, but MySQL is buggy and I need a faster DB system for faster response times to the client. sqlite would be a good choice: The SQLite website (https://www.sqlite.org/) uses SQLite itself, of course, and as of this writing (2015) it handles about 400K to 500K HTTP requests per day, about 15-20% of which are dynamic pages touching the ...


1

OK so I did have a go coding this myself. https://github.com/Antony74/TransportManager/blob/master/sys/server/GenerateProxyApiSourceCode.js This takes my core API (which consists of the functions 'selectSql', 'getIndices' and 'updateDatabase') and generates a proxy API from it (see below), which is written to a file and served up just like a static .js ...


1

You could try out showdown.js: https://github.com/showdownjs/showdown It supports use in node.js and has been tested in versions 0.8 and 0.10, according to the above link at the time of writing. It is a direct port of the Perl version of Markdown, according to the comments in the source code.


1

It seems you have a lot of requirements. You can try pgo, which is a node.js postgresql dedicatd ORM. It doesn't meet all of your requirements, but you can evaluate it.


1

I use Node Webkit for this. It supports most / all (?) of the Chrome debugging protocols; it also emulates the functionality of Chrome Devtools in terms of inspecting collapsible objects and it supports the same console API calls. You can even load and inspect modules live from the developer console; which is perfect when getting a feel for the node.js ...


1

I'm not sure it generates exactly the output you're looking for (and that might be hard to find), but JSDoc follows your other needs: JS doc generator, in node.js.


Only top voted, non community-wiki answers of a minimum length are eligible