Questions tagged as 'node.js'

1
answer

Web Crawler (Spider) with ajax in JSF using Node.js or api JSoup in java

I have the task of creating an interface optimized for touch monitor, taking data from a website ( link ). This site gives a listing of bus lines and consults their schedules, using an auto-complete ajax. Because it is a government agency,...
asked by 06.06.2016 / 15:04
1
answer

How to call a file in node.js

I want to know how I call a .js file if anyone can explain step by step thank you. As far as I understand to call an external file I have to create a sort of package that proceeds?     
asked by 20.01.2015 / 17:05
3
answers

Get difference between defined / current hours

I would like to get how many hours have passed, from a certain date, to the current date. For example: day = "Thu May 19 2016 05:00:00 GMT-0300 (BRT)"; today = "tue May 23 2016 09:00:00 GMT-0300 (BRT)"; Variable day has the starting...
asked by 24.05.2016 / 14:39
2
answers

Scope between variables - Javascript

Hello I'm studying Javascript and I'm having a question. I come from a world called Java and there exists the modifiers of access private, protected, public and even variable without declaration of modifier; and with that I'm a little lost in...
asked by 09.02.2017 / 21:54
1
answer

Views engine alternatives for nodejs?

Alternatives that are not Jade and similar, I try to know alternatives that can write the complete syntax (HTML and CSS)?     
asked by 13.09.2014 / 07:06
2
answers

Traverse all keys of a json

I want to go through all the keys of a json so that I can get all its values. Ex: { "logistics_provider": "{{lp_name}}", "shipper": "{{co_common_name}}", "invoice_key": "{{ae_identifier}}", "invoice_series": "{{ae_identifier}}", "vol...
asked by 18.11.2016 / 14:51
2
answers

Traversing an array without knowing its indices

I have the following array: var array = { x: "Primeiro Valor", y: "Segundo Valor", z: "Terceiro Valor" }; I would like to access the values, but I do not know the indexes x,y,z , can you extract those values?     
asked by 11.05.2016 / 15:16
0
answers

Send Email + Digital Certificate with Node [closed]

I need to send signed emails with digital certificate with node. Can anyone give me a direction on how to implement this?     
asked by 20.11.2015 / 16:49
1
answer

Help with installing the Ionic Framework for Mobile Development

To install the nodejs , I followed the example given through the website below, in the error note below, it says that the version I'm using is: 0.13.0-pre link I followed this tutorial to install the Ionic Framework software on my U...
asked by 04.09.2015 / 20:49
1
answer

Retrieve value using node.js and mssql

I'm having trouble retrieving a value using the mssql library I have tried to put a variable in global scope and update the value using the recordset, put everything inside a function passing the value of the recordset as a return and use fun...
asked by 24.08.2017 / 12:04