open-index/open-npm huggingface dataset:
npm package: @plantandgo/custom-loader
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.1

# CustomLoader

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @plantandgo/custom-loader-lib
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.2

# CustomLoaderLib

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

## Code scaffolding

Run `ng generate component component-name --project custom-loader-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project custom-loader-lib`.
> Note: Don't forget to add `--project custom-loader-lib` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build custom-loader-lib` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build custom-loader-lib`, go to the dist folder `cd dist/custom-loader-lib` and run `npm publish`.

## Running unit tests

Run `ng test custom-loader-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @plantandgo/my-workspace
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.0

# MyWorkspace

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @plantarium/nodesystem
Description: <div align="center">
Latest version: 0.0.6

# @Plantarium/Nodesystem

<div align="center">

<img src="static/favicon.svg" width="30%"/>

  <h3 align="center">@plantarium/nodesystem</h3>

  <p align="center">
    Extensible/Serializable visual NodeSystem Library à la Blender.
    <br />
    <br />
    <a href="https://jim-fx.com/plant/nodes/">Demo</a>
     ·
    <a href="https://jim-fx.com/plant/nodes/">Docs</a>
  </p>

</div>

## Table of Contents

- [About the Project](#about-the-project)
- [Getting Started](#getting-started)
  - [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## About The Project

This project came out of another project where i needed a node interface.

## Installation

Without a package manager:

```html
<script type="module">
  import { Nodesystem } from 'https://cdn.skypack.dev/@plantarium/nodesystem';
</script>
```

With a package manager:

```shell
npm install @plantarium/nodesystem
yarn add @plantarium/nodesystem
pnpm add @plantarium/nodesystem
```

## Usage

Import it as module:

```javascript
import { NodeSystem } from '@plantarium/nodesystem';
```

Then use it like so:

```javascript
const system = new NodeSystem();
```

If you want to register your own node types:

```javascript
system.registerNodeType({
  title: 'Add',
  type: 'add',
  outputs: ['number'],
  parameters: {
    a: {
      type: 'number',
      value: 0,
    },
    b: {
      type: 'number',
      value: 0,
    },
  },
  compute({ a, b }: { a: number, b: number }) {
    return a + b;
  },
});
```

### All Options to register a NodeType:

```typescript
interface NodeTypeData {
  title: string;

  type: string;

  outputs: string | string[];

  meta?: {
    description?: string;
    tags?: string[];
  };

  parameters: {
    [key: string]: ValueTemplate;
  };

  compute(parameters: { [key: string]: unknown }): unknown;
}
```

### All options for a single parameter

```typescript
interface ValueTemplate {
  type: string;
  label?: boolean | string;
  value?: boolean | string | number;
  values?: string[];
  points?: Vec2[];
  isAccessible?: boolean;
  external?: boolean;
  internal?: boolean;
  inputType?: string;
  min?: number;
  max?: number;
  step?: number;
  defaultValue?: number | string | boolean;
}
```

Saving and loading of systems

```javascript
// save the node system
const save = system.serialize();
// Download/Upload/stringify the save

// Load the node system
system.load(save);
```