open-index/open-npm huggingface dataset:
npm package: @jabraf/cli
Description: CLI to create and update project setup
Author: Jabran Rafique
Latest version: 1.0.10001

# @jabraf/cli

A CLI to setup and update a project with a template and to do more.

Setup a new project with this template.
Update an existing project with this template.

## Development

```bash
# install dependencies
npm install

# build
npm run build

# test
npm test
```

Test the CLI in development:

```bash
node dist/index.js
```

## Usage

```bash
npx @jabraf/cli

# create a new project
npx @jabraf/cli new-setup <project-name>

# update an existing project
npx @jabraf/cli update-setup
```

## CI

Basic npm publish and npm pre-release publish jobs are already setup in `.github/workflows` directory.

> The PRs with will create a pre-release version in npm automatically.

## Notes

In order for it to work, it needs:

- `NPM_TOKEN` secret set in GitHub repository
- manual version bump i.e. `npm version {major|minor|patch}`

&copy; 2025 - Jabran Rafique
npm package: @jabraf/create-npm-package
Description: A simple template for creating an NPM package
Author: Jabran Rafique
Latest version: 1.0.10003

# Create npm package

Boilerplate to create npm package with TypeScript setup.

## Usage

Create a new npm package project:

```sh
npx @jabraf/create-npm-package --name <my_project>
```

Or simply:

```sh
npx @jabraf/create-npm-package <my_project>
```

Then navigate to your project and install dependencies:

```sh
cd my_project
npm install
```

