open-index/open-npm huggingface dataset:
npm package: @spottabl/notification-package
Description: NestJS Notification Package
Author: Shwetha Acharya
Latest version: 2.4.6

NOTIFICATION LIBRARY

This library is used by b2bserver and mgmtserver for formatting notifications for email/slack/whatsapp and conecting it to echonotifier python server.

currennt version: 2.4.5

Main packages used:
-> NestJs (as the framework)
-> mongoose (for getting notification data)
-> typescript-string-operations (for replacing {dynamic Fields})
-> jsonschema (verify schema i.e the required and optional params from notificationinfos)


Prerequisite:
	This package needs mongourl for echoNotifier and URL for echonotifier service as the argument of NotificationService constructor.

working steps:

calling generate function:
	This is the entry and completition point to the service that:
		a. gets the template from the type provided
		b. verify if all the required data is part of the notificationContent
		c. Loop over all the chaneels in received from notificationinfos and format data for each of them
		d. Finally call th echonotifier and pass the data for it to handle.



Build:
To build the package run: npm run build

Test:
To test the flows:
	a. cd testlib (this is one more service in the same project to test the package)
	b. Install the local package: `npm install ./echonotificationslib`. got to app.controller and update `sendNotification` API based on the required test passing all the required params in the `notification_data`
	d. Run the project: npm run start:dev
	e. goto: http://localhost:3000 (the notification should be sent) or take a cup of coffee and be the investgitor of the crime you committed.

Deploy:
This packages is deployed on npm for our private use accross different service.
To deploy you shoud have access to npmjs.com/ and the organisation there
Then follow this steps:
	-> npm login (you will be promted for password/otp complete that)
	-> npm publish

 
THATS IT FOR THE PACKAGE. GO THROUGH THE SERVICES AND YOU WILL GET IT BETTER. NEED SOME HELP ? email: suman@spottabl.com
npm package: @spottabl/spt2-validator
Description: NestJS npm package starter
Author: pratima
Latest version: 1.0.0

<h1 align="center"></h1>

<div align="center">
  <a href="http://nestjs.com/" target="_blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
  </a>
</div>

<h3 align="center">NestJS npm Package Starter</h3>

<div align="center">
  <a href="https://nestjs.com" target="_blank">
    <img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
  </a>
</div>

### Installation

1. Clone the repo
2. Run npm/yarn install

```bash
cd nestjs-package-starter
npm install
```

## Change Log

See [Changelog](CHANGELOG.md) for more information.

## Contributing

Contributions welcome! See [Contributing](CONTRIBUTING.md).

## Author

