Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

NativeScript

> 前端框架
Open source

⚡ Write Native with TypeScript ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vu

25.6K stars0 likes2 views
WebsiteGitHub

About

⚡ Write Native with TypeScript ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vu

[](https://github.com/NativeScript/NativeScript/actions/workflows/apps_automated_ios.yml) [](https://www.npmjs.com/@nativescript/core) [](https://app.fossa.com/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript?ref=badge_shield) [](https://good-labs.github.io/greater-good-affirmation)

NativeScript empowers you to access native APIs from JavaScript directly. Currently iOS, Android, and visionOS runtimes are provided for rich mobile development across a variety of diverse use cases.

Quick Start

To get started with NativeScript, follow these steps:

  1. Install the NativeScript CLI globally:

    bash
    npm install -g nativescript
  2. Create a new project:

    bash
    ns create my-app
  3. Navigate into your project directory:

    bash
    cd my-app
  4. Run your app on an emulator or device:

    bash
    ns run android

    or

    bash
    ns run ios

Contribute

  1. Setup your local development environment

  2. Clone to contribute:

bash
$ git clone https://github.com/NativeScript/NativeScript.git
$ cd NativeScript

# setup workspace for development
$ npm run setup

# list all available commands to run
$ npm start

We love you and your pull requests 🤗. Please follow our contributing guide and see our code of governance to become as involved as you want to be.

@nativescript/*

  • @nativescript/core Singular primitives offering an easy-to-use API surface for diverse iOS/visionOS/Android APIs implemented with NativeScript.
  • @nativescript/types Types for both iOS/Android below wrapped up as a convenience. Most commonly used.
  • @nativescript/types-ios Types for iOS.
  • @nativescript/types-android Types for Android.
  • @nativescript/types-minimal A very minimal set of types for only the latest Android and iOS sdks. Most commonly used to optimize Web-based IDE's which auto load all type declarations from node_modules.
  • @nativescript/ui-mobile-base UI mobile base native classes used by core.
  • @nativescript/webpack Webpack build utilities and configs used by NativeScript apps.

Quick Links

  • NativeScript Home
  • NativeScript Tutorials
  • NativeScript documentation
  • JavaScript starter: https://nativescript.new/javascript
  • TypeScript starter: https://nativescript.new/typescript
  • Angular starter: https://nativescript.new/angular
  • React starter: https://nativescript.new/react
  • Solid starter: https://nativescript.new/solid
  • Svelte starter: https://nativescript.new/svelte
  • Vue starter: https://nativescript.new/vue
  • Vue 3 starter: https://nativescript.new/vue3
  • NativeScript on Twitter
  • NativeScript on Discord
  • NativeScript on Stack Overflow

Other source repos

Outside the source centralized in this repo, NativeScript consists of a few other source repos. Here are the major ones:

  • iOS and visionOS Runtime Empowers JavaScript code to be executed on iOS and visionOS devices written in a mix of C++, Objective-C, and Swift.
  • Android Runtime Empowers JavaScript code to be executed on Android devices written in a mix of C++, Java and Kotlin.
  • CLI Command-line interface empowering you to create, build, and run apps using NativeScript.
  • Docs Documentation available at http://docs.nativescript.org/ written in Markdown.
  • Plugins Various TSC managed plugins. Also a good reference is the plugin marketplace with several additional plugins.
  • Firebase Modular Firebase 🔥 implementation for supported platforms.
  • ML Kit Google's ML Kit SDKs for supported platforms.
  • Payments In-App Purchase, Subscriptions, Google Pay and Apple Pay.
  • Artwork Want to use our logo or colors? Feel free to use any of our ready-to-use media material.

Copyright notice

Copyright OpenJS Foundation and NativeScript contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

The OpenJS Foundation | Terms of Use | Privacy Policy | OpenJS Foundation Bylaws | Trademark Policy | Trademark List | Cookie Policy

Made with ❤️

Issues· 861 open

View all issuesOpen on GitHub
  • #11480

    vite type check: generated moduleSuffixes override the project's chain

    Updated Sep 30, 2026
  • #11467

    [Android] HttpContent.toArrayBuffer() and ArrayBuffer request bodies are copied byte by byte over JNI

    bug-pending-triageUpdated Sep 28, 2026
  • #11460

    [Android] androidOverflowInset listener is lost after the native view is recreated

    bug-pending-triageUpdated Sep 28, 2026
  • #11461

    feat(core): apply CSS cascade layer (@layer) rules

    Updated Sep 28, 2026
  • #11457

    CSS transform: percentage translate values silently parsed as dips (translate(-50%) → -50dip)

    Updated Sep 27, 2026
  • #11456

    URL and URLSearchParams globals lack native TypeScript declarations without DOM libs

    Updated Sep 27, 2026
  • #11455

    vite dev server: /ns/m doesn't decode percent-encoded filenames (bracketed route files 404)

    Updated Sep 26, 2026
  • #11452

    corner-shape: squircle renders Apple continuous, not CSS superellipse(2): make corner-shape spec-correct and add -ios-corner-shape: continuous

    Updated Sep 25, 2026
  • #11448

    docs: stale unit-test anchors and API reference build commands in contributor docs

    Updated Sep 24, 2026
  • #11444

    Nested Frame in TabViewItem: navigation bookkeeping stalls on both platforms (different mechanisms)

    in progressUpdated Sep 23, 2026

> Tags

TypeScriptandroidangularcapacitorcross-platform

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架