open-index/open-npm huggingface dataset:
npm package: @solfund/idl
Description: SolFund anchor idl
Author: oioioi
Latest version: 0.1.5

# crowdfunding-idl

To install dependencies:

```bash
bun install
```

To run:

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

This project was created using `bun init` in bun v1.3.7. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
npm package: @solgenomics/brapi-graphical-filtering
Description: - Try it out [here](https://solgenomics.github.io/BrAPI-Graphical-Filtering/example) - Include-ready version can be found under [releases](https://github.com/solgenomics/BrAPI-Pedigree-Viewer/releases). - Also available via npm: `npm install @solgenomics/
Author: David Lyon
Latest version: 1.0.0

# [BrAPI](https://github.com/plantbreeding/API) Graphical Filtering [![GitHub release](https://img.shields.io/github/release/solgenomics/brapi-graphical-filtering.svg)](https://github.com/solgenomics/BrAPI-Graphical-Filtering/releases) [![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/solgenomics/brapi-graphical-filtering.svg)](https://github.com/solgenomics/BrAPI-Graphical-Filtering/releases)

- Try it out [here](https://solgenomics.github.io/BrAPI-Graphical-Filtering/example)
- Include-ready version can be found under [releases](https://github.com/solgenomics/BrAPI-Pedigree-Viewer/releases).
- Also available via npm: `npm install @solgenomics/brapi-graphical-filtering`

![GIF of Example Implementation](example.gif)

## Usage

The graphical filter exposes a minimal API for initializing and populating the table. It is designed to rely on BrAPI. 

### Initializing the graphical filter

Use the following snippets (in order) to fully set up a tree.

1. Create a new GraphicalFilter object 
    ```js
    var gf = GraphicalFilter(
        // BrAPI search of observationUnits to be displayed
        BrAPI("https://brapi.myserver.org/brapi/v1").phenotypes_search(myparams),
        // Accessor describing traits for each observationUnit (returns object)
        function(d) {
            var traits = {}
            d.observations.forEach(function(obs){
                traits[obs.observationVariableName] = obs.value;
            });
            return traits;
        },
        // Accessor describing extra columns to display in the table (returns object)
        function(d) {
            return {
                'Accession':d.germplasmName
            }
        },
        // Order to display the above columns in (array)
        ["Accession"],
        // key to group observationUnits by in the table (key value or undefined for no grouping)
        function(d) { // groupBy function
            return d.germplasmDbId
        }
    );
    ```
2. Then, draw the filter and table.
    ```js
    gf.draw(
        // div to draw the filter in
        "#filter_div",
        // table to output filtered data to
        "#filtered_results"
    );
    ```


## Requirements
- [Bootstrap](https://github.com/twbs/bootstrap) (3.3) (CSS & JS)
- [D3.js](https://github.com/d3/d3) (4)
- [DataTables](https://github.com/DataTables/DataTables) (1) (JS)
- [jQuery](https://github.com/jquery/jquery) (3)

#### Requirements for the Example
- [@solgenomics/brapp-wrapper](https://github.com/solgenomics/BrApp-Wrapper) (For building the example.)
npm package: @solgenomics/brapi-study-comparison
Description: - Try it out [here](https://solgenomics.github.io/BrAPI-Study-Comparison/example). - Include-ready version can be found under [releases](https://github.com/solgenomics/BrAPI-Study-Comparison/releases).  - Also available via npm: `npm install @solgenomics/
Author: David Lyon
Latest version: 1.1.2

# [BrAPI](https://github.com/plantbreeding/API) Study Comparison [![GitHub release](https://img.shields.io/github/release/solgenomics/brapi-study-comparison.svg)](https://github.com/solgenomics/BrAPI-Study-Comparison/releases) [![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/solgenomics/brapi-study-comparison.svg)](https://github.com/solgenomics/BrAPI-Study-Comparison/releases)
- Try it out [here](https://solgenomics.github.io/BrAPI-Study-Comparison/example).
- Include-ready version can be found under [releases](https://github.com/solgenomics/BrAPI-Study-Comparison/releases). 
- Also available via npm: `npm install @solgenomics/brapi-study-comparison`

![GIF of Example Implementation](example.gif)

### Requirements
- [@solgenomics/brapijs](https://github.com/solgenomics/BrAPI.js)
- [D3.js](https://github.com/d3/d3) (v4)
#### Requirements for the Example
- [@solgenomics/brapp-wrapper](https://github.com/solgenomics/BrApp-Wrapper) (For building the example.)
- [jQuery](https://github.com/jquery/jquery) (v3) (For the forms in the example.)
npm package: @solgenomics/brapijs
Description: BrAPI.js is a JavaScript client library for [BrAPI](https://brapi.org). It can be used either in the browser or within Node.js. It uses the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) (or [node-fetch]() in Node.js) for AJAX cal
Author: Mirella Flores
Latest version: 2.0.3

ERROR: No README data found!
npm package: @solgenomics/brapp-wrapper
Description: Common wrapper template and templating script for BTI BrAPPs.
Author: David Lyon
Latest version: 1.2.0

# BrApp Wrapper

Common wrapper template and templating script for BTI BrAPPs.

To use, `npm install` this repo, and add a command line call to "wrapbrapp" or require the package and run it as a function.

Specify output directory and input files to be inserted into the template in your package.json in the fashion below.

package.json:
```js
{   
    ...,
    "scripts": {
        "prepare": "mkdir -p docs && wrapbrapp"
    },
    "brapp": {
        "out": "docs/example.html", // output directory for the output
        "name": "Graphical Filtering", // Name of your BrApp
        "link": "https://github.com/solgenomics/BrAPI-Graphical-Filtering", // link to BrApp source
        "forward": "html/forward.html", // partial html file with html to appear before the BrApp wrapper
        "main": "html/main.html", // partial html file with the main visual elements of your BrApp
        "scripts": "html/scripts.html"  // partial html file with html to appear after the BrApp wrapper, this is where scripts should go.
    }
}
```