open-index/open-npm huggingface dataset:
npm package: @hollymoon/context
Description: `@hollymoon/context` is a library for managing smaller scoped states.
Latest version: 0.2.1

# Introduction

`@hollymoon/context` is a library for managing smaller scoped states.

## Installation

You can install the library using npm:

```bash
npm install @hollymoon/context
```

or yarn:

```bash
yarn add @hollymoon/context
```

or pnpm:

```bash
pnpm install @hollymoon/context
```

## Disclaimer

The library is in its experimental phase. Its API is not stable, there are a lot of things that might change or be removed.
npm package: @hollyoops/react-native-config
Description: Expose config variables to React Native apps
Author: Pedro Belo
Latest version: 0.11.8

# Config variables for React Native apps

Module to expose config variables to your javascript code in React Native, supporting both iOS and Android.

Bring some [12 factor](http://12factor.net/config) love to your mobile apps!

## IMPORTANT

This repo just folk from **[react-native-config](https://github.com/luggit/react-native-config)** to fix some bugs and there is a new library **[react-native-env](https://github.com/heyholly/react-native-env)** is on the way!

To view more usage just refer to **[react-native-env](https://github.com/heyholly/react-native-env)**

## Basic Usage

Create a new file `.env` in the root of your React Native app:

```
API_URL=https://myapi.com
GOOGLE_MAPS_API_KEY=abcdefgh
```

Then access variables defined there from your app:

```js
import Config from "react-native-config";

Config.API_URL; // 'https://myapi.com'
Config.GOOGLE_MAPS_API_KEY; // 'abcdefgh'
```

Keep in mind this module doesn't obfuscate or encrypt secrets for packaging, so **do not store sensitive keys in `.env`**. It's [basically impossible to prevent users from reverse engineering mobile app secrets](https://rammic.github.io/2015/07/28/hiding-secrets-in-android-apps/), so design your app (and APIs) with that in mind.