open-index/open-npm huggingface dataset:
npm package: @mayjs/node-utils
Description: > js 工具库，包含一些常用的工具。
Latest version: 0.0.18

# may-node-utils

> js 工具库，包含一些常用的工具。


## 使用

``` js
import { trim } from 'xiao-utils/common/String';
trim('cabc','c');
// ab
```

## License

[MIT](http://opensource.org/licenses/MIT)
npm package: @maykc/angular-signature-pad
Description: Angular Component wrapper for szimek/signature_pad
Author: Mayur Choksi
Latest version: 4.0.5

# Angular Signature Pad
Angular component for [szimek/signature_pad](https://www.npmjs.com/package/signature_pad).

## Install
`npm install @mayurchoksi/angular-signature-pad --save`

## Reference Implementation

* [Live Demo](http://lathonez.com/angular2-signaturepad-demo/)
* [Source](https://github.com/lathonez/angular2-signaturepad-demo)

## Usage example

API is identical to [szimek/signature_pad](https://www.npmjs.com/package/signature_pad).

Options are as per [szimek/signature_pad](https://www.npmjs.com/package/signature_pad) with the following additions:
* canvasWidth: width of the canvas (px)
* canvasHeight: height of the canvas (px)
  The above options are provided to avoid accessing the DOM directly from your component to adjust the canvas size.

```typescript

// import into app module

import { AngularSignaturePadModule } from '@maykc/angular-signature-pad';

...

@NgModule({
  declarations: [ ],
  imports: [ AngularSignaturePadModule ],
  providers: [ ],
  bootstrap: [ AppComponent ]
})

// then import for use in a component

import { Component, ViewChild } from '@angular/core';
import { SignaturePadComponent } from '@maykc/angular-signature-pad';

@Component({
  template: '<signature-pad #signature [options]="signaturePadOptions" (drawStart)="drawStart($event)" (drawEnd)="drawComplete($event)"></signature-pad>'
})

export class SignaturePadPage {

  @ViewChild('signature')
  public signaturePad: SignaturePadComponent;

  private signaturePadOptions: NgSignaturePadOptions = { // passed through to szimek/signature_pad constructor
    minWidth: 5,
    canvasWidth: 500,
    canvasHeight: 300
  };

  constructor() {
    // no-op
  }

  ngAfterViewInit() {
    // this.signaturePad is now available
    this.signaturePad.set('minWidth', 5); // set szimek/signature_pad options at runtime
    this.signaturePad.clear(); // invoke functions from szimek/signature_pad API
  }

  drawComplete(event: MouseEvent | Touch) {
    // will be notified of szimek/signature_pad's onEnd event
    console.log('Completed drawing', event);
    console.log(this.signaturePad.toDataURL());
  }

  drawStart(event: MouseEvent | Touch) {
    // will be notified of szimek/signature_pad's onBegin event
    console.log('Start drawing', event);
  }
}
```
npm package: @mayki-kicas/n8n-nodes-sybase
Description: n8n community node for Sybase database queries
Author: kicas
Latest version: 0.1.4

# n8n-nodes-sybase

Sybase integration for n8n. This community node lets you connect n8n to a Sybase database and run SQL queries inside workflows.

If you are searching for **n8n Sybase connector**, **n8n Sybase node**, **Sybase SQL in n8n**, or **SAP SQL Anywhere / Sybase ASE automation**, this package is built for that use case.

npm package: `@mayki-kicas/n8n-nodes-sybase`

## What This Node Does

- Connects n8n to a Sybase database with credentials
- Executes SQL queries from a workflow node
- Returns rows as n8n JSON items
- Supports timeout control per node execution
- Supports debug logs for troubleshooting connection/query issues

## Features

- Credential: `Sybase API`
- Node: `Sybase`
- Operation: `Execute Query`
- Editable timeout in the node (default: `20000 ms`)
- Optional debug mode with detailed execution logs
- Compatible with self-hosted n8n

## Requirements

- Node.js `>=22.16` (recommended for current n8n versions)
- Java runtime on the machine running n8n (required by the `sybase` npm dependency)
- Network access from n8n to your Sybase host and port

## Installation

```bash
npm install
```

## Local Development

```bash
npm run dev
```

This starts n8n in development mode with hot reload for your custom node.

Default URL:

- http://localhost:5678

## Build and Lint

```bash
npm run lint
npm run build
```

## How to Use in n8n

1. Add the `Sybase` node to your workflow.
2. Create credentials `Sybase API` with:
- Host
- Port
- Database
- Username
- Password
3. Select operation `Execute Query`.
4. Write your SQL in `Query`.
5. Optionally set:
- `Timeout In Ms`
- `Debug Mode`

Example query:

```sql
SELECT TOP 10 id, created_at
FROM my_table
ORDER BY created_at DESC;
```

## Troubleshooting

If execution appears stuck:

- Increase `Timeout In Ms` (for example `20000` to `60000`)
- Enable `Debug Mode`
- Check n8n server logs for lines prefixed with `[n8n-sybase]`
- Validate DB connectivity (host, port, firewall, credentials)

If n8n does not start in dev mode:

- Ensure Node.js version satisfies n8n requirements (`>=22.16`)

## FAQ

### Is this node compatible with n8n Cloud?

No. This package uses an external runtime dependency (`sybase`) and is designed for self-hosted n8n.

### Which Sybase products can I use?

It is intended for Sybase-compatible servers where the underlying npm driver works (for example Sybase ASE / SQL Anywhere environments).

### Can I use this in production?

Yes, for self-hosted n8n. Validate timeouts, network reliability, and query performance in your environment before rollout.

## Keywords

n8n sybase, n8n sybase node, n8n sybase connector, sybase automation, sybase sql workflow, sap sql anywhere n8n, sybase ase n8n, database workflow automation

## Release Notes

- 0.1.2: Scoped npm package rename to `@mayki-kicas/n8n-nodes-sybase`.
npm package: @maykoncapellari/msgraph-sharepoint
Description: Microsoft Graph module to helps upload files to sharepoint
Author: maykoncapellari
Latest version: 1.0.7

# ms-graph-sharepoint
Microsoft Graph module to helps upload files to sharepoint

## Installing
Install globally:

    npm install -g @maykoncapellari/msgraph-sharepoint


## Using

Import in NodeJS script:

    import { MsGraphService } from '@maykoncapellari/msgraph-sharepoint';

    const msService = new MsGraphService({ ...params });
    await msService.signIn();
    // Will read '~/attachmentsDir/myfile.pdf' and put on 'me/drive/root/My Sharepoint Docs/myfile.pdf' on sharepoint
    await msService.uploadFile({ attachmentsDir: '~/attachmentsDir', folderName: 'My Sharepoint Docs', file: 'myfile.pdf' });
    const profile = await msService.requestGraphGet('me'); // Get my profile data
    await msService.logout();
npm package: @maykoncapellari/netsuite
Description: NetSuite module to helps to manage the requests and download files from File Cabinet
Author: maykoncapellari
Latest version: 1.0.12

# netsuite
NetSuite module to helps to manage the requests and download files from File Cabinet

## Installing
Install globally:

    npm install -g @maykoncapellari/netsuite


## Using

Import in NodeJS script:

    import { NetSuiteService } from '@maykoncapellari/netsuite';

    const nsService = new NetSuiteService({ ...params });
    await nsService.signIn();
    const invoices = await nsService.requestGet('/record/v1/invoice');
    console.log(invoices);
    const files = await nsService.executeSuiteQl(`SELECT * FROM MediaItemFolder WHERE id = '1253'`);
    console.info(files);
    const downloadFileInfo = await nsService.downloadFile(524171, './');
    await nsService.logout();
npm package: @maynoothuniversity/human-join
Description: A function for converting a JavaScript list to a human-friendly list.
Author: Bart Busschots
Latest version: 0.1.1

# humanJoin.js (@maynoothuniversity/human-join)

A function for converting JavaScript arrays into human-friendly lists, e.g.
`['apples', 'orangess', 'bananas', 'pears']` to
`'apples, oranges, bananas & pears'`.

Both the separator and the conjunction are configurable, and there are built-in
shortcuts for common needs like the so-called
[Oxford Comma](https://en.wikipedia.org/wiki/Serial_comma). The function also
supports wrapping each of the items in the list with a string before they are
joined. If wrapping is requested, it will be default be inteligently mirrored,
so wrapping with `<<` will result in output of the form:
`<<apples>>, <<oranges>>, <<bananas>> & <<pears>>`.

## Installation

### NodeJS

Install the module and its dependencies:

```
npm install '@maynoothuniversity/human-join' --save
```

Load the module:

```
var validateParam = require('@maynoothuniversity/human-join');
```

### Browser (CDN)

```
<!-- Import humanJoin.js -->
<script type="text/javascript" src="https://cdn.rawgit.com/bbusschots-mu/humanJoin.js/master/validateParams.js" ></script>
```

## Synopsis:

```
var human = humanJoin(list, [options]);
```

The `list` can be an array or the special `arguments` variable.

The `options` are, as their name suggests, optional, and can either be a single
string as a short-cut to a boolean option, or, an associative array specifying
multiple options.

## Example Usages

```
// sample data
var list = ['apples', 'oranges', 'bananas', 'pears'];

// basic usage
var human = joinHuman(list);
// returns: apples, oranges, bananas & pears

// single boolean option as a string
var oxfordHuman = joinHuman(list, 'oxford');
// returns: apples, oranges, bananas, and pears

// multiple options example 1
var advancedHuman1 = joinHuman(
    list,
    {
        oxfordOr: true,
        quoteWith: '"'
    }
);
// returns: "apples", "oranges", "bananas", or "pears"

// multiple options example 2
var advancedHuman1 = joinHuman(
    list,
    {
        separator: ' or ',
        conjunction: ' or even '
        quoteWith: '['
    }
);
// returns: [apples] or [oranges] or [bananas] or even [pears]
```
npm package: @maynoothuniversity/moodle-ws-client
Description: A Moodle Web Services Client
Author: Bart Busschots
Latest version: 1.1.3

# @maynoothuniversity/moodle-ws-client

A Moodle Web Services Client for NodeJS.

## Example

```
// import the module
const MoodleWSClient = require('@maynoothuniversity/moodle-ws-client');

// instantiate a client
let myMoodle = new MoodleWSClient(
    'https://myServer.com/', // base URL of Moodle instance
    '1234567890ABCDEF1234567890ABCDEF' // Web Service token
);

// submit a query to the web service (returns a promise of the data)
myMoodle.submit(
    'GET', // HTTP method
    'core_webservice_get_site_info' // web service function name
).then(function(data){
    console.log(data);
});
```

## API Documentation

Full API documentation available at
[https://bbusschots-mu.github.io/moodle-ws-client/](https://bbusschots-mu.github.io/moodle-ws-client/).
npm package: @maynoothuniversity/mu-qunit-util
Description: Qunit utilities for use in Maynooth University projects.
Author: Bart Busschots
Latest version: 1.1.3

# @maynoothuniversity/mu-qunit-util

A universal module which provides utilities for use within
[QUnit](http://qunitjs.com/) test suites for
[Maynooth University](https://www.maynoothuniversity.ie/) (MU) JavaScript
projects.

This module is public purely so it can be used within MU's open source projects.
While it's free for anyone to use, it's not designed to be universally useful.

API Documentation is available at
[bbusschots-mu.github.io/mu-qunit-util](https://bbusschots-mu.github.io/mu-qunit-util/).

## Incorporation into Test Suite

This module can be used both from the CLI and in-browser.

### QUnit CLI (via NodeJS)

Install the module:

```
npm install --save-dev @maynoothuniversity/mu-qunit-util
```

To make this module available as `u` within the test suite add
`u:./node_modules/@maynoothuniversity/mu-qunit-util` to the `-d` flag for the
`qunit` binary.

The following is an example Node test script from `package.json`:

```
"test": "./node_modules/.bin/qunit -c SomeModule:./src/SomeModule.js -d is:./node_modules/is_js _:./node_modules/lodash u:./node_modules/@maynoothuniversity/mu-qunit-util -t ./test/tests.js"
```

### QUnit Web Interface

To use the module within QUnit's web interface include the version of the
module in the `build` folder into the page before including the test suite. This
will publish the module to the global variable `muQUnitUtil`. If the test suite
is expecting the module with a shorter alias like `u` that shoudl be done using
a separate script tag.

```
<script src="../node_modules/@maynoothuniversity/mu-qunit-util/dist/index.js"></script>
<script>
  const util = muQUnitUtil;
</script>
```
npm package: @mayo-ui/tailwind-preset
Description: > `tailwindcss` ready to go preset
Author: lamartire
Latest version: 0.10.0

# Mayo UI

> `tailwindcss` ready to go preset

## Installation

Install the preset first:

```shell
yarn add @mayo-ui/tailwind-preset
```

Then just add preset to your `tailwindcss.config.js`:

```js
module.exports = {
  presets: [require('@mayo-ui/tailwind-preset')],
}
```

That's it! Now you're able to use all the design tokens, like `.text-headline-01` or `.bg-leaf-500`.

## Notice about `mono` text styles

If you wanna to use `.text-mono-01` or `.text-mono-02` don't forget to add `.font-mono` class too,
because we can't apply utilities which potentially don't exist by `@apply` to our utilities.
npm package: @mayocream/ui
Description: A collection of Animated UI Components for React created with Framer Motion and Radix.
Author: Mayo
Latest version: 0.0.8

# UI

Animated UI components for React, built with [Framer Motion](https://www.framer.com/motion/), Tailwind CSS, Radix Primitives, and TypeScript.

Preview the components at [mayocream.github.io/ui](https://mayocream.github.io/ui/).

## Installation

```bash
npm install @mayocream/ui
```

## Usage

```tsx
import { Button } from '@mayocream/ui'
```

## Development

Storybook is used for development. To run Storybook locally:

```bash
pnpm i
pnpm storybook
```
npm package: @mayone-du/graphql-codegen-client-preset-swc-plugin
Description: A SWC plugin for https://the-guild.dev/graphql/codegen/plugins/presets/preset-client Forked to work with new Next.js versions.
Latest version: 0.3.0

# `@graphql-codegen/client-preset-swc-plugin`

When using the [`@graphql-codegen/client-preset`](https://the-guild.dev/graphql/codegen/plugins/presets/preset-client) on large scale projects might want to enable code splitting or tree shaking on the `client-preset` generated files. This is because instead of using the map which contains all GraphQL operations in the project, we can use the specific generated document types.

This plugin works for [SWC](https://swc.rs) only.

### Installation

```bash
yarn add -D @graphql-codegen/client-preset-swc-plugin
```

### Usage

You will need to provide the `artifactDirectory` path that should be the same as the one configured in your `codegen.ts`

#### Vite

```ts
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react({
      plugins: [
        ['@graphql-codegen/client-preset-swc-plugin', { artifactDirectory: './src/gql', gqlTagName: 'graphql' }]
      ]
    })
  ]
})
```

#### Next.js

```ts
const nextConfig = {
  // ...
  experimental: {
    swcPlugins: [
      ['@graphql-codegen/client-preset-swc-plugin', { artifactDirectory: './src/gql', gqlTagName: 'graphql' }]
    ]
  }
}
```

#### `.swcrc`

```json5
{
  // ...
  jsc: {
    // ...
    experimental: {
      plugins: [
        ['@graphql-codegen/client-preset-swc-plugin', { artifactDirectory: './src/gql', gqlTagName: 'graphql' }]
      ]
    }
  }
}
```

### Release

To publish a new version ensure you have done the following:

- Update the version in `package.json`
- Update the `CHANGELOG.md` with the new version and changes
- Commit the changes
- From GitHub Actions, run the `Rust plugin` workflow