0.9.3-beta • Published 4 years ago

@vortex-rtde/core v0.9.3-beta

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

VORTEX LOGO

VORTEX

Its not just another JS bundler/build tool for web applications, its a Web App IDE!

The core build of Vortex. (Includes LivePush, and API)

Beta Documentation: Here Note: Vortex RTDE is still in the beta testing process but a stable release along with complete documentation will come in the near future.

Installation

With npm:

npm install @vortex-rtde/core --save-dev

or yarn:

yarn add @vortex-rtde/core -D

Example Usage:

Core Bundler

With builin in CLI:

[npm|yarn] vortex-rtde --input ./index.js --output-file ./dist/bundle.js

or with Node.js

const VortexRTDE = require('@vortex-rtde/core');

VortexRTDE.createStarPackage(path.resolve(__dirname,"./vortex.panel.js"));

or

import {createStarPackage} from '@vortex-rtde/core'

createStarPackage(path.resolve(__dirname,"./vortex.panel.js"));

LivePush

(Only works for Node.js Express Servers (For Now))

var http = require('http');
var path = require('path')
var express = require('express')
var {LivePush} = require('@vortex-rtde/core')

var main = express()
var server = http.createServer(main);

main.use(express.static(path.resolve(__dirname,'./app')))

new LivePush(path.resolve(__dirname,"./vortex.panel.js"),main,server,8080,true);

Interested in Becoming a Contributer?

See Here