<small>Disclaimer: Parts of this setup are inspired from [Matt Pocock's work](https://www.totaltypescript.com)</small>


## Roadmap
- add [changeset](https://github.com/changesets/changesets)

&copy; 2025 - Jabran Rafique
npm package: @jabraf/prettier
Description: Prettier config
Author: Jabran Rafique
Latest version: 3.0.1

# Prettier config

Prettier configuration for consistent format across all different projects.

> Highely opinionated for personal use and may change any time without any announcements or warnings. Use at own risk.

# Usage

Install the package

```shell
npm i -D @jabraf/prettier
```

Add reference to your `package.json` file

```json
{
  "prettier": "@jabraf/prettier"
}
```

---

&copy; 2019 Jabran Rafique
npm package: @jabranr-lab/prettier
Description: Prettier config
Author: Jabran Rafique
Latest version: 2.0.0

# Prettier config

Prettier configuration for consistent format across all different projects.

> Highely opinionated for personal use and may change any time without any announcements or warnings. Use at own risk.

# Usage

Install the package

```shell
npm i -D @jabranr-lab/prettier
```

Add reference to your `package.json` file

```json
{
  "prettier": "@jabranr-lab/prettier"
}
```

---

&copy; 2019 Jabran Rafique
npm package: @jabrythehutt/aws-factory
Description: Instantiates Node/Browser AWS classes after authenticating
Author: Daniel Jabry
Latest version: 0.3.0

# AWS factory
A library for simplifying your authentication and class instantiation logic when working with the [AWS Javascript SDK](https://aws.amazon.com/sdk-for-node-js/).

## Why?
Many of the projects I've worked on involved a step requiring a user to authenticate prior to accessing AWS resources. I found that writing a centralised utility for instantiating the various AWS classes after loading the required credentials simplified other dependent parts of my applications by separating concerns.

## How?
1. Install the library:
   ```bash
   npm i @jabrythehutt/aws-factory
    ``` 

2. Initialise your factory:
    ```typescript
    import {AwsServiceFactory} from "@jabrythehutt/aws-factory";
    const awsFactory = new AwsServiceFactory();
    ```

3. In some part of your application that doesn't care about credentials:
    ```typescript
    import * as S3 from "aws-sdk/clients/s3";

    async function loadThing() {
       const s3 = await awsFactory.getService(S3);
       const data = await s3.getObject({Bucket: "foo", Key: "bar"}).promise();
       return data.Body.toString();
    }

    loadThing().then(thing => console.log("Thing loaded:", thing));
    ```

4. Authenticate later on in some other part of your application:
    ```typescript
    import {Credentials} from "aws-sdk/lib/credentials";
    awsFactory.credentials = new Credentials("foo", "bar");
    ```
    In your console:
    ```bash
    Thing loaded: baz
    ```


## What?
This projects contains some utilities for instantiating AWS classes in a Node/browser environment after a user has successfully authenticated. Service instances are cached so that each dependent part of your application is given the same instance when using the `getService` method.

### Configuration
You can configure the service using the optional second argument of the `getService` method e.g.

```typescript
const s3 = await awsFactory.getService(S3, {apiVersion: '2006-03-01'});
```
npm package: @jabsatz/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 1.1.6

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @jabuco/epm
Description: Dynamically install and require modules in electron
Author: JABUCO
Latest version: 1.2.1

# electron-package-manager
Dynamically install and require modules in electron

## Usage
```javascript
import epm from 'electron-package-manager';

const CWD = '/tmp/test-plugins';
const PACKAGE = 'levelup';

epm
  .pack(PACKAGE, CWD)
  .then(packagename => epm.extract(PACKAGE, CWD, path.join(CWD, packagename)))
  .then(modulepath => {
    console.log('requiring', modulepath);
    const mylib = require(modulepath);
    console.log('required', mylib);
  });
```
npm package: @jabuco/ytsr
Description: Do anonymous YouTube search requests.
Author: Tobias Kutscha
Latest version: 1.1.1

# node-ytsr
[![NPM version](https://img.shields.io/npm/v/ytsr.svg?maxAge=3600)](https://www.npmjs.com/package/ytsr)
[![NPM downloads](https://img.shields.io/npm/dt/ytsr.svg?maxAge=3600)](https://www.npmjs.com/package/ytsr)
[![codecov](https://codecov.io/gh/timeforaninja/node-ytsr/branch/master/graph/badge.svg)](https://codecov.io/gh/timeforaninja/node-ytsr)
[![Known Vulnerabilities](https://snyk.io/test/github/timeforaninja/node-ytsr/badge.svg)](https://snyk.io/test/github/timeforaninja/node-ytsr)
[![Discord](https://img.shields.io/discord/484464227067887645.svg)](https://discord.gg/V3vSCs7)

[![NPM info](https://nodei.co/npm/ytsr.png?downloads=true&stars=true)](https://nodei.co/npm/ytsr/)

Simple js only module to search YouTube
Doesn't need any login or GoogleAPI key

# Support
You can contact us for support on our [chat server](https://discord.gg/V3vSCs7)

# Usage

```js
const ytsr = require('ytsr');

ytsr.getFilters('github').then(async (filters1) => {
  const filter1 = filters1.get('Type').find(o => o.name === 'Video');
  const filters2 = await ytsr.getFilters(filter1.ref);
  const filter2 = filters2.get('Duration').find(o => o.name.startsWith('Short'));
  const options = {
    limit: 5,
    nextpageRef: filter2.ref,
  }
  const searchResults = await ytsr(null, options);
  dosth(searchResults);
}).catch(err => {
  console.error(err);
});
```


# API
### ytsr(searchString, [options])

Searches for the given string

* `searchString`
    * string to search for
* `options`
    * object with options
    * possible settings:
    * safeSearch[Boolean] -> pull items in youtube restriction mode.
    * limit[integer] -> limits the pulled items, defaults to 100, set to Infinity to get the whole playlist - numbers <1 result in the default being used
    * nextpageRef[String] -> if u wanna continue a previous search or use filters
    * All additional parameters will get passed to [miniget](https://github.com/fent/node-miniget), which is used to do the https requests
* returns a Promise
* [Example response](https://github.com/timeforaninja/node-ytsr/blob/master/example/example_search_output)


### ytsr.getFilters(searchString, options)

Pulls avaible filters for the given string/ref

* `searchString`
    * string to search for
    * or previously optained filter ref
* `options`
    * request options passed to miniget
* returns a Promise
* [Example response](https://github.com/timeforaninja/node-ytsr/blob/master/example/example_filters_output)


# Related / Works well with

* [node-ytdl-core](https://github.com/fent/node-ytdl-core)
* [node-ytpl](https://github.com/TimeForANinja/node-ytpl)


# Install

    npm install --save ytsr


# License
MIT
npm package: @jabuti-ds/core
Description: components library
Author: Luis Nunes
Latest version: 1.0.2

# Jabuti-DS

Estes são os componentes da implementação do Jabuti Design System, a solução completa de UI do [Luis Nunes](https://github.com/luisnunesal). Você pode encontrar código completo [neste link](https://github.com/luisnunesal/jabuti-ds).

## Tecnologias

- [React](https://react.dev/)
- [Esbuild](https://esbuild.github.io/)
- [Typescript](https://www.typescriptlang.org/)
- [Styled-Components](https://www.styled-components.com/)

## Introdução

Vamos  descobrir **Jabuti em menos de 5 minutos**.

## Primeiros passos

Comece **preparando seu ambiente**.

### O que você vai precisar

- [Node.js](https://nodejs.org/en/download/) versão 18.0 ou superior:
  - Ao instalar o Node.js, é recomendável marcar todas as caixas de seleção relacionadas às dependências.

## Instalando a biblioteca


Na pasta raiz do seu projeto, execute o seguinte comando:

```bash
npm install --save @jabuti-ds/core

```

## Como importar e usar?

Para importar os componentes é muito simples. Siga o exemplo abaixo:

```jsx
import { Box, Button } from '@jabuti-ds/core'


function MyPlayground(){
    return(
        <Box display="flex"  justifyContent="center" alignItems="center" flexDirection="row">
            <Button size="small" variant="contained">
                Clique aqui
            </Button>
        <Box>
    )
}


```

## Licença

© 2024 Luis Nunes - Todos os direitos liberados.

## Keywords

Jabuti DS
npm package: @jabworks/eslint-plugin
Description: Opinionated ESLint plugin and flat config for JS, TS, React, and Next.js
Author: Vi Minh Hiếu
Latest version: 2.0.0

# @jabworks/eslint-plugin

[![NPM Version](https://img.shields.io/npm/v/%40jabworks%2Feslint-plugin?style=flat-square&logo=npm)](https://www.npmjs.com/package/@jabworks/eslint-plugin)

A custom ESLint plugin and shareable config for JavaScript, TypeScript, React, and Next.js projects. This package provides a set of curated rules and configurations to help enforce code quality, consistency, and best practices across your codebase.

## Features

- **Comprehensive rule sets** for JavaScript, TypeScript, React, and Next.js
- **Opinionated import sorting** with `simple-import-sort`
- **Best practices** and stylistic rules
- **Prettier integration** for code formatting
- **Support for modern ECMAScript features**
- **Flat config support** (ESLint v9+)

## Installation

```bash
pnpm add -D @jabworks/eslint-plugin
# or
yarn add -D @jabworks/eslint-plugin
# or
npm install --save-dev @jabworks/eslint-plugin
```

## Usage

Add the plugin to your ESLint configuration. Example using the flat config format (recommended for ESLint v9+):

```js
// eslint.config.js or eslint.config.mjs
import { plugin as jabworksPlugin } from '@jabworks/eslint-plugin';

export default [
	...jabworksPlugin.configs.base,
	// or for React/Next.js/TypeScript/Vitest:
	// ...jabworksPlugin.configs.react,
	// ...jabworksPlugin.configs.next,
	// ...jabworksPlugin.configs.typescript,
	// ...jabworksPlugin.configs.vitest,
];
```

Legacy `.eslintrc` configs are not provided. Use flat config with ESLint v9+.

## Available Configs

- `base` – General JavaScript/TypeScript rules
- `comments` – Rules for ESLint directive comments
- `react` – React-specific rules
- `next` – Next.js-specific rules
- `typescript` – TypeScript-specific rules
- `vitest` – Vitest-specific rules

## Example: Import Sorting

This plugin enforces a consistent import order using `simple-import-sort`. Example:

```js
import React from 'react';
import express from 'express';
import lodash from 'lodash';
import myUtil from '@/utils/myUtil';
import helper from './helper';
import styles from './styles.css';
```

## Compatibility

- **ESLint**: >=9.39.2

## License

MIT
npm package: @jabworks/stylelint-config
Description: Opinionated Stylelint config for modern CSS
Author: Vi Minh Hiếu
Latest version: 1.0.2

# @jabworks/stylelint-config

Shared Stylelint configuration used across the monorepo.

- Purpose: provide a consistent, shareable set of Stylelint rules and plugins for CSS/SCSS used by the `@jabworks` packages and apps.

## Install

Use your package manager to install Stylelint and this config as a dev dependency:

```
pnpm add -D stylelint @jabworks/stylelint-config
# or
npm install -D stylelint @jabworks/stylelint-config
```

## Usage

Create a Stylelint config file at the project root and extend this package:

CommonJS (`.stylelintrc.cjs`):

```js
module.exports = {
  extends: ['@jabworks/stylelint-config'],
};
```

ESM (`stylelint.config.cjs` / `stylelint.config.mjs`):

```js
export default {
  extends: ['@jabworks/stylelint-config'],
};
```

## What it includes

- Opinionated base rules for modern CSS and PostCSS environments
- Integrations for common patterns used in the monorepo (e.g. Next.js apps)

## CSS Modules naming

This config enforces a camelCase naming convention for CSS Modules (files ending with `.module.css`). Class names must start with a lowercase letter and use only letters and digits thereafter. The enforced regex is:

```
^[a-z][a-zA-Z0-9]*$
```

Example: `myButtonActive`

## Contributing

If you want to modify rules, update `packages/stylelint-config/index.js` and add tests or examples in the consuming apps. Run the repository scripts from the root to verify changes.

## License

See the repository root for license and contribution guidelines.
npm package: @jabz/back-end-functions
Description: This is a collection of common data base function implemented use prisma. The expected scheme see ./prisma/schema.prisma in the project files
Author: Joshua Bednaz
Latest version: 3.0.3

# Back End Functions
This is a collection of common data base function implemented use prisma. The expected scheme see ./prisma/schema.prisma in the project files

common functions includes:
- saving and encrypted messaging token used for apis like firebase
- retrieving token in order of last created



Environment variables needed:

```
DATABASE_URL="" see prisma documentation
DB_VAR = "someExampleStringHere"
```
npm package: @jacany/paginationembed
Description: Easy array pagination in Discord.js v14
Author: Jack Chakany
Latest version: 2.0.0

# paginationembed

An Easy and Stylish way of doing Discord Embed Pagination

[![CI](https://github.com/jacany/paginationembed/actions/workflows/ci.yml/badge.svg)](https://github.com/jacany/paginationembed/actions/workflows/ci.yml)

---

## Usage

```js
const { EmbedBuilder } = require("discord.js");
const { MessagePagination } = require("@jacany/paginationembed");

const array = ["Element 1", "Element 2", "Element 3"];

const embed = new MessagePagination({
	embed: new EmbedBuilder(),
	itemsPerPage: 2,
	startPage: 1,
	title: "Values",
	timeout: 300000, // Milliseconds before expiry
	message: Message, // Pass your Message Object
	array,
	callbackfn: (value, index) => `**${index + 1}.** ${value}`,
});

embed.build();
```

### Output

![Screenshot_20210917_142849](https://user-images.githubusercontent.com/30955604/133836832-501a6380-683f-4731-91a4-04c57a8f68d9.png)

## Installing

With NPM:

```sh
npm install @jacany/paginationembed
```

or Yarn:

```sh
yarn add @jacany/paginationembed
```
npm package: @jacarma/nil
Description: Utility functions to easily handle nullable variables
Author: jacarma
Latest version: 1.0.2

# @jacarma/nil

> Utility functions to easily handle nullable variables

[![NPM](https://img.shields.io/npm/v/@jacarma/nil.svg)](https://www.npmjs.com/package/@jacarma/nil) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @jacarma/nil
```

## Usage

```tsx
nil(value) // true or false
noNil(value) // true or false
coalesce(value1, value2, value3, ...) // returns the first not null value
```

## License

MIT © [jacarma](https://github.com/jacarma)
npm package: @jaccomeijer/green-build
Description: MDX build setup for esbuild
Author: Jacco Meijer
Latest version: 2.1.0

# green-build

More capable version of the [render-jsx-plugin-poc](https://github.com/jaccomeijer/render-jsx-plugin-poc).

For more information, see this [blog post](https://www.jaccomeijer.nl/blog/render-jsx-plugin/).

## Related repositories

- [11ty and Github pages](https://www.jaccomeijer.nl/blog/11ty-and-github-pages/), Blog post that started all this
- [render-jsx-plugin-poc](https://github.com/jaccomeijer/render-jsx-plugin-poc), Proof Of Concept using Esbuild as a static site generator 
- [green-build](https://github.com/jaccomeijer/green-build), More capable version of the [render-jsx-plugin-poc](https://github.com/jaccomeijer/render-jsx-plugin-poc)
- [green-lib](https://github.com/jaccomeijer/green-lib), UI Library created with [green-build](https://github.com/jaccomeijer/green-build)
- [green-reference](https://github.com/jaccomeijer/green-reference), A reference implementation of the [green-lib](https://github.com/jaccomeijer/green-lib) Library
npm package: @jaccomeijer/green-lib
Description: MDX component library for green-build
Author: Jacco Meijer
Latest version: 4.2.3

# green-lib

- [Blog post about this library](https://www.jaccomeijer.nl/blog/ui-library/)
- [This library on NPM](https://www.npmjs.com/package/@jaccomeijer/green-lib)
- [A static documentation build](https://www.jaccomeijer.nl/green-lib/)
- [Source of the library at Github](https://github.com/jaccomeijer/green-lib)
npm package: @jacdac/jacdac-ts
Description: An implementation of the JACDAC protocol (jacdac.org) in typescript. It is dependency free (other than typescript).
Author: James Devine
Latest version: 0.0.11


# THIS MODULE IS DEPRACATED. DO NOT USE.

## License

[MIT](https://github.com/jacdac/jacdac-ts/blob/master/LICENSE)
npm package: @jace.dev/exceptjs
Description: It returns a new object with the keys that were passed to the function removed
Author: Jace Tech
Latest version: 2.0.0

# EXCEPT JS

A simple script that adds a function to objects to help with key filtering.

## Installation

```bash
# NPM
npm i @jace.dev/exceptjs 

# YARN
yarn add @jace.dev/exceptjs 

# PNMP
pnpm i @jace.dev/exceptjs

```

## Examples: 
     
```html
<!-- BASIC HTML  -->
<script src="https://raw.githubusercontent.com/Jace-Tech/except-js/main/except.js"></script>

<script>     
    const obj1 = { name: "foo",  age: 20, city: "bar" }

    console.log(obj1.except('name')) 
    // output: { age: 20, city: "bar" }

    console.log(obj1.except(['name'])) 
    // output: { age: 20, city: "bar" }

    console.log(obj1.except('name', 'age')) 
    // output: { city: 'bar' }

    console.log(obj1.except(['name', 'age'])) 
    // output: { city: 'bar' }


    const user = { name: "John Smith", age: 45, email: "john.smith@gmail.com", password: "password"}
    console.log(user.except('password'))
    // output: { name: "John Smith", age: 45, email: "john.smith@gmail.com" }
</script>

```
     
```js
// NODE JS  

    require("@jace.dev/exceptjs")

    const obj1 = { name: "foo",  age: 20, city: "bar" }

    console.log(obj1.except('name')) 
    // output: { age: 20, city: "bar" }

    console.log(obj1.except(['name'])) 
    // output: { age: 20, city: "bar" }

    console.log(obj1.except('name', 'age')) 
    // output: { city: 'bar' }

    console.log(obj1.except(['name', 'age'])) 
    // output: { city: 'bar' }


    const user = { name: "John Smith", age: 45, email: "john.smith@gmail.com", password: "password"}
    console.log(user.except('password'))
    // output: { name: "John Smith", age: 45, email: "john.smith@gmail.com" }
```
npm package: @jace.dev/speechy
Description: A simple script to help out with Text-to-speech in Javascript
Latest version: 1.0.0

# Speechy

A simple script to help out with Text-to-speech in Javascript

## Installation 

> NPM 
```bash
    npm i @jace.dev/speechy
```

> YARN 
```bash
    yarn add @jace.dev/speechy
```

> PNPM 

```bash
    pnpm install @jace.dev/speechy
```


## How to use 
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy();
speechy.say("Hello World");
```

OR
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy();
speechy.text("Hello World");
speechy.speak();
```

OR
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy("Hello world");
speechy.speak();
```

## Other Methods

- `speechy.text(text)`: Sets the text to be spoken
- `speechy.speak()`: Speaks the text
- `speechy.pause()`: Pauses the speech
- `speechy.resume()`: Resumes the speech
- `speechy.stop()`: Stops the speechxw
- `speechy.setRate(rate)`: Sets the speech rate [0 - 1] default: 1
- `speechy.setPitch(pitch)`: Sets the speech pitch [0 - 1] default: 1
- `speechy.setVolume(volume)`: Sets the speech volume [0 - 1] default: 1
- `speechy.setVoice(voice)`: Sets the speech voice 
- `speechy.getVoices()`: Returns an array of available voices
npm package: @jace.dev/wordy
Description: A script to extra methods to the `String` object
Author: Chidindu Emmanuel Aneke
Latest version: 1.2.0

# Wordy

A script to extra methods to the `String` object

## Installation

`YARN`
```sh
    yarn add @jace.dev/wordy
```

`NPM`
```sh
    npm i @jace.dev/wordy
```

`PNPM`
```sh
    pnpm i @jace.dev/wordy
```

## Usage
`Node JS`
```js
    require('@jace.dev/wordy');

    const str = 'Hello World';
    console.log(str.subWords(1)); // 'Hello'
```
`HTML`
```html
    <script src="https://raw.githubusercontent.com/Jace-Tech/Wordy/main/dist/wordy.js"></script>
    <script>
        const str = 'Hello World';
        console.log(str.subWords(1)); // 'Hello'
    </script>
```

## Features
It adds the following methods to the `String` object

- `.subWords(count: number)`: Returns the n number of words as specified in the `count` parameter and it has "..." appended to it.

### Example 
```js
const sentence = "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Fugit soluta ab exercitationem"
const shortWords = sentence.subWords(10)

console.log(shortWords)
// Lorem ipsum, dolor sit amet consectetur adipisicing elit. Fugit soluta...
```

- `.wordsInBetween(start: string, end: string)`: Returns the strings in between the `start` and `end` string parameters

### Example 
```js
const query = "SELECT email, salary, employee_id FROM employees"
const words = query.wordsInBetween("SELECT", "FROM")

console.log(words)
// email, salary, employee_id
```

- `.toCapitalize()`: Returns the strings in capitalized form

### Example 
```js
const query = "god of war"
const result = query.toCapitalize()

console.log(result)
// God Of War
```