1.0.4 • Published 7 months ago

@klave/compiler v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@klave/compiler

The @klave/compiler is a Node.js package designed to facilitate the development and deployment of honest applications on the Klave platform. It streamlines the process of compiling AssemblyScript code into WebAssembly (WASM), ensuring seamless integration with Klave's secure and privacy-focused infrastructure.

Features

  • AssemblyScript to WASM Compilation: Transforms your AssemblyScript code into optimized WebAssembly binaries suitable for deployment on Klave.
  • Integration with Klave SDK: Works in tandem with the Klave SDK to provide a cohesive development experience.
  • Command-Line Interface (CLI): Offers a straightforward CLI for compiling and managing your projects.

Installation

To install @klave/compiler, use your preferred package manager:

# Using npm
npm install @klave/compiler --save-dev

# Using yarn
yarn add @klave/compiler --dev

Usage

This package is meant to be used by the Klave platform and is unlikely to find widespread use out of that.

Programmatic API

You can also use @klave/compiler programmatically within your Node.js scripts:

const { createCompiler } = require('@klave/compiler');

createCompiler()
  .then((compiler: CompilerHost) => {
    console.log('Handle compilation...');
  })
  .catch((error) => {
    console.error('Compilation failed:', error);
  });

Prerequisites

  • Node.js: Ensure that Node.js is installed on your system. You can download it from the official website.
  • AssemblyScript: Familiarity with AssemblyScript is recommended for developing applications on Klave. Learn more about AssemblyScript here.

Resources

  • Klave Documentation: For comprehensive guides and tutorials on developing and deploying applications on Klave, visit the Klave Documentation.
  • Klave Platform Repository: Explore the source code and contribute to the Klave platform on GitHub: klave-network/platform.

License

This project is licensed under the MIT License. See the LICENSE file for details.


For any questions or support, please refer to the Klave Documentation or contact the maintainers through the Klave Platform Repository.

1.0.2

9 months ago

1.0.4

7 months ago

1.0.3

9 months ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.7

2 years ago

0.2.8

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago