Skip to content

Blackprint/nodes-networking

Repository files navigation

NPM Build Status

Networking nodes for Blackprint

This module gives you an ability to interact with networking stuff with Blackprint.

Import this nodes from URL

Please specify the version to avoid breaking changes.

Blackprint.loadModuleFromURL([
  'https://cdn.jsdelivr.net/npm/@blackprint/[email protected]/dist/nodes-networking.mjs'
], {
  // Turn this on if you want to load .sf.js, and .sf.css
  // only with single .mjs
  loadBrowserInterface: true // set to "false" for Node.js/Deno
});

Development URL

You can use this link to load unpublished nodes and still under development on GitHub. https://cdn.jsdelivr.net/gh/Blackprint/nodes-networking@dist/nodes-networking.mjs

Replace dist with your latest commit hash (from dist branch) to avoid cache from CDN.

Local module server for development

$ cd /your/project/folder
$ git clone --depth 1 --recurse-submodules https://github.com/blackprint/nodes-networking.git .
$ pnpm i
$ npm start
 >> [Browsersync] Access URLs:
 >> -----------------------------------
 >> Local: http://localhost:6789
 >> -----------------------------------

Copy the http://localhost:6789 URL and go to online Blackprint Editor.
Go to development mode, and paste it to remote module server. Then refresh the page, after that you can modify the code from your favorite text editor. The compiler will watch every changes inside this folder by following the configuration in blackprint.config.js.

Before opening .sf file, please install the syntax highlighter for your text editor.

BPIC = Blackprint Interface Component

brave_7NcrWUt66n

License

MIT

About

Blackprint nodes for Networking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published