open-index/open-npm huggingface dataset:
npm package: @neurophic/ai-sdk
Description: Vercel AI SDK tools for Neurophic memory
Latest version: 0.2.0

# @neurophic/ai-sdk

[Vercel AI SDK](https://sdk.vercel.ai) tools for [Neurophic](https://neurophic.ai) memory.

## Installation

```bash
npm install neurophic @neurophic/ai-sdk ai zod
```

## Usage

```typescript
import { Neurophic } from "neurophic";
import { createTools } from "@neurophic/ai-sdk";
import { streamText } from "ai";
import { openai } from "@ai-sdk/openai";

const client = new Neurophic({ apiKey: "nph_xxx" });
const { remember, recall } = createTools({
  client,
  identifier: "user-123",
});

const result = streamText({
  model: openai("gpt-4o"),
  tools: { remember, recall },
  messages: [{ role: "user", content: "Remember that I love hiking" }],
});
```

## Tools

### `remember`

Stores information in long-term memory.

Parameters:
- `content` (string) — The information to remember

### `recall`

Searches long-term memory for relevant information.

Parameters:
- `query` (string) — What to search for
- `limit` (number, optional) — Max results (1-20)

## License

MIT
npm package: @neurora/code-inspector-core
Description: Click the dom on the page, it will open your IDE and position the cursor to the source code location of the dom.
Author: zh-lx
Latest version: 1.3.3

# @neurora/code-inspector-core

[![NPM version](https://img.shields.io/npm/v/@neurora/code-inspector-core.svg)](https://www.npmjs.com/package/@neurora/code-inspector-core)
[![NPM Downloads](https://img.shields.io/npm/dm/@neurora/code-inspector-core.svg)](https://npmcharts.netlify.app/compare/@neurora/code-inspector-core?minimal=true)
[![MIT-license](https://img.shields.io/npm/l/@neurora/code-inspector-core.svg)](https://opensource.org/licenses/MIT)

Core functionality for code-inspector with **floating ball UI** enhancement.

## ✨ Features

This package provides the core functionality for the code-inspector plugin ecosystem, including:

- 🎯 **Floating Ball UI** - Revolutionary draggable interface for better DX
- 🔄 **Mode Switching** - Toggle between "Copy Path" and "Open Editor" modes
- 🎨 **Visual Feedback** - Clear mode indicators and hover states
- 💾 **Persistent State** - Remembers user preferences across sessions
- 🔍 **Element Detection** - Intelligent source code location detection
- 🚀 **IDE Integration** - Seamless integration with popular IDEs

## 📦 Installation

```bash
npm i @neurora/code-inspector-core -D
# or
yarn add @neurora/code-inspector-core -D
# or
pnpm add @neurora/code-inspector-core -D
```

## 🔗 Related Packages

- **[@neurora/code-inspector-plugin](https://www.npmjs.com/package/@neurora/code-inspector-plugin)** - Main plugin package
- **[@neurora/code-inspector-vite](https://www.npmjs.com/package/@neurora/code-inspector-vite)** - Vite-specific integration

## 📚 Documentation

For detailed usage and configuration, please refer to the main plugin package:
- [NPM Package](https://www.npmjs.com/package/@neurora/code-inspector-plugin)
- [GitHub Repository](https://github.com/zh-lx/code-inspector)
- [Documentation](https://inspector.fe-dev.cn/en)

## 📄 License

MIT © [zh-lx](https://github.com/zh-lx) & [Neurora Contributors](https://github.com/neurora)
npm package: @neurora/code-inspector-vite
Description: Click the dom on the page, it will open your IDE and position the cursor to the source code location of the dom.
Author: zh-lx
Latest version: 1.3.3

# @neurora/code-inspector-vite

[![NPM version](https://img.shields.io/npm/v/@neurora/code-inspector-vite.svg)](https://www.npmjs.com/package/@neurora/code-inspector-vite)
[![NPM Downloads](https://img.shields.io/npm/dm/@neurora/code-inspector-vite.svg)](https://npmcharts.netlify.app/compare/@neurora/code-inspector-vite?minimal=true)
[![MIT-license](https://img.shields.io/npm/l/@neurora/code-inspector-vite.svg)](https://opensource.org/licenses/MIT)

Vite plugin for code-inspector with **floating ball UI** enhancement.

## ✨ Features

Enhanced Vite integration for the code-inspector ecosystem:

- 🎯 **Floating Ball UI** - Draggable interface for better developer experience
- 🔄 **Mode Switching** - Toggle between "Copy Path" and "Open Editor" modes
- ⚡ **Vite Optimized** - Built specifically for Vite's architecture
- 🔥 **HMR Support** - Full hot module replacement compatibility
- 🎨 **Framework Agnostic** - Works with React, Vue, Svelte, and more

## 📦 Installation

```bash
npm i @neurora/code-inspector-vite -D
# or
yarn add @neurora/code-inspector-vite -D
# or
pnpm add @neurora/code-inspector-vite -D
```

## 🚀 Quick Start

```js
// vite.config.js
import { defineConfig } from 'vite';
import { ViteCodeInspectorPlugin } from '@neurora/code-inspector-vite';

export default defineConfig({
  plugins: [
    ViteCodeInspectorPlugin({
      behavior: {
        enable: true,
        enableFloatingBall: true  // Enable floating ball UI
      }
    }),
  ],
});
```

## 🔗 Related Packages

- **[@neurora/code-inspector-plugin](https://www.npmjs.com/package/@neurora/code-inspector-plugin)** - Main plugin package with all bundler support
- **[@neurora/code-inspector-core](https://www.npmjs.com/package/@neurora/code-inspector-core)** - Core functionality

## 📚 Documentation

For detailed usage and configuration:
- [Main Package](https://www.npmjs.com/package/@neurora/code-inspector-plugin)
- [GitHub Repository](https://github.com/zh-lx/code-inspector)
- [Documentation](https://inspector.fe-dev.cn/en)

## 📄 License

MIT © [zh-lx](https://github.com/zh-lx) & [Neurora Contributors](https://github.com/neurora)
npm package: @neurosity/dsp
Description: Digital Signal Processing for Javascript
Author: Corban Brook
Latest version: 1.0.1

# DSP.js

DSP.js is a comprehensive digital signal processing library for javascript. 
It includes many functions for signal analysis and generation, including 
Oscillators (sine, saw, square, triangle), Window functions (Hann, Hamming, etc), 
Envelopes (ADSR), IIR Filters (lowpass, highpass, bandpass, notch), FFT and DFT 
transforms, Delays, Reverb.

## Modules

* `DFT(bufferSize, sampleRate)`: Discrete Fourier Transform
  * Usage: 
    ```js
    var dft = new DFT(1024, 44100);
    dft.forward(signal);
    var spectrum = dft.spectrum;
    ```

* `FFT(bufferSize, sampleRate)`: Fast Fourier Transform
  * Usage:
    ```js
    var fft = new FFT(2048, 44100);
    fft.forward(signal);
    var spectrum = fft.spectrum;
    ```

* `Oscillator(waveform, frequency, amplitude, bufferSize, sampleRate)`: Signal Generator
  * Sine wave
  * Square wave
  * Saw wave
  * Triangle wave
  * Usage:
    ```js
    var osc = new Oscillator(SINEWAVE, 440, 1, 2048, 22050);
    osc.generate();
    var signal = osc.signal;
    ```

* `ADSR(attack, decay, sustainLevel, sustain, release, sampleRate)`: Attack-Decay-Sustain-Release Envelope
  * Usage:
    ```js
    var envelope = new ADSR(0.01, 0.1, 0.5, 0.1, 0.2, 44100);
    envelope.process(signal);
    ```

* `IIRFilter(filter, cutoff, sampleRate)`: Infinite Impulse Response Filters
  * Low Pass Filter
  * High Pass Filter
  * Usage:
    ```js
    var filter = IIRFilter(LOWPASS, 200, 44100);
    filter.process(signal);
    ```

* `MultiDelay(maxDelayInSamplesSize, delayInSamples, masterVolume, delayVolume)`: Delay which feeds back its own delayed signal	
  * Usage:
    ```js
    var delay = MultiDelay(44100*5, 44100*1, 1.0, 0.6);
    delay.process(signal);  
    ```

* `Reverb(maxDelayInSamplesSize, delayInSamples, masterVolume, mixVolume, delayVolume, dampFrequency)`: Reverb
  * Usage:
    ```js
    var reverb = Reverb(20000, 6500, 0.8, 0.5, 0.9, 4500);
    reverb.process(signal);
    ```
npm package: @neurosity/ipk
Description: Single source of truth for all inter-process communication constants
Author: Alex Castillo
Latest version: 2.13.0

# Neurosity IPK

Single source of truth for all inter-process communication constants.

### Getting started

```bash
npm install @neurosity/ipk
```

Then import the module or the json file

##### ESM

```js
import ipk from "@neurosity/ipk";
```

##### CJS

```js
const ipk = require("@neurosity/ipk");
```

##### JSON

```js
import ipk from "@neurosity/ipk/dist/json/index.json";
```

### License

Neurosity IPK is [MIT licensed](./LICENSE).
npm package: @neurosity/reinforcejs
Description: Reinforcement Learning library
Author: Andrej Karpathy
Latest version: 1.0.0

# REINFORCEjs (fork)

**REINFORCEjs** is a Reinforcement Learning library by Andrej Karpathy that implements several common RL algorithms, all with web demos. In particular, the library currently includes:

- **Dynamic Programming** methods
- (Tabular) **Temporal Difference Learning** (SARSA/Q-Learning)
- **Deep Q-Learning** for Q-Learning with function approximation with Neural Networks
- **Stochastic/Deterministic Policy Gradients** and Actor Critic architectures for dealing with continuous action spaces. (_very alpha, likely buggy or at the very least finicky and inconsistent_)

See the [main webpage](http://cs.stanford.edu/people/karpathy/reinforcejs) for many more details, documentation and demos.

> This fork adds node.js and ESM support.

# Getting Started

Install the library as a dependency:

```bash
npm install @neurosity/reinforcejs
```

The library also includes a fork of Andrej's project [recurrentjs](https://github.com/karpathy/recurrentjs) with various utilities for building expression graphs (e.g. LSTMs) and performing automatic backpropagation. Agents for reinforncejs include:

- `DPAgent` for finite state/action spaces with environment dynamics
- `TDAgent` for finite state/action spaces
- `DQNAgent` for continuous state features but discrete actions

A typical usage might look something like:

```javascript
import { DQNAgent } from "@neurosity/reinforcejs";

// create an environment object
const env = {
  getNumStates: () => 8,
  getMaxNumActions: () => 4
};

// create the DQN agent
const spec = { alpha: 0.01 }; // see full options on DQN page
agent = new DQNAgent(env, spec);

setInterval(function () {
  // start the learning loop
  const action = agent.act(s); // s is an array of length 8
  //... execute action in environment and get the reward
  agent.learn(reward); // the agent improves its Q,policy,model, etc. reward is a float
}, 0);
```

The full documentation and demos are on the [main webpage](http://cs.stanford.edu/people/karpathy/reinforcejs).

# License

MIT.
npm package: @neurosity/sdk
Description: Neurosity SDK
Author: Alex Castillo
Latest version: 7.0.1

# Neurosity SDK

The Neurosity software processes and manages the data produced by [Neurosity headsets](https://neurosity.co) which measures, tracks and monitors EEG brainwaves.

This repository is where [Neurosity](https://neurosity.co) develops the SDK. This source code is available to everyone under the standard [MIT license](./LICENSE) and the documentation is can be found on [docs.neurosity.co](https://docs.neurosity.co/). Thank you for visiting this repository.

This README file is a hub to give you some information about the SDK. At a high-level we seek to use the SDK to provide the following solutions:

- Universal JavaScript support: Node/Browser/Electron
- Event-driven multi-client real-time architecture
- Time synchronize clients to Neurosity devices

## Contributing

There are many ways you can participate in the project, for example:

- [Submit bugs and feature requests](https://github.com/neurosity/neurosity-sdk-js/issues), and help us verify as they are checked in.
- Review [source code changes](https://github.com/neurosity/neurosity-sdk-js/pulls).
- Review the [documentation](https://github.com/neurosity/neurosity-sdk-js/tree/master/website) and make pull requests for anything from typos to new content.

If you are interested in fixing issues and contributing directly to the code base,
please see the document [How to Contribute](https://github.com/Neurosity/neurosity-sdk-js/wiki/How-to-Contribute), which covers the following:

- [How to install and run from source](https://github.com/neurosity/neurosity-sdk-js/wiki/How-to-Contribute#contributing-to-notionjs)
- [Coding guidelines](https://github.com/neurosity/neurosity-sdk-js/wiki/Coding-Guidelines)
- [Submitting pull requests](https://github.com/neurosity/neurosity-sdk-js/wiki/How-to-Contribute#pull-requests)
- [Finding an issue to work on](https://github.com/neurosity/neurosity-sdk-js/wiki/How-to-Contribute#where-to-contribute)

## Feedback

- Ask a question on [Stack Overflow](https://stackoverflow.com/questions/tagged/neurosity-sdk-js)
- [Request a new feature](https://github.com/neurosity/neurosity-sdk-js/blob/master/CONTRIBUTING.md)
- Discuss a new feature on our [community](https://support.neurosity.co/hc/en-us/community/topics)
- Up vote [popular feature requests](https://github.com/neurosity/neurosity-sdk-js/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request+sort%3Areactions-%2B1-desc)
- [File an issue](https://github.com/neurosity/neurosity-sdk-js/issues)
- Follow [@neurosity](https://twitter.com/neurosity) and let us know what you think!

## Code of Conduct

This project has adopted a [Code of Conduct](https://github.com/neurosity/neurosity-sdk-js/blob/master/CODE_OF_CONDUCT.md). Contact [opensource@neurosity.co](mailto:opensource@neurosity.co) with any additional questions or comments.

## License

Copyright (c) Neurosity, Inc. All rights reserved.

Licensed under the [MIT license](./LICENSE).
npm package: @neurosnap/generator-ts
Description: Building an open source library using typescript? Save some time and use this yeoman generator to get your library scaffolding up and running in one command.
Author: Eric Bower
Latest version: 1.1.2

# ts

Building an open source library using typescript?
Save some time and use this yeoman generator to get
your library scaffolding up and running in one command.

## Install

```bash
yarn global add yeoman
yarn global add @neurosnap/generator-ts
```

## Usage

navigate to your new project directory then execute command

```bash
yo @neurosnap/ts
```
npm package: @neuroui/components
Description: Beautiful React UI components with built-in cognitive accessibility. Every component automatically adapts to users' sensory preferences — motion sensitivity, information density, focus needs, and reading comfort.
Author: neuroui
Latest version: 0.5.0

# @neuroui/components

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![npm version](https://img.shields.io/npm/v/@neuroui/components.svg)](https://www.npmjs.com/package/@neuroui/components)

Beautiful React UI components with built-in cognitive accessibility.

Every component automatically adapts to users' sensory preferences — motion sensitivity, information density, focus needs, and reading comfort.

## Install

```bash
npm install @neuroui/core @neuroui/components
```

## Quick Start

```tsx
import { NeuroProvider } from '@neuroui/core';
import { Button, Input, Card } from '@neuroui/components';

function App() {
  return (
    <NeuroProvider>
      <Card>
        <h2>Sign Up</h2>
        <Input placeholder="Email" type="email" />
        <Input placeholder="Password" type="password" />
        <Button variant="default">Create Account</Button>
      </Card>
    </NeuroProvider>
  );
}
```

## Components

| Component | Description |
|-----------|-------------|
| `Button` | Accessible button with size and variant adaptations |
| `Input` | Text input with focus and spacing adaptations |
| `Select` | Dropdown select with keyboard navigation |
| `Checkbox` | Checkbox with accessible target sizes |
| `Radio` / `RadioGroup` | Radio buttons with group management |
| `Card` | Content container with density-aware padding |
| `Dialog` | Modal dialog with focus trapping and motion-safe transitions |
| `Tabs` | Tabbed interface with keyboard navigation |
| `Accordion` | Collapsible sections with motion-safe animations |
| `Alert` | Status messages with notification-level awareness |
| `Badge` | Inline status indicators with color vision support |
| `Tooltip` | Contextual help with timing and density adaptations |
| `Navigation` | Nav component with focus and input method adaptations |
| `Table` | Data table with density and spacing adaptations |
| `Toast` / `Toaster` | Toast notifications respecting notification preferences |

## Peer Dependencies

| Package | Version |
|---------|---------|
| `react` | >= 18.0.0 |
| `react-dom` | >= 18.0.0 |
| `@neuroui/core` | >= 0.5.0 |
| `tailwindcss` | >= 3.4.0 (optional) |

## Docs

Full documentation and interactive demos at [neuroui.dev](https://neuroui.dev)

## Repository

[github.com/neuroui/neuroui](https://github.com/neuroui/neuroui)

## License

[MIT](./LICENSE)
npm package: @neuroui/core
Description: Sensory profile system and React hooks for cognitive accessibility. Auto-detects OS accessibility settings and provides fine-grained control over motion, contrast, spacing, typography, and focus behavior.
Author: neuroui
Latest version: 0.5.0

# @neuroui/core

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![npm version](https://img.shields.io/npm/v/@neuroui/core.svg)](https://www.npmjs.com/package/@neuroui/core)

Sensory profile system and React hooks for cognitive accessibility.

## Install

```bash
npm install @neuroui/core
```

## Quick Start

```tsx
import { NeuroProvider, useNeuro } from '@neuroui/core';

function App() {
  return (
    <NeuroProvider preset="calm">
      <MyComponent />
    </NeuroProvider>
  );
}

function MyComponent() {
  const { profile, setProfile } = useNeuro();

  return (
    <div>
      <p>Motion: {profile.motion}</p>
      <button onClick={() => setProfile({ motion: 'reduced' })}>
        Reduce motion
      </button>
    </div>
  );
}
```

## Hooks

| Hook | Description |
|------|-------------|
| `useNeuro()` | Access the full sensory profile and update functions |
| `useMotionSafety()` | Motion preferences — animation durations, transition styles |
| `useCognitiveLoad()` | Density and spacing adaptations for information overload |
| `useReadability()` | Font family, line height, and letter spacing for reading comfort |
| `useFocusMode()` | Focus ring styles and keyboard navigation enhancements |
| `useFlashSafety()` | Flash/strobe detection and safe animation guards |
| `useColorVision()` | Color palette adaptations for color vision deficiencies |
| `useInputMethod()` | Input method detection (pointer, keyboard, touch, switch, voice) |

## SensoryProfile

```typescript
interface SensoryProfile {
  motion: 'none' | 'reduced' | 'full';
  contrast: 'low' | 'normal' | 'high';
  density: 'minimal' | 'normal' | 'detailed';
  notifications: 'silent' | 'visual' | 'audio' | 'all';
  font: 'default' | 'dyslexia-friendly' | 'monospace';
  spacing: 'compact' | 'normal' | 'relaxed';
  focus: 'standard' | 'enhanced';
  timing: 'patient' | 'normal' | 'quick';
  flashSafety: boolean;
  colorVision: 'typical' | 'protanopia' | 'deuteranopia' | 'tritanopia' | 'achromatopsia';
  inputMethod: 'pointer' | 'keyboard' | 'touch' | 'switch' | 'voice';
}
```

## Presets

Use built-in presets for common configurations:

```tsx
<NeuroProvider preset="calm" />   // Reduced motion, minimal density
<NeuroProvider preset="focus" />  // Enhanced focus, reduced distractions
<NeuroProvider preset="safe" />   // Flash safety, reduced motion
```

## Docs

Full documentation at [neuroui.dev](https://neuroui.dev)

## Repository

[github.com/neuroui/neuroui](https://github.com/neuroui/neuroui)

## License

[MIT](./LICENSE)