# @nativescript/core

> A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

Latest version **9.1.2** (published 2026-09-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @nativescript/core
pnpm add @nativescript/core
yarn add @nativescript/core
bun add @nativescript/core
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads; large bundle.

## Facts

| | |
|---|---|
| Version | 9.1.2 |
| Published | 2026-09-14 |
| First published | 2019-10-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 13 |
| Unpacked size | 28.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 25645 |
| Author | NativeScript |
| Maintainers | rigor789, nativescript-bot |
| Keywords | NativeScript, JavaScript, Android, iOS, TypeScript |

## Links

- npm: https://www.npmjs.com/package/@nativescript/core
- Repository: https://github.com/NativeScript/NativeScript
- Homepage: https://nativescript.org
- Issues: https://github.com/NativeScript/NativeScript/issues
- Funding: https://opencollective.com/NativeScript
- npm.io page: https://npm.io/package/@nativescript/core

## Dependencies (13)

- [acorn](https://npm.io/package/acorn.md) ^8.15.0
- [tslib](https://npm.io/package/tslib.md) ^2.0.0
- [semver](https://npm.io/package/semver.md) ^7.0.0
- [css-tree](https://npm.io/package/css-tree.md) ^3.1.0
- [css-what](https://npm.io/package/css-what.md) ^7.0.0
- [source-map](https://npm.io/package/source-map.md) 0.7.6
- [emoji-regex](https://npm.io/package/emoji-regex.md) ^10.2.1
- [source-map-js](https://npm.io/package/source-map-js.md) ^1.2.1
- [@csstools/css-calc](https://npm.io/package/@csstools/css-calc.md) ~2.1.4
- [@nativescript/hook](https://npm.io/package/@nativescript/hook.md) ~3.0.4
- [@csstools/css-tokenizer](https://npm.io/package/@csstools/css-tokenizer.md) ^3.0.4
- [@csstools/css-color-parser](https://npm.io/package/@csstools/css-color-parser.md) ^3.0.10
- [@csstools/css-parser-algorithms](https://npm.io/package/@csstools/css-parser-algorithms.md) ^3.0.5

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 9.1.2 (latest) — 2026-09-14
- 9.2.0-tvos.0 (tvos) — 2026-09-13
- 9.1.2-rc.0 (rc) — 2026-09-07
- 9.1.2-next.0 (next) — 2026-09-03
- 8.9.10-sap.4 (sap) — 2026-09-01
- 9.1.0-alpha.12 (alpha) — 2026-08-15
- 9.1.0-dev.0 (dev) — 2026-06-17
- 9.0.0-preview.3 (preview) — 2025-08-04
- 8.9.0-napi.1 (napi) — 2025-01-22
- 8.9.0-napi-es5.0 (napi-es5) — 2025-01-19
- 8.8.0-embed.0 (embed) — 2024-06-28
- 8.7.0-beta.3 (beta) — 2024-03-26
- 8.6.1-vision.9 (vision) — 2023-10-29
- 8.5.0-nsdom.3 (nsdom) — 2023-04-02
- 8.5.0-dom.2 (dom) — 2022-12-22
- … 1259 more at https://npm.io/package/@nativescript/core/versions

## README

<p align="center">
  <a href="https://nativescript.org">
    <img alt="NativeScript" src="https://raw.githubusercontent.com/NativeScript/artwork/main/logo/export/NativeScript_Logo_Dark_Transparent.png" width="100"/>
  </a>
</p>

<h1 align="center">NativeScript</h1>

<p align="center">
  <b>Build truly native apps with JavaScript.</b>
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/@nativescript/core"><img src="https://img.shields.io/npm/v/@nativescript/core.svg" alt="npm version"></a>
  <a href="https://github.com/NativeScript/NativeScript/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license"></a>
  <a href="https://www.npmjs.com/package/@nativescript/core"><img src="https://img.shields.io/npm/dm/@nativescript/core.svg" alt="downloads"></a>
</p>

<p align="center">
  <a href="https://docs.nativescript.org">Getting Started</a> · 
  <a href="https://docs.nativescript.org/setup/">Environment Setup</a> · 
  <a href="https://nativescript.org/showcase">Showcase</a> · 
  <a href="https://github.com/NativeScript/NativeScript/blob/main/tools/notes/CONTRIBUTING.md">Contribute</a> · 
  <a href="https://nativescript.org/discord">Community</a>
</p>

---

A JavaScript library providing an easy-to-use API for interacting with native platform APIs.

- **Truly Native**: Access 100% of native platform APIs with JavaScript or TypeScript
- **High Performance**: No bridges — direct native bindings
- **Cross-Platform**: Share code across platforms while maintaining native look and feel

## 📦 Installation

```bash
npm install @nativescript/core
```

## 📖 Documentation

The full documentation for NativeScript can be found on our [website](https://docs.nativescript.org/).

## 📄 License

NativeScript is [MIT licensed](https://github.com/NativeScript/NativeScript/blob/main/LICENSE).

---
_Source: https://npm.io/package/@nativescript/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
