Vulcan is a powerful tool designed to streamline the development and deployment of JavaScript applications and frameworks. This powerful utility automates polyfills for Edge Computing, significantly simplifying the process of creating Workers, particularly for the Azion platform.
One of the key highlights of Vulcan is its ability to establish an intuitive and efficient protocol for facilitating the creation of presets. This makes customization and adaptation to specific project needs even more accessible, providing developers with the necessary flexibility to optimize their applications effectively and efficiently.
For those who just want to use Vulcan in their project without contributing to the development, you can install it directly from npm.
npm install edge-functions
or if you prefer yarn:
yarn add edge-functions
Follow these steps to start using Vulcan:
-
Clone the repository: Clone the Vulcan repository from GitHub to your local machine.
git clone https://github.com/aziontech/vulcan.git
-
Installation: Navigate to the cloned Vulcan directory and install the required dependencies.
cd vulcan npm install
-
Install the Vulcan CLI globally, which allows you to use it as a command-line tool from anywhere in your system.
npm install -g
This command sets up the necessary project structure and configuration files for Vulcan.
-
Start developing: Once the project is set up, you can start developing your JavaScript applications or frameworks using the power of Vulcan. Leverage the automated polyfills, Worker creation assistance, and other features provided by Vulcan to enhance your development workflow.
See some examples below:
-
Build a JavaScript/Node project (back-end)
vulcan build
-
Build a TypeScript/Node (back-end)
vulcan build --preset typescript
-
Build a Static Next.js project
vulcan build --preset next --mode deliver
-
Build a Static Astro.js project
vulcan build --preset astro --mode deliver
-
Test your project locally (after build)
vulcan dev
Check the Contributing doc.
Check the Code of Conduct .