open-index/open-npm huggingface dataset:
npm package: @projectwallace/css-layer-tree
Description: Discover the composition of your CSS @layers in a tree-based format.
Author: Bart Veneman
Latest version: 2.1.3

# css-layer-tree

Lay out the composition of your CSS `@layer` architecture. See which layers are used, where they are defined and how they are nested.

## Installation

```
npm install @projectwallace/css-layer-tree
```

## Usage

```js
import { layer_tree } from '@projectwallace/css-layer-tree'

let css = `
@import url("test.css") layer;
@import url("test.css") LAYER(test);
@layer anotherTest {
	@layer moreTest {
		@layer deepTest {}
	}
};
/* anonymous @layer */
@layer {}
`

let tree = layer_tree(css)
```

This example would result in this `tree`:

```js
;[
	{
		name: '__anonymous-1__',
		locations: [{ line: 2, column: 3, start: 3, end: 33 }],
		children: [],
	},
	{
		name: 'test',
		locations: [{ line: 3, column: 3, start: 36, end: 72 }],
		children: [],
	},
	{
		name: 'anotherTest',
		locations: [{ line: 4, column: 3, start: 75, end: 148 }],
		children: [
			{
				name: 'moreTest',
				locations: [{ line: 5, column: 4, start: 99, end: 144 }],
				children: [
					{
						name: 'deepTest',
						locations: [{ line: 6, column: 5, start: 121, end: 139 }],
						children: [],
					},
				],
			},
		],
	},
	{
		name: '__anonymous-2__',
		locations: [{ line: 10, column: 3, start: 176, end: 185 }],
		children: [],
	},
]
```

## Related projects

- [Online CSS Layers visualizer](https://www.projectwallace.com/css-layers-visualizer) - See this library in action online!
- [CSS Analyzer](https://github.com/projectwallace/css-analyzer) - The best CSS analyzer that powers all analysis on [projectwallace.com](https://www.projectwallace.com)
npm package: @projectwallace/css-parser
Description: High-performance CSS lexer and parser, optimized for CSS inspection and analysis
Author: Bart Veneman
Latest version: 0.14.9

# CSS Parser

> [!WARNING]
> This is a very experimental CSS parser. Expect several bugs and inconveniences!

**High-performance CSS parser optimized for static analysis and formatting**

Built for speed and efficiency, this parser handles large CSS files with minimal memory overhead and blazing-fast parse times. Designed with a data-oriented architecture using a single contiguous memory arena for zero allocations during parsing.

This parser was heavily influenced by [CSSTree](https://github.com/csstree/csstree), one of the most robust CSS parsers available. Some of the parsing mechanics are taken from CSSTree, as well as some of the performance mechanics, but a lot of things are very different which is why this isn't a direct fork and there is very little overlap in API's.

## Features

- **Modern CSS support** - CSS Nesting, `:is()`, `:where()`, `:has()`, `@layer`, `@container`
- **Error recovery** - Continues parsing on malformed CSS
- **Location tracking** - Line, column, offset, and length for all nodes
- **Performance** - Low memory usage and excellent parsing speed
- **Small bundle size** - Fast download and installation in any environment

## Installation

```bash
npm install @projectwallace/css-parser
```

## Usage

```typescript
import { parse, NODE_STYLE_RULE, NODE_DECLARATION } from '@projectwallace/css-parser'

const ast = parse(`
  body {
    color: red;
    margin: 0;
  }

  @media (min-width: 768px) {
    .container {
      max-width: 1200px;
    }
  }
`)

// Iterate over top-level rules
for (const rule of ast) {
	if (rule.type === NODE_STYLE_RULE) {
		const selector = rule.first_child
		console.log(`Selector: ${selector.text}`)

		// Iterate over declarations
		for (const node of rule) {
			if (node.type === NODE_DECLARATION) {
				console.log(`  ${node.property}: ${node.value}`)
			}
		}
	}
}
```

## Performance

- **Small install size** (~200kB)
- **Zero allocations during parsing** - all memory allocated upfront based on real world heuristics, which also helps prevent garbage collection running often
- **Cache-friendly data layout** - contiguous memory for sequential access powered by concepts of Data Oriented Design
- **First-class comment and location support** - while still being performant because analysis requires constant access to lines and columns
- **No syntax validation** - focusing only on the raw data we can skip expensive syntax files and MDN data syncs

## Documentation

See [API.md](./API.md) for complete documentation of all parser functions and options.

## Non-goals

- **No syntax validation** - this parser does not try to validate your CSS structure. Everything can be anything
- **No custom syntax support** - we're leaving the era of CSS preprocessors so we only focus on CSS

## License

MIT
npm package: @projectwallace/preset-oxlint
Description: Opinionated Project Wallace preset for Oxlint
Author: Bart Veneman
Latest version: 0.0.7

# Oxlint preset

## Installation

```sh
npm i --save-dev oxlint @projectwallace/preset-oxlint
```

## Usage

In `package.json`:

```jsonc
{
  "scripts": {
    "lint": "oxlint --config .oxlintrc.json"
  }
}
```

Create an `.oxlintrc.json`:

```jsonc
{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "extends": ["@projectwallace/preset-oxlint"],
	"env": [
		"node": true, // or false, but be explicit
		"browser": true, // or false, but be explicit
	],
	"rules": {}, // override what you need for the whole project
	"overrides": {} // override per file type, per folder, etc.
}
```
npm package: @projektionisten/verdaccio-bitbucket-cloud
Description: Auth plugin for bitbucket cloud API
Author: Crylion
Latest version: 0.0.1

# verdaccio-bitbucket-cloud

> Auth plugin for bitbucket cloud API

---

## development

See the [verdaccio contributing guide](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. 
Once you have completed that, use the following npm tasks.

  - `npm run build`

    Build a distributable archive

  - `npm run test`

    Run unit test

For more information about any of these commands run `npm run ${task} -- --help`.