open-index/open-npm huggingface dataset:
npm package: @leonardoks16/astrid-client
Description: Astrid-client was made for simplify your life with client side GraphQL.
Author: Leonardo Kwieczinski Sampaio
Latest version: 1.2.7

# astrid-client, a new alternative
A REAL Platform Agnostic GraphQL Client, made with javascript and love.
Deal with GraphQL in a blazing fast way.
Unpacked Size: 7.02 kB 


<!-- TABLE OF CONTENTS -->
<details open="open">
  <summary>Table of Contents</summary>
  <ol>
    <li>
      <a href="#installation">Installation</a>
    </li>
    <li>
      <a href="#usage">Usage</a>
      <ul>
        <li><a href="#make-simple-query">Simple Query</a></li>
        <li><a href="#query-with-variables">Query with variables</a></li>
        <li><a href="#persisted-queries">Persisted Query</a></li>
        <li><a href="#make-simple-mutation">Make simple Mutation</a></li>
        <li><a href="#built-with">Subscriptions (Coming Soon)</a></li>
      </ul>
    </li>
  </ol>
</details>

## Installation
Install npm package
* npm
  ```sh
  npm install @leonardoks16/astrid-client@latest --save
  ```
<!-- usage -->
## Usage:
### Create connection to GraphQL endpoint

```
// Import package, you can import only what will be used, of course. Only createClient is required
import { createClient, astridQuery, astridWatchQuery, astridMutation } from '../astrid-client';


// Create connection to graphql endpoint
createClient({
    base_url: 'http://localhost:4000'
})
```

### Make simple Query
```
// Define your query
const query = `{
    userList { _id }
  }`
  
// Make a simple query
astridQuery(query).then(data => {
  //console.log(data)
}).catch(error => console.error(error));
```
### Query With Variables 
```
astridQuery({
  query: queryWithVar,
  variables: {id, token}
}).then(data => {
  console.log(data)
}).catch(error => console.error(error));
```

### Persisted queries

#### inputs: query, interval, callback function

```
// Make a persisted query, with a interval in ms

astridWatchQuery(query, 100, function(x) {
  //console.log(x)
}).catch(error => console.error(error))
```

### Make simple Mutation
```
// Define your mutation
const mutation = `
mutation login($login: String! $password: String! ){
  login(login: $login, password: $password ){
    token, id
  }
}
`

// Define your mutation variables if will be needed
const login = 'leonardosyo@gmail.com'
const password = '123456767'

// you can do this if you want too
const {login, password} = payload

// or just pass the variables as json object too

// Make a mutation
astridMutation({
  mutation: mutation,
    variables:  {
      login,
      password,
    }
  }).then(data => {
    //console.log(data)
}).catch(error => console.error(error))
```
npm package: @leonardomleitao/n8n-nodes-ytranscript
Description: n8n nodes for YTranscript
Author: Leonardo Leitão
Latest version: 0.1.1

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](https://n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

If you would like your node to be available on n8n cloud you can also [submit your node for verification](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
  ```
  npm install n8n -g
  ```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).

## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
   ```
   git clone https://github.com/<your organization>/<your-repo-name>.git
   ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @leonardonicola/fp
Description: A utility library for Functional Programming style
Author: Leonardo Nicola
Latest version: 0.1.0

# fp 

A minimalist and lightweight functional programming utilities library for JavaScript and TypeScript. 

## Installation

```bash
pnpm install @leonardonicola/fp
```

## Getting Started
Import the utility functions and start transforming values seamlessly:

```typescript
import { pipe, memoize, reduce } from '@leonardonicola/fp';
```
npm package: @leonardoorosaa/small-cli
Description: Small CLI is a CLI for ease the create modules in framework web angular
Latest version: 0.0.3-beta

<p align="center">
 <img src="https://user-images.githubusercontent.com/43169851/83984793-2d6cde80-a90d-11ea-9189-cbbe2571f0b1.png"
      width="120"/>
</p>
<p align="center"><strong>Small CLI</strong></p>

## What is

Small cli is a more command line for generate a modules for angular web framework. This CLI generated modules with structure below:

```txt
  /small
   - small-routing.module.ts
   - small.component.html
   - small.component.scss
   - small.component.ts
   - small.module.ts
```

## Install

```
  npm i @leonardoorosaa/small-cli -g
```
## :thinking: how to contributing

 - First, create a *fork* this repositoy;
 - After of create the *fork*, make a clone in local machine of repository that forked;
 - Create a *branch* in your machine, example: `git checkout -b my-changes`;
 - Now... code, code  and coffee :coffee:;
 - Make *commit* your changed, example: `git commit -m ':rocket: my changed features'`;
 - Make a push for branch, example: `git push origin my-changes`;
 - Last, open a pull request.

Made by [leonardoRosaa](https://github.com/LeonardoRosaa) :blue_heart: :rocket:
npm package: @leonardopf26/react-button-component
Description: A simple button component built with react
Latest version: 0.1.0

# Button component challenge

This project is a challenge from devChallenges which consists in creating a uiversal button component like the ones found on ui library such as bootstrap.

The project was bootstap using create react app and made using React and Styled Components.

The challenge description can be found in https://devchallenges.io/challenges/ohgVTyJCbm5OZyTB2gNY
You can see a Demo of the challenge on https://6141e73939cf64003a4a9cbc-gzlzhliahb.chromatic.com/?path=/story/example-button--default

# How to run the project

To run this project you'll need to have the following tools installed in your computer:

    - NPM
    - Yarn
    - Node

After all this intalled, you'll need to follow the following steps:

- Open the main folder of the project on terminal;
- Enter the following command:

```
- yarn (To install all your project dependencies)
```

- Next to run the app just simply type:

```
- yarn start
```

Aaand that shoul do it, you now should be able to use the app.
npm package: @leonardoraele/err
Description: A simple error class with support for adding context data
Author: Leonardo Raele
Latest version: 0.2.1

# Err

![NPM Version](https://img.shields.io/npm/v/@leonardoraele/err)

## Install

	npm install @leonardoraele/err

## Usage

```js
import { Err } from '@leonardoraele/err';
```
```js
new Err('This is an error')
	.with({ context: 'Add JSON data this way' }) // Use `.with()` to add content information tot he error
	.causes('Another error')                     // Use `.causes()` to create a new error that has `this` error as a
	                                             //   cause. When the new error is stringified (e.g. in the console),
												 //   the cause will be displayed in a separated.
	.throw();                                    // Use `throw()` to throw the error in an expression instead of
	                                             //   requiring a dedicated statement.
```

Output in Node 23:

```
Uncaught:
Err [Error]: Another error
    at ... {
  details: undefined,
  [cause]: Err [Error]: This is an error
      at ... {
    details: { context: 'Add JSON data this way' }
  }
}
```