{"id":15345436,"url":"https://github.com/jthomas/node-red-contrib-npm","last_synced_at":"2025-04-14T05:00:25.232Z","repository":{"id":59384185,"uuid":"48125648","full_name":"jthomas/node-red-contrib-npm","owner":"jthomas","description":"Node-RED node allowing NPM modules to be dynamically exposed as custom nodes.","archived":false,"fork":false,"pushed_at":"2020-02-28T15:37:16.000Z","size":11,"stargazers_count":15,"open_issues_count":10,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T18:53:21.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jthomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-16T17:44:12.000Z","updated_at":"2021-12-01T05:45:53.000Z","dependencies_parsed_at":"2022-09-15T14:10:44.194Z","dependency_job_id":null,"html_url":"https://github.com/jthomas/node-red-contrib-npm","commit_stats":{"total_commits":6,"total_committers":3,"mean_commits":2.0,"dds":"0.33333333333333337","last_synced_commit":"fe274001e3ee7e0e3d1d82703380161c5aa07dbe"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnode-red-contrib-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnode-red-contrib-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnode-red-contrib-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnode-red-contrib-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthomas","download_url":"https://codeload.github.com/jthomas/node-red-contrib-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824681,"owners_count":21167344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T11:13:23.837Z","updated_at":"2025-04-14T05:00:25.193Z","avatar_url":"https://github.com/jthomas.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-red-contrib-npm\n\nNode-RED node allowing NPM modules to be dynamically exposed as custom nodes.\n\n### Install\n\nFrom your Node-RED directory:\n\n    npm install node-red-contrib-npm\n    \n### Usage\n\nOpen the Editor panel to configure the NPM module to expose. NPM module name\nmust the package identifier in the [NPM registry](https://www.npmjs.com/). When\nthe flow is deployed, the package will be automatically downloaded and\ninstalled. Status information will show you when the node is ready to receive\nmessages.\n\nUsing the editor panel, the node can be configured to execute\nthe module constructor, function property or a custom setup code when\nreceiving messages. The *msg.payload* property from incoming messages will be \npassed in as the sole argument to the function.\n\nResults from the function execution will be set as *msg.payload*. The node\ncurrently supports passing results from following function invocation patterns.\n\n* Function Returns Primitive Type (String, Boolean, Array). \n* Function Returns Promise. \n* Results passed through a Callback.\n\nFor Promise or Callback results, messages will be sent when the results \nare available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fnode-red-contrib-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthomas%2Fnode-red-contrib-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fnode-red-contrib-npm/lists"}