open-index/open-npm huggingface dataset:
npm package: @maderaunified/musd-saml
Description: Madera Unified SAML Implementation
Latest version: 3.0.2

# @maderaunified/musd-saml

Madera Unified SAML Implementation

## Install

```
$ npm install @maderaunified/musd-saml
```

## Usage

```js
const musdSAML = require("@maderaunified/musd-saml");

const app = express();

// Express Setup

musdSAML.init( app );

// Create Server, etc.
```

## Methods
### init( app, [userModel] )
Use init to instantiate all routes and initiate SAML strategies. Profile is object returned to service provider. Application can define it's own object to send to the client

```js
const userModel = ( profile, done ) => 
    done( null, {
        email          : profile.nameID,
        employeeType   : profile.employeeType,
        employeeNumber : profile.employeeNumber
    } );

musdSAML.init( app, userModel );
```

### isAuth( req )
Returns boolean value as to whether the user is logged in
```js
router.get(
    '/route',
    ( req, res ) => {
        if ( isAuth( req ) ) {
            res.render(
                config.routes.appView,
                {
                    user : req.user
                }
            );
        }
        else {
            res.render(
                config.routes.appView,
                {
                    user : null
                }
            );
        }
    }
);
```

## Environment Variables
#### Required
- APP_ROUTE - Home page route for application ( Can be url if API and Client are separate )
    - default : '/'
- SAML_ISSUER - Accessing URL. Change to be application specific
    - default : 'https://localhost.madera.k12.ca.us:3000'
- HOST - URL for callback
    - default : 'localhost.madera.k12.ca.us:3000'
- PROTOCOL - Protocol for callback
    - default - http://
- KEY_PATH - local path to Madera Certificate Key 
- PUB_KEY_PATH - local path to Madera Public Certificate
- LDAP_PATH - URL to Madera AD Server
- LDAP_BASEDN - BASE DN for Madera LDAP Server
- LDAP_USERNAME - User with access to Madera LDAP Server
- LDAP_PASSWORD - Password for user to Madera LDAP Server
    
#### Optional
- APP_VIEW - view to load for app route
    - default : 'index'
- LOGIN_ROUTE - Route for login. Recommend not change
    - default : '/login'
- LOGOUT_ROUTE - Route used for logout. Recommend not change
    - default : '/logout'
- USER_ROUTE - Route to access user information
    - default : '/user'
- USER_VIEW - View to load for user route
    - default : 'user'

- SAML_PATH - Callback point for SAML provider. Recommend not change
    - default : '/login/callback'
- SAML_ENTRY_POINT - Identity Provider Entry Point. Recommend not change
    - default : 'https://selfservice.madera.k12.ca.us/idp/profile/SAML2/Redirect/SSO'
- SAML_LOGOUT_URL - Identity Provider Logout Point. Recommend not change
    - default : 'https://selfservice.madera.k12.ca.us/idp/logout'
- IDENTIFIER_FORMAT - nameID format. Recommend not change
    - default : 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified'
npm package: @maderelevant/n8n-nodes-helicone-v2
Description: Helicone OpenAI LLM node for n8n - trace LLM calls with user/session context
Author: Chris Blokland
Latest version: 0.0.1

# n8n-nodes-helicone-v2

