open-index/open-npm huggingface dataset:
npm package: @onlook/helpers
Description: To install dependencies:
Latest version: 1.2.9

# @onlook/helpers

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.1.8. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @onlook/nextjs
Description: SWC plugin for onlook
Author: onlook
Latest version: 2.1.1

# Onlook nextjs preprocessor

## Usage

1. Install preprocessor library

```bash
npm i --save-dev @onlook/nextjs
```

2. Update `next.config.mjs` or `next.config.js`

```js
import path from "path";

const nextConfig = {
  reactStrictMode: true,
  experimental: {
    swcPlugins: [["@onlook/nextjs", { root: path.resolve(".") }]],
  },
}

export default nextConfig
```

For more, see: https://nextjs.org/docs/pages/api-reference/next-config-js


## Nextjs 13

Unfortunately, Next.js version v13.2.4 ~ v13.3.1 cannot execute SWC Wasm plugins, due to a bug of next-swc. [See more here](https://github.com/vercel/next.js/issues/46989#issuecomment-1486989081). 

Please upgrade to next `13.4.3` or above.

```
npm i next@13.4.3
```

## Backwards compatibility note

The Next plugins ecosystem is still experimental, so SWC ships backwards incompatible version. 

We will keep updating the package to the latest version in hope of a stable release in the future. 

https://swc.rs/docs/plugin/selecting-swc-core