stack-temp
v1.3.9
Published
Create A FullStack App Template
Downloads
8
Readme
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()
})