[![CI](https://github.com/MadeRelevant/n8n-nodes-helicone-v2/actions/workflows/ci.yml/badge.svg)](https://github.com/MadeRelevant/n8n-nodes-helicone-v2/actions/workflows/ci.yml)
[![npm version](https://img.shields.io/npm/v/%40maderelevant%2Fn8n-nodes-helicone-v2)](https://www.npmjs.com/package/@maderelevant/n8n-nodes-helicone-v2)

This is an n8n community node. It lets you use _app/service name_ in your n8n workflows.

_App/service name_ is _one or two sentences describing the service this node integrates with_.

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.

[Installation](#installation)
[Operations](#operations)
[Credentials](#credentials)
[Compatibility](#compatibility)
[Usage](#usage)
[Resources](#resources)
[Version history](#version-history)

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Operations

_List the operations supported by your node._

## Credentials

_If users need to authenticate with the app/service, provide details here. You should include prerequisites (such as signing up with the service), available authentication methods, and how to set them up._

## Compatibility

_State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._

## Usage

_This is an optional section. Use it to help users with any difficult or confusing aspects of the node._

_By the time users are looking for community nodes, they probably already know n8n basics. But if you expect new users, you can link to the [Try it out](https://docs.n8n.io/try-it-out/) documentation to help them get started._

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
* _Link to app/service documentation._

## Version history

_This is another optional section. If your node has multiple versions, include a short description of available versions and what changed, as well as any compatibility impact._
npm package: @madesane/in_sane-vuegap
Description: Phonegap template with Vue 2, Webpack and ESLint AirBnB
Author: Made In_ Sane
Latest version: 0.0.8

# In_Sane Vuegap
Phonegap template with Vue 2, Webpack and ESLint AirBnB

## Installation

### Via PhoneGap
```
$ phonegap create <folder_name> --template @madesane/in_sane-vuegap
```    
### Via Github

```
$ git clone https://github.com/madesane/in_sane-vuegap.git
```

## Usage

* ``npm run dev``   : Webpack watch + ESlint AirBnB + Phonegap serve
* ``npm run build`` : Webpack build to `www` folder
npm package: @madeswp/common
Description: 개인 블로그 개발을 위한 프로젝트들에서 project-wide 한 이용을 위해 만든 module 입니다.
Latest version: 1.16.0

# @beyond-the-prism/common

개인 블로그 개발을 위한 프로젝트들에서 project-wide 한 이용을 위해 만든 module 입니다.
npm package: @madewithcards/adaptivecards-wc
Description: Render AdaptiveCards, as simple as image. Use Cards as small microfrontends or widgets
Author: Tim Cadenbach
Latest version: 0.3.3

![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)

# Adaptive Cards Webcomponent

This is a starter project for building a standalone Web Component using Stencil.

Stencil is also great for building entire apps. For that, use the [stencil-app-starter](https://github.com/ionic-team/stencil-app-starter) instead.

## Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

```bash
git clone https://github.com/ionic-team/stencil-component-starter.git my-component
cd my-component
git remote rm origin
```

and run:

```bash
npm install
npm start
```

To build the component for production, run:

```bash
npm run build
```

To run the unit tests for the components, run:

```bash
npm test
```

## Using this component

There are three strategies we recommend for using web components built with Stencil.

The first step for all three of these strategies is to [publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages).

### Script tag

- Put a script tag similar to this `<script src='https://unpkg.com/@madewithcards/adaptivecards-wc@3.0.1/dist/adaptivecard.esm.js'></script>` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc

### Node Modules
- Run `npm install my-component --save`
- Put a script tag similar to this `<script src='node_modules/@madewithcards/adaptivecards-wc/dist/adaptivecard.esm.js'></script>` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc

### In a stencil-starter app
- Run `npm install @madewithcards/adaptivecards-wc --save`
- Add an import to the npm packages `import adaptivecard;`
- Then you can use the element anywhere in your template, JSX, html etc
npm package: @madgex/eslint-config-madgex
Description: Madgex ESLint config - based on eslint-config-airbnb
Author: James Wragg
Latest version: 3.0.0

# eslint-config-madgex

[ESLint](https://eslint.org) rules related to Madgex projects.

## Install

```bash
npm install eslint@10 @madgex/eslint-config-madgex -save-dev
```

## VSCode extension

Use the official VSCode [ESLint Extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) v 3.0.21+

## Usage

> ⚠️ Recomended to use only 1 type of source file in your repo, either `commonjs` or `module` (esm). `eslint` & `eslint-plugin-n` (this config depends on) has difficulty supporting both at the same time in a monorepo.

`eslint-plugin-n` which is a part of our config, reads the package.json for node version, and what `type` of JS files you use (ESM or commonjs).

```json5
// package.json
{
  ...
  "type": "module", // "module" (ESM), or "commonjs" - you cant use both
  {
    "engines": {
      "node": ">=24"
    }
  },
  ...
}
```

`eslint-plugin-n` also recognises `.npmignore` files which will silence warnings of missing dependancies when they are installed as `devDependancies`.

### Node/Browser

```js
// eslint.config.js
import configMadgex from '@madgex/eslint-config-madgex';

export default [...configMadgex];
```

### Vue

config order matters.

```js
// eslint.config.js
import configMadgex from '@madgex/eslint-config-madgex';
import pluginVue from 'eslint-plugin-vue';
// pluginVue.configs['flat/recommended'] has prettier conflicts

export default [...configMadgex, ...pluginVue.configs['flat/essential']];
```

### Rules

Notes regarding specific rules enforced in this config:

- [`no-param-reassign`](https://eslint.org/docs/latest/rules/no-param-reassign) - Disallow reassigning function parameters, except for **`accu`** which is the accumulator in a `.reduce()` e.g.

  ```js
  Array.reduce((accu, key) => {
    accu[key] = getVal(key);

    return accu;
  }, {});
  ```

- [`no-unused-vars`](https://eslint.org/docs/latest/rules/no-unused-vars) - Disallow unused variables, except for `request` and `h` as found on hapi.js route handlers.
npm package: @madgex/prettier-config-madgex
Description: Prettier rules related to Madgex projects
Author: James Wragg
Latest version: 2.0.1

# prettier-config-madgex

[Prettier](https://prettier.io/) rules related to Madgex projects.

## Install

```bash
npm install @madgex/prettier-config-madgex -save-dev
```

## Usage

Add in your `package.json`:

```js
// .prettierrc.cjs
const configMadgex = require('@madgex/prettier-config-madgex');

module.exports = {
  ...configMadgex,
  // if absolutely necessary, add overrides
  // semi: false,
};
```