Skip to content

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

Notifications You must be signed in to change notification settings

Kodular/aia-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aia-kit

npm

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