open-index/open-npm huggingface dataset:
npm package: @sj1/leser-dsl
Description: lezer-based Java grammar
Author: Marijn Haverbeke
Latest version: 0.1.3

# @lezer/java

This is a Java grammar for the
[Lezer](https://lezer.codemirror.net/) parser system.

The grammar used is based in a large part on the corresponding
[tree-sitter grammar](https://github.com/tree-sitter/tree-sitter-java).

The code is licensed under an MIT license.
npm package: @sj1/leser-nebula-dsl
Description: lezer-based Java grammar
Author: Marijn Haverbeke
Latest version: 7.1.3

# @lezer/java

This is a Java grammar for the
[Lezer](https://lezer.codemirror.net/) parser system.

The grammar used is based in a large part on the corresponding
[tree-sitter grammar](https://github.com/tree-sitter/tree-sitter-java).

The code is licensed under an MIT license.
npm package: @sj1/lezer-javascript
Description: lezer-based nsl grammar
Author: wangshilan
Latest version: 1.4.22

# @lezer/javascript

This is a JavaScript grammar for the
[lezer](https://lezer.codemirror.net/) parser system.

It parses ES2020, and supports a `"ts"`
[dialect](https://lezer.codemirror.net/docs/guide/#dialects) to parse
TypeScript, and a `"jsx"` dialect to parse JSX.

The `top` option can be set to `"SingleExpression"` or
`"SingleEntityItem"` to parse an expression or entity item instead of a
full program.

The code is licensed under an MIT license.
npm package: @sj1/lezer-nsl
Description: lezer-based nsl grammar
Author: wangshilan
Latest version: 1.4.16

# @lezer/javascript

This is a JavaScript grammar for the
[lezer](https://lezer.codemirror.net/) parser system.

It parses ES2020, and supports a `"ts"`
[dialect](https://lezer.codemirror.net/docs/guide/#dialects) to parse
TypeScript, and a `"jsx"` dialect to parse JSX.

The `top` option can be set to `"SingleExpression"` or
`"SingleClassItem"` to parse an expression or class item instead of a
full program.

The code is licensed under an MIT license.
npm package: @sjaakp/stylefile
Description: jQuery widget to style HTML File Input
Author: Sjaak Priester
Latest version: 0.9.1

jQuery Stylefile
================

File input HTML controls are notorious because they are almost impossible to style by means of CSS. Each browser implements the file input in it's own way. 

**Stylefile** is a jQuery widget that takes over the HTML file input control and allows it to be styled like the rest of the page. In addition, it gives the user more feedback on the selected file.

## Dependencies ##

**Stylefile** is a simple jQuery control. It's only dependency is jQuery.

## Usage ##

#### Load resources ####

At the end of the `body` part, load the jQuery library:
 
    <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
    
And the **Stylefile** code:

    <script src="jquery.stylefile.js"></script>

#### Set-up ####

Stylefile is initialised like:

    $(<selector>).stylefile(<options>);

Preferably, this is done in the `document.ready` handler, like:

    <script>
        $(document).ready(function () {
            $("#fileInput").stylefile({
                ... Stylefile options ...
            });
        });
    </script>

To select all file inputs on a page, use something like:

    <script>
        $(document).ready(function () {
            $("[type=file]").stylefile({
				btnText: "Choose image to upload...",
                ... other Stylefile options ...
            });
        });
    </script>
 
## Options ##

#### btnClass ####

The classname(s) of the 'Browse' button. Default is: `"btn btn-default"` (consistent with Bootstrap CSS).

#### btnText ####

Text of the 'Browse' button. Default: `"Browse"`.

#### decimals ####

Number of decimals in the 'nice_nbytes' presentation of the filesize. Default: `3`.

#### infoClass ####

The classname(s) of the informative text. Default is `"text-muted"`, another Bootstrap classname.

#### infoTemplate ####

Template for the informative text. It is a fragment of HTML, in which the following subtexts are replaced by information about the selected file:

- `{filename}` the name of the selected file
- `{imgsize}`	the image size, in pixels (*w* x *h*)
- `{nbytes}` the file size in bytes
- `{nice_nbytes}` the file size in a more readable format.

Default: `'{filename}&emsp;<span class="imgsize">{imgsize}</span><br /><span class="filesize">{nice_nbytes} ({nbytes} bytes)</span>'`
npm package: @sjaghori/lucia-auth-adapter-duckdb
Description: DuckDB adapter for Lucia.
Latest version: 0.0.2

# `@sjaghori/lucia-auth-adapter-duckdb`

DuckDB adapter for Lucia.

**[Documentation](https://lucia-auth.com/database/)**

**[Lucia documentation](https://v3.lucia-auth.com)**

## Supported drivers

- [`duckdb-async`](https://github.com/motherduckdb/duckdb-async)

## Installation

```
npm install @sjaghori/lucia-auth-adapter-duckdb
pnpm add @sjaghori/lucia-auth-adapter-duckdb
yarn add @sjaghori/lucia-auth-adapter-duckdb
```
npm package: @sjallabong/auth
Description: OAuth2 BFF library for sjallabong auth
Author: sjallabong
Latest version: 1.0.0

# authabongw

OAuth2 BFF PKCE library for [Sjallabong Auth](https://github.com/sjallabong/auth). Here it is as [npm package](https://www.npmjs.com/package/authabong).


## Installation
```sh
npm install authabong
```

## Setup
### Server (BFF)
```js
import OAuth2Server from "authabong";

const oauth = new OAuth2Server({
    clientId: "some-client-id",
    discoveryUrl: "http://localhost:5173/.well-known/openid-configuration",
    redirectUrl: "http://localhost:8080/auth/callback",
    services: {
        "/resources": "https://example.com"
    }
}).init();
```

### Frontend
```js
import OAuth2Client from "authabong/client";

const auth = new OAuth2Client({});

await auth.login() // something like this
```

## Considerations
- There"s no reauthentication flag for "sensitive operations"
- 32 byte random for now