open-index/open-npm huggingface dataset:
npm package: @mtbs/shared-lib
Description: A shared utility library used by the Beauty Parlor micro front-end apps.
Latest version: 1.0.27

# @mtbs/shared-lib

A shared utility library used by the Beauty Parlor micro front-end apps.

## ✨ Features

- `AuthContext` – React Context for Firebase Auth
- `axiosInstance` – Pre-configured Axios with bearer auth
- `ToastProvider` – Toast wrapper for consistent UI

## 📦 Installation

From **GitHub Packages**:

```bash
npm install @mtbs/shared-lib --registry=https://npm.pkg.github.com
```

From **npm** (if published):

```bash
npm install @mtbs/shared-lib
```

## 🚀 Usage

```js
import { useAuth, AuthProvider } from '@mtbs/shared-lib'
import { ToastProvider } from '@mtbs/shared-lib'
import axios from '@mtbs/shared-lib'
```

## 🔐 Publishing

This project uses [standard-version](https://github.com/conventional-changelog/standard-version) for semantic versioning.

```bash
npm run release
git push --follow-tags
npm publish    # to npm or GitHub
```

## 🧪 CI/CD

Use Jenkins or GitHub Actions with:
- `NODE_AUTH_TOKEN` (npm token or GitHub PAT)
- `standard-version` for automated changelogs

Happy coding!