JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q33681F
  • License MIT

A axel code generator for the able os api

Package Exports

  • axel2js
  • axel2js/build/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (axel2js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

axel2js

A tool for converting js code to axel api nodes for the able os api.

Credits

Able os and Axel api by Able.

For development updates on able os you can go to the ablecorp discord.

Syntax

The syntax for axel code is fairly simple so i decided to stick with that for axel2js.

All axel projects start off with the bare bones.

const { Axel } = require('axel2js');
const ax = new Axel(false);

ax.generate();

This is the bare bones axel project, but from here it only gets more simple as there are only 2 keywords.

Lets start off with the easy one value

To define a value in axel2js is fairly simple and can be done like seen

const { Axel } = require('axel2js');
const ax = new Axel(false);

ax.value('stringExample', 'test string');

ax.generate();