Bimlas, If the npm modules you want are compatible with the browser, then you can bundle them into a tiddler and load them directly in the browser. It can be tricky to get it working. I've had the most success using browserify --standalone to get it bundled in a way that it will work with TW's require. If the library provides a umd bundle, I think that usually that works as well. I've also used webpack before to bundle the code.
But if the module needs to execute functionality only available in node, then Jeremy's suggestion is the way to go. Brian On Thu, Jul 11, 2019 at 6:55 AM bimlas <[email protected]> wrote: > The sync mechanism seems to be usable, I go around the topic, thank you > for the idea! > > PS.: According to your comment > <https://github.com/Jermolene/TiddlyWiki5/pull/3931#issuecomment-491526640>, > if you would like GitLab saver to 5.1.20, please merge the request > <https://github.com/Jermolene/TiddlyWiki5/pull/3931>, otherwise mark it > with "post-v5.1.20" just to give me some feedback. :) > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywikidev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/0a206645-1cfa-4de9-9563-f4b91dc43bf7%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywikidev/0a206645-1cfa-4de9-9563-f4b91dc43bf7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAO5X8CwfZEAxmNMpDaxgudovCY86p4dqZ794giLKTGq34AkbyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
