Terminé

Node script to dynamically load modules

I need an node script which can dynamically load modules from a modules folder. That means if a new module is added to the modules folder, and the node script is restarted, it will automatically import and use the module.

The node script needs to be able to pass a dictionary to the module. The module needs to be able to return a dictionary to the node script. (This will be a common interface for every module - receive a dictionary, return a dictionary).

Let me give an example so you clearly understand my meaning:

In /home/scripts is main.js. This simple script contains a dictionary.

A module called [login to view URL] is added to /home/scripts/modules.

When [login to view URL] is restarted:

- it automatically loads [login to view URL]

- it passes the dictionary to [login to view URL]

- [login to view URL] does something with this dictionary

- [login to view URL] returns the dictionary to [login to view URL]

There are two things to keep in mind here:

1. There might be many modules in /home/scripts/modules. [login to view URL] should process them one by one, rather than concurrently.

2. If a module has a problem (e.g. syntax error), it should not crash main.js.

Any questions, just ask. Thanks.

Compétences : Javascript, node.js

en voir plus : dynamic-module-loader, node require, node dynamic require, node dynamic import, node js dynamically load script, npm dynamic load, node cannot find module, node dynamic export, javascript dynamically load flv, google maps dynamically load markers, dynamically load jpeg files flash template, toobplayer dynamically load, creating template dynamically load flash files, dynamically load listbox listbox, image rotation java script page load, dynamically load photos flash, dynamically load flv flvplayer, ajax dynamically load select, dynamically load flv, dynamically load flvs flv player

Concernant l'employeur :
( 21 commentaires ) Hong Kong, Macau

Nº du projet : #17819508

Décerné à:

VladislavTikhiy

Hi. I can make it using built-in Node.js ”fs" module. Relevant Skills and Experience I have an experience with Node.js and Node.js built-in modules.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(0 Commentaires)
0.0

19 freelance font une offre moyenne de $127 pour ce travail

grigorywazin

Dear man I read your project description so I think I can do your project. I am a developer who developed some node js website like this. [login to view URL] Please award me so that we can start our project righ Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(8 Commentaires)
4.7
greenforest0204

hello. i am very interested in your post project. As you can see my profile, i am node js expert. so i am sure i can give you good result in time please call me Dmitrii. looking forward your reply. best regards

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(18 Commentaires)
4.8
abdulbarikmb

Hi There, I have got your requirement except the script will do something, let’s discuss and I can start immediately. I am Sr. Software Engineer having more than 4.5 years of experienced in JavaScript, NodeJS, Express Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(22 Commentaires)
4.4
xinglong717

Hi Nice to meet you. I would like to have a conversation with you about your project. I saw your project description. I am confident to finish your assignment. I want to have good results. thanks.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(4 Commentaires)
3.8
nataliaomelchenk

Dear,sir! I already read your proposal and understood your idea. I'm interested in your project. I've ever done some project like that. I can do it effectively and perfectly. I'd like to work with you. Please se Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(3 Commentaires)
3.4
quan19950122

Hello Sir. Thanks for offering this project. I have read all requirements about your project in detail. I am nodejs expert and For node, i have no problem at all. All techniques is perfect for me. Please hire me, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(5 Commentaires)
3.1
kadirgoktas

Hi, The dictionary passed from [login to view URL] to modules, will that be passed as function argument or a constructor argument? for ex: [login to view URL](dict) or new Script1(dict). PM me if you wish to talk about details and of Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(3 Commentaires)
2.9
yodebublr

Well, looks like a pretty easy task as I've written node.js scripts to auto import all the modules from another module. Main thing of concern would be exception handling, if not defined properly. Relevant Skills and E Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(3 Commentaires)
2.4
MeiZhong0506

I have checked your job post and I am sure this is my job. I have rich experiences in javascript, node js, react.js, redux and react native, angular js. I can deliver high quality product in timeline. Let's discuss Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(2 Commentaires)
2.1
agrsumit08

I have been working on Nodejs for almost 3 years. I will try my best to finish the work as soon as possible.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(1 Évaluation)
0.6
riskey

Hey, It's a simple task for me, don't waste your time to find other candidates. I'm MEAN Stack expert, over 5 years of experience. Waiting for your response. Best, R. Keyan

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(3 Commentaires)
0.4
scotstyris

Hello...! Greetings! I have seen your post and I am very interested to serve you. We are the team of experienced team and developers who provides solutions and services that help enterprises rapidly launch new m Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0
rajucma

I have 3 years industry experience in node js.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0
technorise13

Hi, Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have got Rich experience in Jooml Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
zbone

I would be happy to work on this node script for you. I have many years of experience with Javscript and node.js, having built many web apps with it. I can provide a demo if required and I can quickly deliver the p Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)
0.0
Lucaroman

Hello, nice to meet you I hope you contact me . thans w -----------Node.js--------------- [login to view URL] [login to view URL] [login to view URL] ----------AngularJS----- Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0
celsopalmeira

Hello! There are some interesting details about what you have asked for... The first is to dynamically load the modules... One should be careful not to simply use "require", once Node.JS will cache the source of t Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0
principp1

Dear Hiring Manager! I am a UI (Front End Developer) with: Proficient understanding of web markup, including HTML5, CSS3 Basic understanding of server-side CSS pre-processing platforms, such as LESS and SASS Profi Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0