open-index/open-npm huggingface dataset:
npm package: @nativescript-asharghi/nativescript-star-prnt
Description: Add a plugin description
Author: Osei Fortune
Latest version: 0.0.4

# @nativescript-asharghi/nativescript-star-prnt

```javascript
npm install @nativescript-asharghi/nativescript-star-prnt
```

## Usage

```ts
import { StarPRNT } from '@nativescript-asharghi/nativescript-star-prnt';

async function portDiscovery() {
    try {
      const printers = await StarPRNT.portDiscovery('All');
      console.log(printers);
    } catch (e) {
      console.error(e);
    }
}
```

## Android
If using a bluetooth print the following permission is required

```xml
	<uses-permission android:name="android.permission.BLUETOOTH" />
	<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
  <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
```

## iOS
If using a bluetooth print add following to your Info.plist
```xml
<key>UISupportedExternalAccessoryProtocols</key>
  <array>
    <string>jp.star-m.starpro</string>
  </array>
```

## [Documentation](./Documentation.md)

## License

Apache License Version 2.0
npm package: @nativescript-community/dns-lookup
Description: A lightweight NativeScript plugin for DNS hostname resolution, returning IPv4 and IPv6 addresses using native iOS and Android APIs.
Author: CatchABus
Latest version: 0.1.0

# @nativescript-community/dns-lookup

A lightweight NativeScript plugin that performs DNS lookups on both iOS and Android.  
It resolves hostnames to IPv4 and IPv6 addresses using the corresponding platform native APIs (getaddrinfo on iOS and InetAddress on Android).

```javascript
npm install @nativescript-community/dns-lookup
```

## Usage

```ts
try {
  const addresses = await lookupDNS('my.hostname.is'); // Returns an array of ip addresses
} catch (e) {
  console.error(e);
}
```

## License

Apache License Version 2.0
npm package: @nativescript-community/extendedinfo
Description: Nativescript ExtendedInfo plugin.
Author: Martin Guillon
Latest version: 1.3.1

[![npm](https://img.shields.io/npm/v/@nativescript-community/extendedinfo.svg)](https://www.npmjs.com/package/@nativescript-community/extendedinfo)
[![npm](https://img.shields.io/npm/dt/@nativescript-community/extendedinfo.svg?label=npm%20downloads)](https://www.npmjs.com/package/@nativescript-community/extendedinfo)
[![GitHub forks](https://img.shields.io/github/forks/nativescript-community/extendedinfo.svg)](https://github.com/nativescript-community/extendedinfo/network)
[![GitHub stars](https://img.shields.io/github/stars/nativescript-community/extendedinfo.svg)](https://github.com/nativescript-community/extendedinfo/stargazers)

[![NPM](https://nodei.co/npm/@nativescript-community/extendedinfo.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/@nativescript-community/extendedinfo/)

## Installation

* `tns plugin add @nativescript-community/extendedinfo`

Be sure to run a new build after adding plugins to avoid any issues.

---

Plugin to get diverse device infos. This plugin caches results to make it faster.
```typescript
function isSimulator(): boolean;
function getAppId(): Promise<string>;
function getAppIdSync(): string;
function getVersionName(): Promise<string>;
function getVersionNameSync(): string;
function getAppName(): Promise<string>;
function getAppNameSync(): string;
function getBuildNumber(): Promise<number>;
function getBuildNumberSync(): number;
```