Articles tagged in: Node.js

Add Month(s) to a Date in JavaScript or Node.js

Here at Future Studio, we offer a selection of premium tutorials that require payment. You need to enroll for a semester in the Future Studio University. The guest semester is an enrollment on a monthly basis. In case you’re enrolling now in the University, the next payment date is …

Continue Reading

TypeScript — How to Export Transpiled Code From package.json

TypeScript is gaining popularity in the JavaScript ecosystem. Package authors may choose TypeScript over JavaScript to automatically create type definitions. These type definitions will then be exported with the package and be available when importing the package in another project. This tutorial shows you how to export the transpiled TypeScript …

Continue Reading

Retrieve a Request’s IP Address in Node.js

Web frameworks in Node.js provide a request object containing information from the requesting instance. The request object typically includes the IP address of the requesting client. If you want to geo-locate the requesting user, the IP address is helpful. This tutorial shows you how to retrieve the client IP …

Continue Reading

hapi — How to Fix “Unsupported Media Type”

The “unsupported media type“ error occurred while uploading a file to a hapi server. The file is an Excel sheet and at first, it seemed like the content type was the issue. But the problem was the multipart upload which comes with a straightforward fix! {{outline}} Fixing “Unsupported Media Type” …

Continue Reading
Page 1 of 34

Explore the Library

Find interesting tutorials and solutions for your problems.