open-index/open-npm huggingface dataset:
npm package: @posandu/roughclass
Description: Minify CSS classes
Author: posandu
Latest version: 1.0.2

## @posandu/roughclass

This npm library minifies classnames in HTML files.

From:

```html
<div class="foo bar baz"></div>
```

```css
.foo.bar {
	color: red;
}
.baz {
	opacity: 0;
}
```

To:

```html
<div class="a b c"></div>
```

```css
.a.b {
	color: red;
}
.c {
	opacity: 0;
}
```

## Getting Started

Install using `npm i @posandu/roughclass`.

```js
const minify = require("@posandu/roughclass");
```

## Usage

### minify(css : string , html : string) : object

Returns an object with the minified CSS and HTML.

```js
{
    css: '...',
    html: '...',
    replacedClasses: object
}
```
npm package: @posccaesar/rdf-graph
Description: Visualize RDF as a graph network
Latest version: 0.26.0

# @posccaesar/rdf-graph - Core Library

[![core version](https://img.shields.io/npm/v/@posccaesar/rdf-graph)](CHANGELOG.md)

Core package with only one dependency ([N3.js](https://github.com/rdfjs/N3.js/)). Core's responsibility is to transfer addition and / or removal of RDF triples into something called `GraphPatches`. `GraphPatches` are addition or removal of nodes, edges, node properties or edge properties. The purpose of this is to make it easy to visualize rdf in graph visualization tool, but in theory it can be used in any application that wants to convert RDF into a property graph and even modify the RDF and see those changes reflected in the property graph.

## Example

```ts
import { RdfGraph, GraphPatch, GraphState, RdfPatch, turtleToQuads } from '@posccaesar/rdf-graph';

// Create a RdfGraph state object
const state: GraphState = new RdfGraph({ symbolProvider });

// In this example we want to "add" all RDF triples from some turtle
// data to our custom UI
const turtleString = "....";

// Create a set of RdfPatch'es from our RDF data
// An RdfPatch is simply an object containing an action and a N3 Quad:
//
//    RdfPatch
//
//    { 
//      action: "add" | "remove";
//      data: N3.Quad;
//    }
//
const rdfPatches: RdfPatch[] = turtleToQuads(turtleString)
                    .map(q => ({ action: "add", data: q}));

// Get UI graph patches by patching the rdf-graph state with the RdfPatches
const graphPatches: GraphPatch[] = state.patch(rdfPatches);

// Apply the graph patches to your UI state handler
myAwesomeUiImplementation.applyGraphPatches(graphPatches);
```

## Symbol Provider

TODO
npm package: @posccaesar/rdf-graph-cy
Description: Visualize RDF as a graph network
Latest version: 0.6.0

# @posccaesar/rdf-graph-cy

[![cy version](https://img.shields.io/npm/v/@posccaesar/rdf-graph-cy)](CHANGELOG.md)

## Cytoscape.js UI implementation for [@posccaesar/rdf-graph](https://github.com/equinor/rdf-graph)

React UI implementation using [Cytoscape.js](https://js.cytoscape.org) (Open Source)

Example use of React component: [RdfCyGraph](/apps/playground/src/components/cy/)

<https://www.npmjs.com/package/@posccaesar/rdf-graph-cy>
npm package: @posccaesar/rdf-graph-fg3d
Description: Visualize RDF as a graph network
Latest version: 0.6.0

# @posccaesar/rdf-graph-fg3d

[![fg3d version](https://img.shields.io/npm/v/@posccaesar/rdf-graph-fg3d)](CHANGELOG.md)

## 3D Force-Directed Graph UI implementation for [@posccaesar/rdf-graph](https://github.com/equinor/rdf-graph)

React UI implementation using [3D Force-Directed Graph](https://github.com/vasturiano/3d-force-graph) (Open Source) - Experimental

Example use of React component: [RdfFg3dGraph](/apps/playground/src/components/fg3d/)

<https://www.npmjs.com/package/@posccaesar/rdf-graph-fg3d>
npm package: @posccaesar/rdf-graph-go
Description: Visualize RDF as a graph network
Latest version: 0.8.0

# @posccaesar/rdf-graph-go

[![go version](https://img.shields.io/npm/v/@posccaesar/rdf-graph-go)](CHANGELOG.md)

## GoJS UI implementation for [@posccaesar/rdf-graph](https://github.com/equinor/rdf-graph)

React UI implementation using [GoJS](https://gojs.net/latest/index.html) (Licensed)

Example use of React component: [RdfGoGraph](/apps/playground/src/components/go/)

Note: The team will focus on the GoJS implementation for further development.

<https://www.npmjs.com/package/@posccaesar/rdf-graph-go>

## License

The core of this project is open source, but the [@posccaesar/rdf-graph-go](https://www.npmjs.com/package/@posccaesar/rdf-graph-go) package requires a GoJS [software license](https://gojs.net/latest/license.html).