npm.io
1.3.9 • Published 3 years ago

stack-temp

Licence
MIT
Version
1.3.9
Deps
1
Size
9 kB
Vulns
0
Weekly
0

Create the architecture of a fullstack app easier.

const stack = require('stack-temp').stack;

var s = new stack();
s.basic(); // creates a basic HTML, JS and CSS structure
s.use(FullStacks.MERN); // downloads the npm packages for the stack
s.deploy("./", DeployApps.vercel); // deploy the current dir w/ vercel

Automaticly Test websites using selenium-webdriver

const stack = require('stack-temp').stack;

var s = new stack();
s.test("https://www.google.com/ncr", (driver) => {
    driver.findElement(By.name('q')).sendKeys('webdriver', Key.RETURN);
}

Run JS Files:

var s = new stack();

s.findJSFiles((files) => { 
    s.runJSFile(files[0], true); // Async creates a node process, non-async uses eval()
})

Keywords