A
A
Alexander Degtyarev2016-04-11 22:26:52
Node.js
Alexander Degtyarev, 2016-04-11 22:26:52

How to optimize a Node.js project?

I generated a project on Express (Node.js) and I don’t need most of the packages, how can I make it so that unnecessary modules are automatically removed, is it possible to compress the js code of modules?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pydeg, 2016-04-12
@ErichAltheim

so that unnecessary modules are removed automatically
https://www.npmjs.com/package/depcheck
is it possible to compress js code modules
What for? This will not make them faster.
Compression is only needed for the frontend in order to transfer js scripts to the client faster

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question