1.0.10 • Published 6 years ago

lively.next-node-client v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

lively.next for node.js projects

This package allows you to drop support into a node.js project that didn't start out with lively.modules. Simply create a file lively.js in the root directory:

const lively = require("lively.next-node-client");
const projDir = "file://" + __dirname;
Promise.all([
  lively.l2lConnect({info: {type: "lively for my node project"}})
    .then(() => console.log("ONLINE")),
  lively.modules.registerPackage(projDir)
    .then(() => lively.modules.module(projDir + "/index.js").load({format: "esm"}))
]).catch(err => console.error(err));

This will server as entry point / app starter. Run it via node lively.js. The live version of your project will then connect to your local Lively server and you can use browsers, workspaces etc. for live development.

License

MIT

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago