New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

expo-modules-autolinking

Package Overview
Dependencies
Maintainers
27
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-modules-autolinking

Scripts that autolink Expo modules.

3.0.0-canary-20250304-f08e984
Source
npm
Version published
Weekly downloads
1.2M
-3.63%
Maintainers
27
Weekly downloads
 
Created

What is expo-modules-autolinking?

The expo-modules-autolinking package is designed to automatically link native modules in Expo projects. It simplifies the process of integrating native code with JavaScript by scanning for native modules and linking them without requiring manual configuration.

What are expo-modules-autolinking's main functionalities?

Automatic Module Discovery

This feature allows you to automatically discover native modules in your project. The `findModules` function scans the project directory and returns a list of native modules that can be linked.

const { findModules } = require('expo-modules-autolinking');
const modules = findModules();
console.log(modules);

Custom Module Linking

This feature enables custom linking of specific modules for a given platform. The `linkModules` function takes an object with the modules to link and the target platform, and performs the linking process.

const { linkModules } = require('expo-modules-autolinking');
linkModules({
  modules: ['module1', 'module2'],
  platform: 'ios'
});

Configuration Options

This feature allows you to configure the autolinking process with various options. The `configure` function accepts an object with configuration settings such as target platforms and modules to exclude from linking.

const { configure } = require('expo-modules-autolinking');
configure({
  platforms: ['ios', 'android'],
  exclude: ['module-to-exclude']
});

Other packages similar to expo-modules-autolinking

Keywords

expo

FAQs

Package last updated on 04 Mar 2025

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