1.0.2 • Published 6 months ago
aia-kit v1.0.2
aia-kit
Read, Parse, Edit, Write AIA/AIX/AIS files.
Installation
npm install aia-kit
Usage
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