New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ota-sample-module

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ota-sample-module

A sample React Native module with TypeScript

latest
npmnpm
Version
1.1.6
Version published
Maintainers
1
Created
Source

OTA Sample Module

A sample React Native module with TypeScript.

Features

  • TypeScript support
  • React Native components
  • No native dependencies
  • Easy to integrate

Installation

# Using npm
npm install ota-sample-module

# Using yarn
yarn add ota-sample-module

Local Development

You can use this module locally by adding it to your package.json:

"dependencies": {
  "ota-sample-module": "file:app-modules/ota-sample-module"
}

Usage

import { SampleComponent } from 'ota-sample-module';

const MyComponent = () => {
  return <SampleComponent title="Hello World" />;
};

API Reference

SampleComponent

A sample component that displays a title.

Props

PropTypeRequiredDescription
titlestringYesThe title to display
subtitlestringNoAn optional subtitle

Development

Setup

# Install dependencies
npm install

# Build the module
npm run build

# Watch for changes
npm run build:watch

Testing

# Run tests
npm test

License

MIT

Keywords

react-native

FAQs

Package last updated on 18 Feb 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