1.0.6 • Published 11 months ago

@cuww/config v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Cuww Configuration

Cuww Configuration Wrapper is a lightweight utility library designed to simplify the process of accessing and working with the application configuration in the Cuww framework. It provides a few simple wrappers that enable easy access to the configuration values in a centralized manner.

Features

  • Simplifies accessing the application configuration in Cuww.
  • Provides a centralized way to retrieve configuration values.
  • Offers a clean and intuitive API for working with the configuration.

Installation

npm install @cuww/config

or yarn:

yarn add @cuww/config

Usage

Follow these steps:

Components

import { useConfig } from '@cuww/config'

export const Component = () => {
    const config = useConfig();
}

Anywhere in the app

import { getConfig } from '@cuww/config'

export const getUserService = () => {
    const config = getConfig();
    // ...
}

License

This project is licensed under the MIT License.

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.2

11 months ago