**John Biundo (Y Prospect on [Discord](https://discord.gg/G7Qnnhy))**

## License

Licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @spotter.dev/solidstart
Description: Solidstart SDK for spotter.
Author: Emmanuel Ajike
Latest version: 0.0.6

# Spotter

A full-stack observability framework with native SolidStart support, making API debugging simpler and more efficient.

## Github Repository

Visit the GitHub repository [HERE](https://github.com/emee-dev/spotter.git).

## Demo

See the working demo [CodesandBox](https://codesandbox.io/p/github/emee-dev/spotter.dev-demo/main?import=true). You will need to get an API key from [Spotter.dev](https://spotter-rust.vercel.app/).

Demo source code can be found [Github](https://github.com/emee-dev/spotter.dev-demo.git)

## Installation

Install the package for SolidStart:

```bash
npm install @spotter.dev/solidstart

# or

pnpm install @spotter.dev/solidstart
```

To proceed, clone the repository:

```bash
git clone https://github.com/emee-dev/spotter.git
```

## Environment Variables

Set up your `.env.local` file with the following variables:

```bash
SPOTTER_API_KEY="spotter_xxxxxxxxxxxxx"
SPOTTER_PROJECT_ID="project_id"
```

## Usage

Initialize the SDK in `src/app.tsx`:

```typescript
import { Spotter } from "@spotter/solidstart";

Spotter.init({
  apikey: "your_api_key",
  projectId: "your_project_id",
});

export default function App() {
  return <Router>...</Router>;
}
```

To monitor requests, wrap route handlers in `withSpotter`:

```typescript
import type { APIEvent } from "@solidjs/start/server";
import { withSpotter } from "@spotter/solidstart";

export const GET = withSpotter(async (event) => {
  return Response.json({ message: "Hello" });
});
```

## Roadmap

- [x] Request observability
- [x] Schema inference
- [ ] Action observability
- [ ] Payload masking
- [ ] Security evaluations
- [ ] Webhook support
- [ ] Automatic OpenAPI generation

View all planned features and issues [HERE](https://github.com/emee-dev/spotter/issues).

## Contributing

Contributions are encouraged! Steps to contribute:

1. Fork the repository.
2. Create a new feature branch (`git checkout -b feature/AmazingFeature`).
3. Commit changes (`git commit -m 'Add AmazingFeature'`).
4. Push to the branch (`git push origin feature/AmazingFeature`).
5. Open a pull request.

## License

Distributed under the MIT License. See `LICENSE.txt` for details.

## Contact

Emmanuel Ajike - [@emee-dev](https://x.com/__emee_) - emmanuelajike2000@gmail.com

## Acknowledgments

Special thanks to:

- [SolidStart](https://solidjs.com/docs/latest/start)
- [Best-README-Template](https://github.com/othneildrew/Best-README-Template)
npm package: @spottoai/common-ui
Description: Shared React components for SpottoAI
Author: Spotto
Latest version: 1.0.2-6

# @spottoai/common-ui

Shared React components for SpottoAI

## Installation

```bash
npm install @spottoai/common-ui
```

## Usage

```tsx
import { RecommendationOutlook } from '@spottoai/common-ui';

function App() {
  return <RecommendationOutlook />;
}
```

## API URL Configuration

This library uses build-time environment variables to configure the API URL. Set one of the following environment variables in your project:

### Environment Variables

```bash
# .env file - choose one of these:
SPOTTO_API_URL=https://api.your-domain.com
VITE_API_URL=https://api.your-domain.com
API_URL=https://api.your-domain.com
```

### Priority Order

The library uses the following priority order for API URL configuration:

1. `SPOTTO_API_URL` (highest priority)
2. `VITE_API_URL` (medium priority)
3. `API_URL` (low priority)
4. Empty string (no default fallback)

### Examples

#### For a React application:

```bash
# .env file
SPOTTO_API_URL=https://api.spotto.ai
```

#### For a Chrome extension:

```bash
# .env file
SPOTTO_API_URL=https://api.spotto.ai
```

#### For development:

```bash
# .env file
SPOTTO_API_URL=http://localhost:8787
```

## Components

### RecommendationOutlook

A comprehensive recommendation management component with filtering, categorization, and feedback capabilities.

```tsx
import { RecommendationOutlook } from '@spottoai/common-ui';

<RecommendationOutlook
  recommendations={recommendations}
  recommendationStates={recommendationStates}
  onSaveStates={handleSaveStates}
  currentUser={currentUser}
  companyUsers={companyUsers}
  feedbackUrl="https://api.your-domain.com/feedback"
  authToken="Bearer your-jwt-token"
/>;
```

#### Props

- `recommendations`: Array of recommendation objects
- `recommendationStates`: Array of recommendation state objects
- `onSaveStates`: Function to save recommendation states
- `currentUser`: Current user information
- `companyUsers`: Array of company users
- `feedbackUrl`: **Required** - URL for submitting feedback (e.g., "https://api.your-domain.com/feedback")
- `authToken`: **Optional** - Authentication token for feedback submission (e.g., "Bearer your-jwt-token")

## Development

```bash
npm install
npm run build
npm run dev
```

## License

MIT
npm package: @spottoai/types-package
Description: Shared TypeScript interfaces for SpottoAI
Author: Spotto
Latest version: 1.0.2-beta.186

# Types Package

A shared TypeScript interfaces package. This package contains common interfaces that can be reused across your API, frontend, and backend projects.



## Features

- **Shared Interfaces**: Common TypeScript interfaces for API requests/responses, database models, frontend components, and backend services
- **Git Dependencies**: Designed to work with Git dependencies
- **TypeScript Declaration Files**: Built with declaration files for better IDE support
- **Modular Structure**: Organized by domain (API, Database, Frontend, Backend)

## Installation

Add this to your consuming project's `package.json`:

```json
{
  "dependencies": {
    "@spotto/types-package": "git+https://github.com/spottoai/types-package.git#main"
  }
}
```

Or for a specific branch/tag:

```json
{
  "dependencies": {
    "@spotto/types-package": "git+https://github.com/spottoai/types-package.git#v1.0.0"
  }
}
```

## Usage

### Importing Interfaces

```typescript
// Import all interfaces
import * as Types from '@spotto/types-package';

// Import specific interfaces
import { User } from '@spotto/types-package';
```
## Development

### Setup

1. Clone the repository
2. Install dependencies:
   ```bash
   npm install
   ```

### Building

```bash
# Build the package
npm run build

# Watch mode for development
npm run dev

# Clean build artifacts
npm run clean

# Code linting
npm run lint

# Code formatting
npm run format

# Build with checks
npm run build:check
```

### Adding New Interfaces

1. Create new interface files in the appropriate `src/` subdirectory
2. Export them from the corresponding index file
3. Update the main `src/index.ts` if needed
4. Build the package: `npm run build`

### Directory Structure

```
src/
├── example/
│   └── common.ts        # Common types
└── index.ts             # Main export file
```

## Versioning

This package follows semantic versioning. When making changes:

1. Update the version in `package.json`
2. Create a Git tag for the new version
3. Push the tag to the repository

## Contributing

1. Create a feature branch
2. Add your new interfaces or modifications
3. Update the main index file if needed
4. Build and test the package
5. Submit a pull request

## License

MIT License - see LICENSE file for details