open-index/open-npm huggingface dataset:
npm package: @nstudio/nps-i
Description: Interactive mode for nps
Author: siddharthkp
Latest version: 2.0.1

# All Credit to Original Author and License

Just a small customization for Nx monorepo repurposing.

See the following for more:
https://github.com/siddharthkp/nps-i
https://www.npmjs.com/package/nps-i

#### license

MIT © [siddharthkp](https://github.com/siddharthkp)
npm package: @nsumikawa/test
Description: A quick tutorial on how you can publish your own npm package.
Author: Me
Latest version: 1.2.1

# How to publish a npm package

This is a quick tutorial on how you can publish your own npm package with minimal configuration. This will cover the basic setup, how npm works and how to ship good quality code.

The full tutorial can be found at my [Medium blog](https://medium.com/@vmarchesin/how-to-publish-a-npm-package-in-four-steps-4344ab88e852).

You'll need the following packages:

* @babel/core
* babel-loader
* webpack
* webpack-cli

You can install all the dependencies by running:

```bash
npm i -D @babel/core babel-loader webpack webpack-cli
```
npm package: @nsure-ai/react-native-client-sdk
Description: Unified React Native Module for nSure SDK (iOS & Android)
Author: nSure
Latest version: 1.3.22

# @nsure-ai/react-native-client-sdk

**Official React Native SDK wrapper for nSure (Android & iOS)**

Easily integrate the nSure SDK into your React Native applications using this unified npm package.

---

## Installation

Using npm:
```bash
npm install @nsure-ai/react-native-client-sdk
npx pod-install
```

---

## Usage

### Step 1: Initialize nSure SDK

Call `initialize` with your App ID, Partner ID, and optionally a `configBaseUrl` parameter (can be `null`) to override the default configuration endpoint:

```js
import NSure from '@nsure-ai/react-native-client-sdk';

// Basic initialization
await NSure.initialize('YOUR_APP_ID', 'OPTIONAL_PARTNER_ID');

// Optionally specify a custom configuration base URL (can be null)
await NSure.initialize('YOUR_APP_ID', 'OPTIONAL_PARTNER_ID', 'https://custom-config-url.com');
```
> **Note:**  
> - On **Android**: `appId`, `partnerId`, and optional `configBaseUrl` (can be `null`) are passed into the native SDK.  
> - On **iOS**: `appId`, `partnerId`, and optional `configBaseUrl` (can be `null`) are passed into the native SDK.

---

### Step 2: Retrieve Device ID

Once initialized, get the device ID:
```js
const deviceId = await NSure.getDeviceId();
```
This `deviceId` must be sent to your server to identify sessions.

---

### Step 3: Pass Device ID to Your Server

Include the `deviceId` in your API requests under `sessionInfo`:
```json
{
  "sessionInfo": {
    "deviceId": "DEVICE_ID_FROM_SDK"
  }
}
```

---

### Step 4: (Optional) Check SDK Version

At any time you can read the nSure SDK version:
```js
const sdkVersion = await NSure.getVersion();
console.log('nSure SDK Version:', sdkVersion);
```

---

## Native Dependencies 

### Android (Gradle) - (Handled Automatically)

Your app does **not** need any manual changes. This package automatically adds:
```gradle
implementation 'com.github.nsure-ai:android-sdk:1.3.12'
implementation 'com.fingerprint.android:pro:2.8.0'
```

### AndroidManifest.xml - Add screen-capture permission

In your **AndroidManifest.xml**, add:

```xml
<uses-permission android:name="android.permission.DETECT_SCREEN_CAPTURE" />
```

This permission is required for nSure to detect when the user takes a screenshot.

### iOS (CocoaPods) - (Handled Automatically)

CocoaPods integration is driven by `nsure.podspec`. After installing:
```bash
npx pod-install
```
the `nSure.xcframework` and bridge headers will be linked automatically.

---

## Troubleshooting

- **`Native Module "NSureSDK" is null`**  
  • Make sure you’ve rebuilt your app (`npx react-native run-android` / `run-ios`)  
  • Clear Metro cache: `npx react-native start --reset-cache`  
  • Confirm `@nsure-ai/react-native-client-sdk` appears in `npx react-native config`

- **TurboModule argument errors**  
  If you see “expected X arguments,” ensure you’re on RN 0.66+ and using the latest version of this package, which uses Promise‐based bridges.

---

Happy coding! 🚀
npm package: @nsv-format/nsv
Description: NSV (Newline-Separated Values) format parser
Author: naming
Latest version: 0.0.3

# NSV - Newline-Separated Values

[![CI](https://github.com/nsv-format/nsv-js/workflows/CI/badge.svg)](https://github.com/nsv-format/nsv-js/actions)

NSV is a plain text format for sequences of sequences.

```nsv
name
email

Alice
alice@example.com

Bob
bob@example.com
```

## Install

```bash
npm install @nsv-format/nsv
```

## Basic usage

```javascript
const nsv = require('@nsv-format/nsv');

// Parse NSV text
const data = nsv.parse('name\nemail\n\nAlice\nalice@example.com\n');
// => [['name', 'email'], ['Alice', 'alice@example.com']]

// Serialize to NSV
const text = nsv.stringify([['name', 'email'], ['Alice', 'alice@example.com']]);
// => 'name\nemail\n\nAlice\nalice@example.com\n'
```


## Streaming

For large files, one can use `Reader` and `Writer` to process data incrementally without loading everything into memory:

```javascript
const fs = require('fs');

const reader = new nsv.Reader(fs.createReadStream('input.nsv'));
const writer = new nsv.Writer(fs.createWriteStream('output.nsv'));

for await (const row of reader) {
  const processed = row.map(cell => cell.toUpperCase());
  await writer.writeRow(processed);
}
```

The `Reader` parses incrementally as data arrives—it handles infinite streams and maintains bounded memory usage.

**Stream API:**
- `read(stream)` - read entire stream into memory as array
- `write(data, stream)` - write entire array to stream
- `reader.readRow()` - read next row (returns `null` when done)
- `reader.readRows()` - read all remaining rows into array
- `writer.writeRow(row)` - write a single row
- `writer.writeRows(rows)` - write multiple rows

## Spill/unspill

Flatten/recover seqseq dimension with terminators.

```javascript
const flat = nsv.spill('', [['a', 'b'], ['c']]);
// => ['a', 'b', '', 'c', '']

const structured = nsv.unspill('', flat);
// => [['a', 'b'], ['c']]
```

Generic — works with any sentinel type. These decompose the encode/decode pipeline:

```
encode = spill('\n') ∘ spill('') ∘ map(map(escape))
decode = map(map(unescape)) ∘ unspill('') ∘ unspill('\n')
```

## TypeScript

Type definitions are included:

```typescript
import * as nsv from '@nsv-format/nsv';

const data: string[][] = nsv.parse(text);
```

## Cross-tested

This implementation is tested against:
- [Python implementation](https://pypi.org/project/nsv/)
- [Rust implementation](https://crates.io/crates/nsv)

## Spec

See [nsv-format/nsv](https://github.com/nsv-format/nsv) for the format specification.