talira

NativeScript

Write native apps with TypeScript, with direct access to native platform APIs

open sourceMITfree

NativeScript builds fully native iOS, Android and visionOS apps in JavaScript or TypeScript. Its runtimes give code direct access to every native platform API, typed through @nativescript/types, and its shared components map to each platform's native UI building blocks, so apps render real native UI rather than a web view. It works standalone or with Angular, React, Solid, Svelte or Vue, and its CLI (ns) creates, runs and builds apps, with Vite hot module replacement. It has been in production use since 2014 and is a project of the OpenJS Foundation.

Problems it solves

  • build a native iOS and Android app with TypeScript and my existing web framework
  • call native iOS and Android APIs directly from JavaScript without writing a bridge
  • write a mobile app in Vue or Angular that renders real native UI

Features

  • direct access to native iOS, Android and visionOS APIs from TypeScript
  • native UI components, not a web view
  • use with Angular, React, Solid, Svelte or Vue
  • TypeScript types for platform APIs
  • ns CLI to create, run and build apps
  • Vite hot module replacement
  • plugins for common device APIs

Alternatives

The same job

These do what NativeScript does.

  1. React Native Learn once, write anywhere
  2. Expo An open source framework for universal native apps with React, plus cloud services to build, ship and monitor them
  3. Flutter Build apps for any screen

Compare NativeScript with the top 3