An open API service indexing awesome lists of open source software.

https://github.com/uditdc/as-site-builder


https://github.com/uditdc/as-site-builder

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# as-site-builder

as-site-builder is a Node.js package that compiles a static site to WebAssembly, by transpiling the site's markup and assets into AssemblyScript code. It uses the @blockless/sdk for interfacing with the HTTP component.

## Installation

To install as-site-builder, run:

```bash
npm install as-site-builder
```

## Usage

To use as-site-builder, you can run the following commands:

```bash
npm run build # Build the project using TypeScript
npm start # Run the project
```

The `start` command will execute the TypeScript file src/index.ts using the ts-node package.

## Scripts

as-site-builder has the following scripts:

- build: Builds the project using TypeScript and generates type declarations using the build:types script.
- start: Runs the project using the ts-node package.

## Dependencies

- @assemblyscript/wasi-shim: Version ^0.1.0
- @blockless/sdk: Version https://github.com/blocklessnetwork/sdk-assemblyscript#54ac31d4053a1eec0b3c020dbb21a0b458b96ca5
- as-wasi: Version ^0.5.1