open-index/open-npm huggingface dataset:
npm package: @littledan/operator-overloading-shim
Description: Shim for runtime support for an operator overloading proposal
Author: Daniel Ehrenberg
Latest version: 0.0.4

This package contains runtime support for an [operator overloading proposal](https://github.com/littledan/proposal-operator-overloading/) for JavaScript, to be used in the Babel plugin `@littledan/plugin-transform-operator-overloading`.
npm package: @littledan/plugin-transform-operator-overloading
Description: Babel plugin for a transform for an operator overloading proposal
Author: Daniel Ehrenberg
Latest version: 0.0.1

This package implements an [operator overloading proposal](https://github.com/littledan/proposal-operator-overloading/) for JavaScript as a Babel plugin.

To use the plugin, run the following commands for installation

```sh
npm install --save-dev @littledan/plugin-transform-operator-overloading
npm install --save-prod @littledan/operator-overloading-shim
```

and add the following to your `.babelrc`:

```js
{
  "plugins": ["@littledan/plugin-transform-operator-overloading"]
}
```

If you encounter any issues, including unexpected behavior, poor performance, weird ergonomics, etc, please [file an issue](https://github.com/littledan/proposal-operator-overloading/issues/new).

## Recommended best practices

- Use `with operators from` declarations just in code that needs it, rather than at the top level of the module. This makes the transformation only apply to that code, reducing the predictability and performance impact.
- When creating a library that exposes operator overloading, expose a method-based interface as well, to support usage without this transform.
- Note that overloading [] or []= results in the creation of a Proxy; carefully consider whether this is appropriate for performance-sensitive code.

## Deviations from proto-specification behavior

- Rather than using the syntax `with operators from ABC`, use the syntax `withOperatorsFrom(ABC)`
- When outside of any block which has a `with operators from` declaration, this transform treats objects with overloaded operators as if they didn't have overloading (and therefore undergo coercion like objects), whereas the spec behavior would be to throw a TypeError.
- The underlying operator-overloading-shim does not protect against introspection of symbols or monkey-patching in the environment. Error checking behavior may be somewhat weaker.
npm package: @littleee/devpilot
Description: A page-native annotation toolbar for collecting UI feedback and exporting it for AI-assisted code changes.
Latest version: 0.1.0

# DevLens

`devlens` is a page-native annotation toolbar for collecting UI feedback and exporting it as structured context for AI-assisted code changes.

## Install

```bash
npm install @littleee/devpilot
```

`react` and `react-dom` are required peer dependencies.

## Zero-config Mount

```ts
import { mountDevLens } from "@littleee/devpilot";

mountDevLens();
```

## React

```tsx
import { DevLens } from "@littleee/devpilot";

export function App() {
  return (
    <>
      <YourApp />
      <DevLens />
    </>
  );
}
```

## Vue

```ts
import { createApp } from "vue";
import { mountDevLens } from "@littleee/devpilot";
import App from "./App.vue";

createApp(App).mount("#app");
mountDevLens();
```

## Optional Mount Options

```ts
mountDevLens({
  defaultOpen: false,
});
```