open-index/open-npm huggingface dataset:
npm package: @sa2-movie-ticket/passport
Description: Passport microservice for movie ticket booking system
Author: Shakil Ahmed
Latest version: 1.0.5

# @sa2-movie-ticket/passport

A lightweight authentication token library for the Movie Ticket booking system, built with Bun. This package provides utilities to generate and verify custom HMAC-based tokens.

## Installation

```bash
bun add @sa2-movie-ticket/passport
# or
npm install @sa2-movie-ticket/passport
```

## Usage

### Generate a Token

```typescript
import { generateToken } from "@sa2-movie-ticket/passport";

const data = {
  userId: "user-123",
  role: "user",
};
const secret = "my-secret-key";
const expiresIn = 3600; // 1 hour in seconds

const token = generateToken(data, secret, expiresIn);
console.log(token);
```

### Verify a Token

```typescript
import { verifyToken } from "@sa2-movie-ticket/passport";

const secret = "my-secret-key";
const result = verifyToken(token, secret);

if (result.valid) {
  console.log("Valid token for user:", result.data);
} else {
  console.error("Invalid token:", result.reason);
}
```

## Scripts

- `bun run tsup`: Build the library (ESM & CJS) for distribution.
- `bun run build`: Compile into a standalone executable (if needed).
- `bun run dev`: Run in watch mode.

## Publishing

This package is configured to publish to the npm registry via GitHub Actions.
npm package: @sa8ab/base-layer
Description: Create Nuxt extendable layer with this GitHub template.
Latest version: 0.0.5

# Nuxt Layer Starter

Create Nuxt extendable layer with this GitHub template.

## Setup

Make sure to install the dependencies:

```bash
pnpm install
```

## Working on your theme

Your theme is at the root of this repository, it is exactly like a regular Nuxt project, except you can publish it on NPM.

The `.playground` directory should help you on trying your theme during development.

Running `pnpm dev` will prepare and boot `.playground` directory, which imports your theme itself.

## Distributing your theme

Your Nuxt layer is shaped exactly the same as any other Nuxt project, except you can publish it on NPM.

To do so, you only have to check if `files` in `package.json` are valid, then run:

```bash
npm publish --access public
```

Once done, your users will only have to run:

```bash
npm install --save your-theme
```

Then add the dependency to their `extends` in `nuxt.config`:

```ts
defineNuxtConfig({
  extends: 'your-theme'
})
```

## Development Server

Start the development server on http://localhost:3000

```bash
pnpm dev
```

## Production

Build the application for production:

```bash
pnpm build
```

Or statically generate it with:

```bash
pnpm generate
```

Locally preview production build:

```bash
pnpm preview
```

Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment) for more information.
npm package: @saa025/basic_template_app
Description: A template app with basic navigation and file structure configured.
Author: Sal Aslam
Latest version: 0.0.1

This is a template created by Sal Aslam based off of the structure presented by mobinnin in his MealsToGo project. See https://github.dev/mobinni/MealsToGo.

A full list of packages can be found in the package.json. A quick list of the includeded pacakges can be found below:

- styled-components
- react-navigation/bottom-tabs
- react-navigation/stack
- expo/vector-icons
npm package: @saaandbite/pulse-sdk
Description: Official TypeScript SDK for Pulse Protocol
Latest version: 1.0.1

# @saaandbite/pulse-sdk

The official end-to-end typed TypeScript SDK for the **Pulse Protocol**. This SDK encapsulates the Pulse API so you can easily integrate web3 subscriptions, automation tasks, and notification rules into your TypeScript/JavaScript application.

## Installation

```bash
npm install @saaandbite/pulse-sdk
# or
yarn add @saaandbite/pulse-sdk
# or
pnpm add @saaandbite/pulse-sdk
# or
bun add @saaandbite/pulse-sdk
```

## Quick Start

Initialize the `PulseClient` using your `api_key` to access the full API surface:

```typescript
import { PulseClient } from "@pulse/sdk";

// Initialize the client
const client = new PulseClient("YOUR_API_KEY", "https://api.pulse.com");

async function main() {
  // --- 1. Subscriptions ---
  // Create a B2B SaaS subscription
  const sub = await client.createSubscription({
    subscriberAddress: "0x123...",
    providerAddress: "0x456...",
    tokenAddress: "0x789...",
    amount: "10000000",
    intervalSeconds: 2592000, // 30 days
    nextChargeAt: new Date(Date.now() + 2592000000).toISOString(),
  });
  console.log("Subscription created:", sub);

  // --- 2. Notifications ---
  // Setup webhook notification rules for expiring subscriptions
  await client.createNotificationRule({
    subscriptionId: sub.id,
    daysBefore: 3,
    channel: "webhook",
    webhookUrl: "https://your-saas.com/api/webhooks/pulse",
  });

  // --- 3. Automation Tasks ---
  // Setup a custom automation task
  const task = await client.createTask({
    walletAddress: "0x123...",
    name: "Auto DCA",
    taskType: "time_based",
    triggerConfig: { interval: "monthly" },
    actionConfig: { type: "swap", target: "USDC" },
    nextExecutionAt: new Date(Date.now() + 86400000).toISOString(), // Tomorrow
  });
  console.log("Task created:", task);
}

main();
```

## Available Features

- **Tasks**: `createTask`, `getTasks`, `getTaskById`, `updateTaskStatus`, `deleteTask`
- **Subscriptions**: `createSubscription`, `getSubscriptions`, `cancelSubscription`
- **Notifications**: `createNotificationRule`, `getNotificationRules`, `getNotificationRuleById`, `deleteNotificationRule`, `getNotificationLogs`
- **Logs**: `getExecutionLogs`, `getExecutionLogById`
- **System**: `getHealth`, `getGasPrice`

## Type Safety

This SDK communicates directly with the `@pulse/backend` types using **Elysia Eden**. Every method argument, payload, and response is 100% strongly typed out-of-the-box.