open-index/open-npm huggingface dataset:
npm package: @olabs/obyte
Description: A pure and powerful JavaScript Obyte library
Latest version: 0.1.15

[![npm](https://img.shields.io/npm/v/obyte.svg)](https://www.npmjs.com/package/obyte)
![npm](https://img.shields.io/npm/dm/obyte.svg)
![CircleCI](https://img.shields.io/circleci/project/github/bonustrack/obyte.js.svg)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/bonustrack/obyte.js/master/LICENSE)

# Obyte.js

A pure and powerful JavaScript Obyte library.

**[Documentation](https://obytejs.com)**

## Getting started

To install and run Obyte.js, follow this quick start guide

### Install

Obyte.js was designed to work both in the browser and in Node.js.

#### Node.js
To install Obyte.js on Node.js, open your terminal and run:
```
npm i obyte --save
```

#### Browser

You can create an index.html file and include Obyte.js with:

```html
<script src="https://cdn.jsdelivr.net/npm/obyte"></script>
```

### Usage

Ways to initiate WebSocket client:

```js
const obyte = require('obyte');

// Connect to mainnet official node 'wss://obyte.org/bb'
const client = new obyte.Client();

// Connect to a custom node
const client = new obyte.Client('wss://obyte.org/bb');

// Connect to testnet
const options = { testnet: true };
const client = new obyte.Client('wss://obyte.org/bb-test', options);
```

Close the client:
```js
client.close();
```

All API methods follow this pattern:
```js
// If the last argument is a function it is treated as a callback
client.api.getJoint('oj8yEksX9Ubq7lLc+p6F2uyHUuynugeVq4+ikT67X6E=', function(err, result) {
  console.log(err, result);
});

// If a callback is not provided, a Promise is returned
client.api.getJoint('oj8yEksX9Ubq7lLc+p6F2uyHUuynugeVq4+ikT67X6E=').then(function(result) {
  console.log(result);
});
```

### Transaction

To compose and post unit you need first to create a Obyte wallet and fund it with the native currency ‘bytes’. The generated WIF will be used on Obyte.js. Click on the link below to learn more:

[Generate a random address](https://obytejs.com/utils/generate-wallet)

Sending a payment:
```js
const wif = '5JBFvTeSY5...'; // WIF string generated (private key)

const params = {
  outputs: [
    {
      address: 'NX2BTV43XN6BOTCYZUUFU6TK7DVOC4LU', // The Obyte address of the recipient 
      amount: 1000 // The amount he receives
    }
  ]
};

client.post.payment(params, wif, function(err, result) {
  console.log(result); // The unit hash is returned
});
```

## License

[MIT](LICENSE).
npm package: @oladejibidmus/design-system
Description: A reusable design system with UI components
Author: Alim Bidmus
Latest version: 1.0.2

# Design System

A reusable design system built with React, TypeScript, Tailwind CSS, and Radix UI.

## Installation

```bash
npm install @your-username/design-system
# or
yarn add @your-username/design-system
# or
pnpm add @your-username/design-system
```

## Peer Dependencies

Make sure you have the following installed in your project:

```bash
npm install react react-dom
```

## Setup

### 1. Configure Tailwind CSS

Add the design system path to your `tailwind.config.js`:

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    './app/**/*.{js,ts,jsx,tsx,mdx}',
    './components/**/*.{js,ts,jsx,tsx,mdx}',
    // Add this line
    './node_modules/@your-username/design-system/dist/**/*.{js,mjs}',
  ],
  theme: {
    extend: {},
  },
  plugins: [require('tailwindcss-animate')],
}
```

### 2. Import Components

```tsx
import { Button, Card, Input } from '@your-username/design-system';

function App() {
  return (
    <Card>
      <Input placeholder="Enter text..." />
      <Button>Click me</Button>
    </Card>
  );
}
```

## Available Components

### UI Components

- Accordion
- Alert Dialog
- Alert
- Aspect Ratio
- Avatar
- Badge
- Button
- Calendar
- Card
- Carousel
- Checkbox
- Command
- Context Menu
- Dialog
- Drawer
- Dropdown Menu
- Form
- Hover Card
- Input
- Label
- Menubar
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Skeleton
- Slider
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle
- Tooltip

### Design System Components

- Header
- Section Header
- Sidebar Navigation
- Token Pill

### Utilities

- `cn` - Class name utility function
- Theme providers
- Theme switcher

## License

MIT
npm package: @olaf-wilkosz/unique-id-generator
Description: **Unique ID Generator** is simple node package with the module that generates a unique alphanumeric string of the characters (random id) from the provided set of letters and numbers (A-Z, a-z, 0-9) with the desired length passed as the parameter, and prin
Latest version: 1.0.4

# Unique ID Generator &middot; ![Version](https://img.shields.io/github/package-json/v/olaf-wilkosz/unique-id-generator?style=for-the-badge) ![License: MIT](https://img.shields.io/github/license/olaf-wilkosz/unique-id-generator?style=for-the-badge)

## Description

**Unique ID Generator** is simple node package with the module that generates a unique alphanumeric string of the characters (random id) from the provided set of letters and numbers (A-Z, a-z, 0-9) with the desired length passed as the parameter, and prints it in console.

## Prerequisites

To run this package in your environment you will only need Node.js and npm/yarn installed.

## Instalation

`npm install @olaf-wilkosz/unique-id-generator`
or
`yarn add @olaf-wilkosz/unique-id-generator`

## Usage

``` js
const randomID = require('@olaf-wilkosz/unique-id-generator');

console.log(randomID(10)); // provide desired length, e.g. 10
```

## Features

* the package needs only one parameter - desired length of the final ID (length must be an integer number)
* running the tool results in the generating of the random and unique identifier of the desired length combined from the provided set of the upper and lower-case letters and numbers
* the result is printed in the console
npm package: @olafalo/parcel-plugin-workbox
Description: Parcel plugin to generate a workbox service worker
Author: olafal0
Latest version: 1.4.2

# Parcel Plugin Workbox 3

[![issues](https://img.shields.io/github/issues/olafal0/parcel-plugin-workbox)](https://github.com/olafal0/core/issues)
[![last commit](https://img.shields.io/github/last-commit/olafal0/parcel-plugin-workbox)](https://github.com/olafal0/core/commits/master)

Fork of [parcel-plugin-workbox](https://github.com/dahnielson/parcel-plugin-workbox) by Anders Dahnielson, with refactor from [Cloud-CNC's fork](https://github.com/Cloud-CNC/parcel-plugin-workbox)

## Install

```bash
npm i parcel-plugin-workbox -D
```

## Usage

When you build with Parcel, this plugin will automatically run `generateSWString`. You can customize the settings by adding a `workbox` section to your `package.json`. The full configuration options can be found [here](https://developers.google.com/web/tools/workbox/modules/workbox-build#generateswstring_mode).

This plugin will also automatically inject code for registering the service worker into `index.html` (currently hardcoded). For a working service worker that provides basic caching of Parcel dist files, you need only install this plugin—everything else will be automatic. Even `workbox` options in `package.json` are not necessary if the defaults work for you.

## Example

_`package.json`_

```JavaScript
{
  "workbox": {
    "importScripts": [
      "./worker.js"
    ],
  }
}
```

---

**_Note: importing `package.json` is generally considered insecure_**

## FAQ

- Whats different between this and the original?
  - Still maintained
  - Fixed uglify JS
    - [Fixes parcel-plugin-workbox #19](https://github.com/dahnielson/parcel-plugin-workbox/issues/19)
  - Improved configuration support
    - Pass any configuration option you would normally pass to `generateSWString`
  - Local workbox copy
  - Reduced logging
  - Automatic injection of registration code
  - Removed the read-pkg-up/read-pkg/find-up/parse-json etc dependency chain that was responsible for 38 of the 94 dependencies despite being wholly replaceable by the single line of code `JSON.parse(fs.readFileSync(path.resolve(process.cwd(), 'package.json'), 'utf-8'))`
npm package: @olafont/tinylafont
Description: This is a test only. Removes all spaces from a string
Latest version: 4.0.2

#this is a test package
built from this recipe: https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/

% npm login

% npm publish --access=public
% npm version 1.0.3
% npm publish
npm package: @olafr/modulejs
Description: Boite à outils JS
Author: Olafr
Latest version: 1.2.5

# modulejs

Boîte à outils JS pour le développement web

## Installation & Utilisation

Lancez la commande suivante dans votre projet.

```bash
npm i @olafr/modulejs
```

Une fois installé, ajouter cette ligne à vos script avec les outils que vous voulez utiliser.

```js
import { cookie } from "@olafr/modulejs";
```

Si vous voulez l'utiliser sur un navigateur, vous pouvez exporter le script vers le dossier de votre choix

```bash
npm run export path/
```

## About

### Contribution

Make pull requests to help the project :D

### Author

**_Olafr9500_**

- [github/Olafr9500](https://github.com/Olafr9500)

### License

Copyright © 2021, [Olafr9500](https://github.com/Olafr9500).
Released under the [MIT License](LICENSE).
npm package: @olafsh/olaf-sdk-js
Description: OLAF SDK for JavaScript
Latest version: 1.1.0

# OLAF SDK for JS

## Overview

OLAF SDK for JS facilitates seamless integration of [OLAF.sh](https://olaf.sh/) into your apps,
offering features such as:

- 🗃️ secure credential storage,
- 🔐 effortless login and
  logout processes,
- 👤 and convenient access to user information, styles and permissions.

## Installation

```bash
// via npm
npm install @olafsh/olaf-sdk-js

// via yarn
yarn add @olafsh/olaf-sdk-js
```

## Initialize SDK

SDK can be imported either via CommonJS or ES Modules methods.

### CommonJS syntax

```js
const OLAFSDK = require('@olafsh/olaf-sdk-js');

const sdk = new OLAFSDK();
```

### ES Modules syntax

```js
import OLAFSDK from "@olafsh/olaf-sdk-js";

const sdk = new OLAFSDK();
```

> [!WARNING]  
> The SDK requires a browser to perform the authentication process,
> hence it **CAN NOT** be used in a NodeJS environment.

Check [examples/](https://github.com/olafsh/olaf-sdk-js/tree/main/examples) directory for more usages.

## Usage

```js
// OPTIONAL: If you are using localhost then set app's host
sdk.setAppHost('sample.apps.olaf.sh');

// OPTIONAL: Set language for sign in on olaf.sh platform
sdk.setLanguage('en');
  
// Fetch configuration for your app from olaf.sh platform
await sdk.fetchConfig();

// Perform a login with redirect
await sdk.loginWithRedirect();

// OPTIONAL: Build authorize url for manual redirect
const authorizeUrl = await sdk.buildAuthorizeUrl();

// Handle login callback from olaf.sh platform
// HINT: It's usually the best to done this on a different route
await sdk.handleRedirectCallback();

// Check current authentication status
const isAuthenticated = await sdk.isAuthenticated;

// Get access token
const accessToken = sdk.accessToken;

// OPTIONAL: Get user details
const user = await sdk.me();

// Perform a logout
await sdk.logout();
```

## Development

All source code is located in `/src`.
The source code is compiled via `npm run build` command to `/lib` directory.

```bash
# Clone project
git clone git@github.com:olafsh/olaf-sdk-js.git

# Compile changes
npm run build
    
# Run test
npm run test
```
npm package: @olafurpg/lsif-tsc
Description: A tool to create an LSIF dump for TypeScript projects.
Latest version: 0.6.9-SNAPSHOT

# TypeScript LSIF indexer ![](https://img.shields.io/badge/status-beta-orange?style=flat)

Visit https://lsif.dev/ to learn about LSIF.

## Installation

```
npm install -g @sourcegraph/lsif-tsc
```

## Indexing your repository

After installing `lsif-tsc` onto your PATH, you can invoke it with all of the arguments that are available to `tsc`.

Index a TypeScript project by running the following command in the directory with your `tsconfig.json`.

```
$ lsif-tsc -p .
..............
46 file(s), 2787 symbol(s)
Processed in 3.236s
```

Index a Javascript project by running the following command.

```
$ lsif-tsc **/*.js --AllowJs --checkJs
................................
295 file(s), 65535 symbol(s)
Processed in 51.732s
```

The previous command relies on shell expansion to pass a list of filenames to the underlying TypeScript compiler. There is a limit on the number of files that can be passed as a command line argument, so it may be necessary to first dump the project filenames into a temporary file, and load that, as follows:

```
ls -1 **/*.js > inputs.txt
lsif-tsc @inputs.txt --AllowJs --checkJs
```

Use `lsif-tsc --help` for more information.

# Legal Notices

This project began as a bugfix fork of [microsoft/lsif-node](https://github.com/microsoft/lsif-node) and therefore was originally authored by Microsoft. This code was originally and continues to be released under the [MIT License](./LICENSE).
npm package: @olaii/ng-infinite-scroll
Description: Infinite scrolling for AngularJS
Author: Michelle Tilley
Latest version: 1.3.1

# ng-infinite-scroll

[**Alternative project**: Angular Material's md-virtual-repeat](https://material.angularjs.org/latest/api/directive/mdVirtualRepeat)

[**Maintainer help needed**: I'm looking for fellows that are willing to help me maintain and improve this project.](https://github.com/sroze/ngInfiniteScroll/issues/267)

---

ngInfiniteScroll is a directive for [AngularJS](http://angularjs.org/) to evaluate an expression when the bottom of the directive's element approaches the bottom of the browser window, which can be used to implement infinite scrolling.

## Demos

Check out the running demos [at the ngInfiniteScroll web site](http://sroze.github.com/ngInfiniteScroll/demos.html).

## Version Numbers

ngInfinite Scroll follows [semantic versioning](http://semver.org/).

## Getting Started

- Install it with:
  - [npm](https://www.npmjs.com) via `npm install --save ng-infinite-scroll`
- Import ng-infinite-scroll and angular.

  ```js
  import angular from "angular";
  import ngInfiniteScroll from "ng-infinite-scroll";
  ```

- Ensure that your application module specifies ngInfiniteScroll as a dependency:

  ```js
  const MODULE_NAME = "myApplication";
  angular.module(MODULE_NAME, [ngInfiniteScroll]);
  export default MODULE_NAME;
  ```

- Use the directive by specifying an `infinite-scroll` attribute on an element.

  ```html
  <div
    infinite-scroll="$ctrl.myPagingFunction()"
    infinite-scroll-distance="3"
  ></div>
  ```

Note that the directive does not use the `ng` prefix, as that prefix is reserved for the core Angular module.

## Detailed Documentation

ngInfiniteScroll accepts several attributes to customize the behavior of the directive; detailed instructions can be found [on the ngInfiniteScroll web site](http://sroze.github.com/ngInfiniteScroll/documentation.html).

## Ports

If you use [AngularDart](https://github.com/angular/angular.dart), Juha Komulainen has [a port of the project](http://pub.dartlang.org/packages/ng_infinite_scroll) you can use.

## License

ngInfiniteScroll is licensed under the MIT license. See the LICENSE file for more details.

## Testing

ngInfiniteScroll uses Protractor for testing.
Note that you will need to have Chrome browser.

```bash
npm install
npm run test
```

Thank you very much @pomerantsev for your work on these Protractor tests.

## Bower

While a Bower repo has been created for legacy use, it is still recommened to
use npm and a module bundler (webpack, rollup, SystemJS) to use
`ng-infinite-scroll`.

To install using bower:

```bash
bower install ngInfiniteScroll
```
npm package: @olaisaac/sorting-hat
Description: Sorting Hat SDK
Author: [Plataforma] Shared Services
Latest version: 1.0.10

# SDK

> SDK JS para microserviços consumirem o Sorting-Hat

## Sumário
- [SDK](#sdk)
- [Instalação](#instalação)
- [Exemplo](#exemplo)
- [Conclusão](conslusão)


## SDK

O projeto sdk foi desenvolvido com o intuito de fornecer uma interface amigável para que qualquer outra aplicação GO possa consumir os serviços do Sorting-Hat sem maiores dificuldades.

**Observação**

Vale ressaltar que o SDK foi desenvolvido com o intuito de disponibilizar apenas o consumo de informações/configurações, sem a possibilidade de atualização e/ou remoção das mesmas.

## Instalação

- Adicione a dependencia no projeto

```json
"dependecies":  {
  "sorting-hat": "git+ssh://git@github.com/OlaIsaac/sorting-hat.git"
}
```

- Rode o comando de instalação

```sh
npm install
```
>ou

```sh
yarn install
```

## Exemplo

Os exemplos de implementação do SDK podem ser vistos [AQUI](example/main.js).

## Conclusão

Utilize o SDK de maneira responsável, evitando um número absurdo de chamadas em sequência a fim de não prejudicar a performance do Sorting-Hat e serviços associados.
npm package: @olajs/transform-imports-loader
Description: A webpack plugin for transform imports just like babel-plugin-transform-imports does but without babel
Author: richardchen85
Latest version: 0.0.8

# transform-imports-loader

A webpack plugin for transform imports just like `babel-plugin-transform-imports` does, but without babel.

So, you can use it with `esbuild` or `babel`.

## install

`npm i @jd/transform-imports-loader`

## usage

webpack.config.js

```javascript
module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /\.(jsx?|tsx?)$/,
        use: [
          {
            loader: '@jd/transform-imports-loader',
            options: {
              autoCSSModules: false,
              transformImports: {
                antd$: {
                  transform: (importName) => `antd/es/${importName}`,
                  preventFullImport: true,
                },
              },
            },
          },
          {
            loader: 'esbuild-loader',
            options: {
              loader: 'tsx',
              target: 'es2015',
            },
          },
        ],
      },
    ],
  },
};
```
npm package: @olamide203/math-expression
Description: A simple math expression parser and evaluator
Author: Olamide Atitebi
Latest version: 0.1.1

# math-expression
[![Version](https://img.shields.io/npm/v/@olamide203/math-expression.svg)](https://www.npmjs.com/package/@olamide203/math-expression) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/olamide203/math-expression/blob/main/LICENSE) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/olamide203/math-expression?)](https://github.com/olamide203/math-expression/releases) [![Build Status](https://github.com/olamide203/math-expression/workflows/CI/badge.svg)](https://github.com/olamide203/math-expression/actions)


<!-- description -->
math-expression is a simple math expression parser and evaluator for JavaScript and TypeScript. it uses [decimal.js](https://mikemcl.github.io/decimal.js/) to ensure precision of floating point calculations.

## Features
- supports implicit multiplication and parenthesis grouping
- Binary and unary operators are supported
- supports mathematical functions
- Precision and rounding mode can be configured
## Installation

MathExpression can be used in both node.js and in the browser.

Install via [npm](https://www.npmjs.com/package/@olamide203/math-expression):

```bash
npm install @olamide203/math-expression
```
## Usage

```js
import MathExpression from '@olamide203/math-expression';

new MathExpression('0.1 + 0.2').evaluate(); // 0.3
new MathExpression('2 * 6 / 3').evaluate(); // 4

// using unary prefix operators
new MathExpression('- 1 + 2').evaluate(); // 1
new MathExpression('+ 1 - - 2').evaluate(); // 3

// implicit multiplication
new MathExpression('2(6 / 3)').evaluate(); // 4

//Trig Functions
new MathExpression('sin(π)').evaluate(); // 0
new MathExpression('cos(pi / 2)').evaluate(); // -0.5

// Even more complex expressions
new MathExpression('2(4(6 / 3 + 2) + 2^3 / - 2(2.5!))').evaluate(); //5.413192236417259652
```