open-index/open-npm huggingface dataset:
npm package: @secr/netlify-plugin
Description: Secr Netlify Build Plugin — injects secrets into process.env during build
Latest version: 0.1.1

# @secr/netlify-plugin

[Secr](https://secr.dev) build plugin for Netlify — injects secrets into `process.env` during build.

## Install

```bash
npm install @secr/netlify-plugin
```

## Setup

1. Add `SECR_TOKEN` as an environment variable in your Netlify site settings.

2. Add the plugin to your `netlify.toml`:

```toml
[[plugins]]
  package = "@secr/netlify-plugin"
  [plugins.inputs]
    org = "my-org"
    project = "my-project"
    environment = "production"
```

Alternatively, set `SECR_ORG` and `SECR_PROJECT` as environment variables instead of using `plugins.inputs`.

## Plugin Inputs

| Input | Required | Default | Description |
|-------|----------|---------|-------------|
| `org` | Yes | `SECR_ORG` | Organization slug |
| `project` | Yes | `SECR_PROJECT` | Project slug |
| `environment` | No | `production` | Environment to pull from |

## Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `SECR_TOKEN` | Yes | API token |
| `SECR_API_URL` | No | API base URL (default: `https://api.secr.dev`) |

## How It Works

The plugin runs during `onPreBuild` — before your framework builds. It pulls secrets from secr and injects them directly into `process.env`, so your build process picks them up automatically.

## Documentation

Full docs at [secr.dev/docs](https://secr.dev/docs).

## License

MIT
npm package: @secr/sdk
Description: Programmatic Node.js client for the secr secrets management API
Latest version: 0.1.1

# @secr/sdk

Programmatic Node.js client for [secr](https://secr.dev) — secrets management for teams.

## Install

```bash
npm install @secr/sdk
```

## Quick Start

```ts
import { SecrClient } from "@secr/sdk";

const client = new SecrClient({
  token: process.env.SECR_TOKEN,
});

// Pull secrets
const { secrets } = await client.pullSecrets("my-org", "my-project", "production");

// Set a secret
await client.setSecret("my-org", "my-project", "production", "DATABASE_URL", "postgres://...");

// Bulk set
await client.bulkSetSecrets("my-org", "my-project", "production", [
  { key: "API_KEY", value: "sk_live_..." },
  { key: "REDIS_URL", value: "redis://..." },
]);

// Delete a secret
await client.deleteSecret("my-org", "my-project", "production", "OLD_KEY");
```

## API

### `new SecrClient(options)`

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `token` | `string` | *required* | API token |
| `apiUrl` | `string` | `https://api.secr.dev` | API base URL |
| `timeout` | `number` | `30000` | Request timeout (ms) |

### Methods

| Method | Description |
|--------|-------------|
| `pullSecrets(org, project, env, options?)` | Pull decrypted secrets |
| `listKeys(org, project, env, options?)` | List secret keys (no values) |
| `setSecret(org, project, env, key, value)` | Set a single secret |
| `bulkSetSecrets(org, project, env, secrets)` | Set multiple secrets |
| `deleteSecret(org, project, env, key)` | Delete a secret |
| `promoteSecrets(org, project, options)` | Copy secrets between environments |
| `listTemplates(org, project)` | List required key templates |
| `validateTemplate(org, project, env)` | Validate environment against template |

### Error Handling

```ts
import { SecrClient, SecrApiError } from "@secr/sdk";

try {
  await client.pullSecrets("my-org", "my-project", "production");
} catch (err) {
  if (err instanceof SecrApiError) {
    console.error(err.message, err.status, err.code);
  }
}
```

## Documentation

Full docs at [secr.dev/docs](https://secr.dev/docs).

## License

MIT
npm package: @secr/vercel
Description: Secr integration for Vercel — pulls secrets into .env.local before build
Latest version: 0.1.1

# @secr/vercel

[Secr](https://secr.dev) integration for Vercel — pulls secrets into `.env.local` before your framework build.

## Install

```bash
npm install @secr/vercel
```

## Setup

1. Add a `SECR_TOKEN` environment variable in your Vercel project settings.

2. Set `SECR_ORG` and `SECR_PROJECT` environment variables, or pass them at build time.

3. Add `secr-vercel` to your build command in `vercel.json`:

```json
{
  "buildCommand": "secr-vercel && next build"
}
```

Or in your `package.json`:

```json
{
  "scripts": {
    "build": "secr-vercel && next build"
  }
}
```

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `SECR_TOKEN` | Yes | — | API token |
| `SECR_ORG` | Yes | — | Organization slug |
| `SECR_PROJECT` | Yes | — | Project slug |
| `SECR_ENVIRONMENT` | No | `VERCEL_ENV` or `production` | Environment to pull from |
| `SECR_API_URL` | No | `https://api.secr.dev` | API base URL |

## Options

```bash
secr-vercel --output .env.production.local
```

| Flag | Default | Description |
|------|---------|-------------|
| `--output` | `.env.local` | Output file path |

## Documentation

Full docs at [secr.dev/docs](https://secr.dev/docs).

## License

MIT
npm package: @secra/sdk
Description: The Security Layer Every AI Agent Needs — official JavaScript/TypeScript SDK
Author: Secra
Latest version: 1.0.0

# @secra/sdk

The official JavaScript/TypeScript SDK for [Secra](https://sec-ra.com).

## Install

```bash
npm install @secra/sdk
# or
pnpm add @secra/sdk
```

## Quick Start

```typescript
import { SecraClient } from "@secra/sdk"

const secra = new SecraClient({ apiKey: "sk-your-key-here" })

// Scan before sending to your LLM
const result = await secra.scan(userMessage)

if (result.isBlocked) {
  return res.status(400).json({ error: "Prompt injection detected" })
}

// Safe to proceed
const llmResponse = await openai.chat.completions.create({ ... })
```

## Methods

| Method | Plan | Description |
|--------|------|-------------|
| `scan(prompt, context?)` | All | Scan for injection, hijacking, leakage |
| `sanitize(prompt, level?)` | All | Strip injection patterns |
| `validateTool(name, args)` | Developer+ | Validate tool calls |
| `scanContent(content, url?)` | Developer+ | Scan external content |
| `balance()` | All | Token balance and plan info |

## Get an API Key

Sign up at [sec-ra.com](https://sec-ra.com) → Dashboard → API Keys.
npm package: @secrecy/stitches-react
Description: The modern CSS-in-JS library
Latest version: 4.1.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @secrecy/stitches-react

**@secrecy/stitches-react** is a react implementation of [stitches](https://stitches.dev), a CSS-in-JS library with a best-in-class developer experience.

<p><br /></p>

```sh
# with npm
npm install @secrecy/stitches-react

# with yarn
yarn add @secrecy/stitches-react
```

<p><br /></p>

<a href="https://codepen.io/embed/prefill?editable=true&default-tab=js%2Cresult&data=%7B%22js%22%3A%22import+%7B+styled+%7D+from+%27https%3A%2F%2Fcdn.skypack.dev%2F%40stitches%2Freact%27%3B%5Cn%5Cn%2F%2F+add+your+code+here%21%5Cn%2F%2F+see+https%3A%2F%2Fstitches.dev+for+documentation%22%7D"><img src="https://img.shields.io/badge/-open_in_codepen-2b354f?logo=codepen&style=flat-square" alt="open in codepen" valign="middle" align="right"></a>

<br />

```html
<script type="module">

import { styled } from 'https://cdn.skypack.dev/@secrecy/stitches-react'

</script>
```

<p><br /></p>

<a href="https://codepen.io/embed/prefill?editable=true&default-tab=js%2Cresult&data=%7B%22js%22%3A%22const+%7B+styled+%7D+%3D+stitches%5Cn%5Cn%2F%2F+add+your+code+here%21%5Cn%2F%2F+see+https%3A%2F%2Fstitches.dev+for+documentation%22%2C%22js_external%22%3A%22https%3A%2F%2Funpkg.com%2Freact%2Fumd%2Freact.development.js%3Bhttps%3A%2F%2Funpkg.com%2Freact-dom%2Fumd%2Freact-dom.development.js%3Bhttps%3A%2F%2Funpkg.com%2F%40stitches%2Freact%2Fdist%2Findex.global.js%22%7D"><img src="https://img.shields.io/badge/-open_in_codepen-2b354f?logo=codepen&style=flat-square" alt="open in codepen" valign="middle" align="right"></a>

<br />

```js
<script src="https://unpkg.com/@secrecy/stitches-react/dist/index.global.js"></script>
<script>

const { styled } = stitches

</script>
```

<p><br /></p>

## Documentation

For full documentation, visit [stitches.dev](https://stitches.dev).

## Contributing

Please follow our [contributing guidelines](https://github.com/stitchesjs/stitches/blob/canary/CONTRIBUTING.md).

## Authors

- Pedro Duarte ([@peduarte](https://twitter.com/peduarte))
- Jonathan Neal ([@jon_neal](https://twitter.com/jon_neal))
- Abdulhadi Alhallak ([@hadi_hlk](https://twitter.com/hadi_hlk)) - [WorkOS](https://workos.com)

## License

Licensed under the MIT License, Copyright © 2022-present WorkOS.

See [LICENSE](./LICENSE.md) for more information.