Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kodular/aia-kit
- Owner: Kodular
- Created: 2023-07-09T17:33:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T15:42:26.000Z (about 2 months ago)
- Last Synced: 2024-11-10T07:02:35.395Z (about 2 months ago)
- Topics: aia, ais, aix, app-inventor, extension, kodular
- Language: TypeScript
- Homepage:
- Size: 313 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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