Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@appifex/spec

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appifex/spec

Platform-neutral PlatformSpec + DesignTokens IR and translators for the appifex-dtc pipeline

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

@appifex/spec

Design spec extraction and platform translation for the DTC toolkit.

Usage

import { extractSpec, translateSpec } from '@appifex/spec'

// Parse design spec from JSON
const spec = extractSpec(jsonString)

// Translate to platform-specific spec with testIDs
const swiftSpec = translateSpec(spec, 'swiftui')           // accessibilityIdentifier, SwiftUI types
const ktSpec = translateSpec(spec, 'kotlin-compose')       // testTag, Kotlin Compose types

What it does

  • Extract: Parses a design spec JSON (from @appifex/design) into a typed DesignSpec
  • Translate: Maps generic components to platform-specific types and generates testIDs

The platform spec is consumed by @appifex/test-gen to generate tests and by @appifex/codegen to generate code.

Keywords

appifex

FAQs

Package last updated on 20 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts