Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kodular/aia-kit

Read, Parse, Edit, Write, Analyze AIA/AIX/AIS files
https://github.com/kodular/aia-kit

aia ais aix app-inventor extension kodular

Last synced: about 2 months ago
JSON representation

Read, Parse, Edit, Write, Analyze AIA/AIX/AIS files

Awesome Lists containing this project

README

        

# aia-kit

![npm](https://img.shields.io/npm/v/aia-kit)

Read, Parse, Edit, Write AIA/AIX/AIS files.

## Installation

```bash
npm install aia-kit
```

## Usage

```javascript
import { AIAReader } from 'aia-kit'

const aiaFile = await fs.readFile('test/fixtures/Test.aia')
const aiaFileBlob = new Blob([aiaFile])

const project = await AIAReader.read(aiaFileBlob)

expect(project).toBeDefined()

expect(project.name).toBe('Test')

expect(project.screens.length).toBe(1)
expect(project.screens[0].name).toBe('Screen1')
```
_Code taken from `test/aia.test.js`_

---

Copyright (c) 2023 Junnovate, LLC