Questions tagged as 'node.js'

1
answer

Write .txt file node.js

I need to generate a txt file with some information and save it in C: How can I do this using node.js?     
asked by 30.06.2017 / 20:28
1
answer

Is it possible to restart the NodeJS server when a modification occurs automatically?

Every time I try to do some modification in my app.js file I have to close and start the server for the modifications to take effect, would I have some way to restart automatically after a change? like in php. Example: var http = r...
asked by 12.07.2016 / 21:01
2
answers

Library that reads text and makes audio

I'm looking for some way to implement an automatic audio reading on my system. It would work like this: The user would ask a question (typing) and the robot would bring the result and 'read'. I'm looking for something on Node. Thanks!     
asked by 21.08.2015 / 15:19
1
answer

Is there a curl in NodeJs?

Well this is what I needed for some function that would serve as a "curl" for use in nodejs. Is there any function, which does the equivalent of curl in php? Thank you.     
asked by 25.03.2017 / 03:12
1
answer

Route configuration in NodeJS using Express 4.8

I am using v0.10.37 version of Node and 4.8 of Express. I'm trying to setup the route for the index. And the following errors appear    Error: Route.get () requires callback functions but got a [object Undefined] Or:    Error: Can not...
asked by 11.10.2015 / 06:07
1
answer

Ajax POST with jQuery and Node.js Express always returning 404: Not Found

I created the route below to accept POST requests, but calls via AJAX for this route are always returning error 404: Not Found. /* Arquivo: integracoes.js */ var express = require('express'); var router = express.Router(); // Esta rota funcio...
asked by 08.10.2015 / 02:16
2
answers

Options for generating documentation for javascript libraries

I've been heavily using jsdoc3 with docstrap , however it requires a large amount of third-party libraries to generate documentation with node and grunt , someone knows a robust alternative (which has a specification le...
asked by 16.02.2014 / 05:49
3
answers

Is it possible to move NodeJS modules to be used 'offline'?

I use GruntJS for personal projects, I would like to use the benefits of this tool at work, however the use of the network is limited and I can not install via the prompt. I tried to copy the node_modules directory but it does n...
asked by 09.02.2014 / 23:32
1
answer

How to do HTTP request?

I would like to make an HTTP request to my college server by imitating the requests sent by the browser so that I can log in and check my grades. I already have experience with mobile development, my intention is in the future to develop an A...
asked by 13.04.2015 / 16:06