@alamansky/extropy

A collection of modular functions for organized development.

Usage no npm install needed!

<script type="module">
  import alamanskyExtropy from 'https://cdn.skypack.dev/@alamansky/extropy';
</script>

README

Boilermaker

Boilerplate made easy.

steps:

  1. npm init

  2. Add the following to package.json's scripts section:

    • If env is browser:
    "scripts": {
         "test": "echo \"Error: no test specified\" && exit 1",
         "start": "npx webpack-dev-server --mode development --config webpack.config.js --hot --history-api-fallback --host 0.0.0.0"
     },
    
    • If env is node:
    "scripts": {
         "test": "echo \"Error: no test specified\" && exit 1",
         "start": "npx nodemon index.js"
     },
    
  3. Run ./init.sh and follow the prompts

  4. To use quokka.js on a file in browser env, add the following snippet to the top of the file:

//Quokka config - must be used on per-file basis
({
    babel: true,
    plugins: ['jsdom-quokka-plugin'],
});