@blackprint/nodes-networking

0.0.2 • Public • Published

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/nodes-networking@0.0.1/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

Readme

Keywords

Package Sidebar

Install

npm i @blackprint/nodes-networking

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

57 kB

Total Files

11

Last publish

Collaborators

  • stefansarya