AnOldSoul
AnOldSoul

Reputation: 4207

Is it possible to write node JS code in meteor 1.3 client side?

I can't find any evidence on whether its possible to write node js code in meteor 1.3 client side. I went through some old questions but those days it was not available. I had read somewhere that it would be possible from 1.3 onwards. But I cannot find that source again. Can someone explain whether its now possible to write nodejs code in meteor client side?

Upvotes: 0

Views: 229

Answers (1)

Jesper We
Jesper We

Reputation: 6087

Your question is worded in a way that it is not easy to understand what you want.

It seems your question is about if you can use JS modules (which is what you usually find inside NPM packages) on the client in Meteor 1.3.

In that case the answer is yes, and the "evidence" is quite easy to find in the manual.

Note that Meteor recommends to use import rather than require, but require will still work.

Upvotes: 2

Related Questions