stack-temp

1.3.9 • Public • Published

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()
})

Readme

Keywords

Package Sidebar

Install

npm i stack-temp

Weekly Downloads

1

Version

1.3.9

License

MIT

Unpacked Size

9.53 kB

Total Files

5

Last publish

Collaborators

  • restre-z