open-index/open-npm huggingface dataset:
npm package: @nextera.one/softid-sdk
Description: TypeScript/JavaScript SDK for SoftID - DNS-based Software Identity
Author: NextEra.One
Latest version: 1.0.1

# SoftID SDK

The official SDK for [SoftID](https://softid.org) — the DNS-based identity standard for software.

## Installation

```bash
npm install @nextera.one/softid-sdk
```

## Usage

### Generate a Claim Record

```ts
import { generateClaimRecord } from '@nextera.one/softid-sdk';

const record = generateClaimRecord({ sid: 'MYAPP' });
// Output: "v=softid1; sid=MYAPP; nonce=01J4..."
```

### Verify Ownership (Node.js)

```ts
import { verifyOwnership } from '@nextera.one/softid-sdk';

const result = await verifyOwnership('VUE', 'vuejs.org');

if (result.verified) {
  console.log('Verified owner!', result);
} else {
  console.error('Verification failed', result.error);
}
```