S
S
Sergey Murzin2016-09-25 02:13:14
Node.js
Sergey Murzin, 2016-09-25 02:13:14

Is there a module for node that collects json files?

I use grunt to build the front end.
Quite often there are elements containing small but different information, and there can be several such elements on the page. For example, cards with a title image and a link. It would be nice to keep such information, as it seems to me, in a separate json file.
Since there may be a certain number of such elements, for convenience, I would store the necessary information in separate files. This is where the problem with collecting these files arises.
On the Internet, I have not found a suitable plugin or implementation method. Therefore, I want to ask if anyone knows any module connected via npm or the standard grunt way to implement such a system, or is it better to write your own module?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question