open-index/open-npm huggingface dataset:
npm package: @mazaryk/wordcount
Description: Count word frequency in an input file
Author: Scott Eastman
Latest version: 1.0.2

# @mazaryk/wordcount

A simple cli word count tool

## Usage
```
$ wordcount ~/some/file.txt
```

## Options
```
$ wordcount --help
Usage: wordcount [options] <file>

Count word frequency in an input file

Arguments:
  file                  The file to parse

Options:
  -v, --version         output the version number
  -c, --case-sensitive  case-sensitive word compare (default: false)
  -h, --help            display help for command

```

## Installation

### 1) Use npm/yarn To Install Globally
Assuming you have nodejs installed, you can install the cli globally:

```
$ yarn global add @mazaryk/wordcount
```
```
$ npm i -g @mazaryk/wordcount
```

### 2) Build From Source
If you would like to build from source, you can clone the git repo, build, optionally run tests, and finally link the 'binary' in your PATH.
```
$ git clone https://github.com/Mazaryk/wordcount.git
...
$ cd wordcount
$ yarn install
...
$ yarn run build
...
$ yarn run test
...
$ yarn run link
```
After linking, the ```wordcount``` cli should be available in a new terminal.

If preferred, once the project has been built, you can skip the linking step and run the script directly with node:
```
$ node bin/index.js ./test/.mock_data/input.txt
```

### Removing/Unlinking
If you installed globally you can remove the cli:
```
$ yarn global remove @mazaryk/wordcount
```
```
$ npm uninstall -g @mazaryk/wordcount
```

If you built from source and linked, you can remove ```wordcount``` from your path by unlinking:
```
$ yarn run unlink
```

### Assumptions
- Words are counted in a case-insensitive manner by default. (use -c to make it case-sensitive)
- Output is sorted by count. Matching counts are sorted alphabetically.
npm package: @mazas/3dmt
Description: 3D model transformer
Author: Mazas
Latest version: 0.0.6

[![Version](https://img.shields.io/npm/v/@mazas/3dmt?style=flat&colorA=000000&colorB=000000)](https://www.npmjs.com/package/@mazas/3dmt)

# 3D Model Transformer

Reduces 3D model size to make them more web friendly.
Reduces mesh complexity, downscales images and converts
them to web friendly formats.

All done in-memory.

Based on [gltfjsx](https://github.com/pmndrs/gltfjsx)

## But why tho?

The goal is to reduce the 3D model sizes to improve loading times on the
web/ mobile. The intention is to allow reducing the model sizes before
serving them from the backend server. Difference from gltfjsx is that this
module does the transformation in memory instead of using file system, making
it faster. Long term goal is to reduce the dependency on node native packages
which would allow this to be useful on edge compute runtimes such as Fastly.

## Installing

You can install the package form npm with:

```
npm i @mazas/3dmt
```

## Usage

```js
import { transform } from '@mazas/3dmt';

const data = await transform('https://example.com/model.glb', {
  format: 'webp',
});
```

## Contributing

Just clone the repo, make a branch and start messing around. Create a PR if
you want your changes merged.
npm package: @maze.st/cycler
Description: Allow you to cycle thru all items in the given array.
Author: MAZE Studio
Latest version: 2.0.0

# CYCLER

## About
Allow you to cycle thru all items in the given array.

## Install
To install `cycler`, simply run the following command:
```bash
$ npm i @maze.st/cycler
```

## Usage
```js
const Cycler = require('@maze.st/cycler');

var items = new Cycler(['foo', 'bar', 'unicorn']);

items.count();
items.curr();
items.prev();
items.next();
```
npm package: @maze2026/postgres-runner
Description: Postgres-backed agent runner for CopilotKit2
Author: maze2026
Latest version: 0.0.5

# @hauson/postgres-runner

Postgres-backed `AgentRunner` implementation for CopilotKit2. This package mirrors the behavior of `@copilotkitnext/sqlite-runner`, but persists run history in Postgres.

## Install

`pg` is a runtime dependency (declared as an optional peer dependency).

```sh
npm install @hauson/postgres-runner pg
```

## Usage

```ts
import { PostgresAgentRunner } from "@hauson/postgres-runner";

const runner = new PostgresAgentRunner({
  connectionString: process.env.DATABASE_URL,
});
```

You may also pass an existing `pg.Pool` via `{ pool }` to reuse connections.

## Local testing (Docker)

From `packages/postgres-runner`:

```sh
docker compose up -d
```

Default connection string used by tests:

```txt
postgres://postgres:postgres@localhost:54329/copilotkit_postgres_runner_test
```

Override with:

```sh
export POSTGRES_RUNNER_DATABASE_URL="postgres://user:pass@host:port/db"
```

Then run:

```sh
pnpm test
```
npm package: @mazecx/semantic-ui-react-formik
Description: >
Author: wladiston
Latest version: 0.0.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# semantic-ui-react-formik

>

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

Formik components using Semantic UI as presentation UI

## Install

```bash
npm install --save semantic-ui-react-formik
# or
yarn add semantic-ui-react-formik
```

## Usage

This package expose the Form components of the `semantic-ui-react` package wrapped with the Formik components.

### List of components:

| Component     | Description                                 | Reference                                       |
|---------------|---------------------------------------------|-------------------------------------------------|
| Form          | Sugar for <Formik />                        | https://jaredpalmer.com/formik/docs/api/formik  |
| Form.Button   | Sugar for <Form.Field control={Button} />   | https://react.semantic-ui.com/elements/button/  |
| Form.Checkbox | Sugar for <Form.Field control={Checkbox} /> | https://react.semantic-ui.com/modules/checkbox/ |
| Form.Dropdown | Sugar for <Form.Field control={Dropdown} /> | https://react.semantic-ui.com/modules/dropdown/ |
| Form.Group    | A set of fields can appear grouped together | https://react.semantic-ui.com/collections/form/ |
| Form.Input    | Sugar for <Form.Field control={Input} />    | https://react.semantic-ui.com/collections/form/ |
| Form.Radio    | Sugar for <Form.Field control={Radio} />    | https://react.semantic-ui.com/collections/form/ |
| Form.Select   | Sugar for <Form.Field control={Select} />   | https://react.semantic-ui.com/collections/form/ |
| Form.TextArea | Sugar for <Form.Field control={TextArea} /> | https://react.semantic-ui.com/collections/form/ |

## Example

```jsx
import React, {Component} from 'react'
import Form from 'semantic-ui-react-formik'
// or
// import Form, {Checkbox, Input, Radio ...} from 'semantic-ui-react-formik'

class Example extends Component {
  render() {
    return (
      <Form initialValues={{}} onSubmit={() => {}}>
        {({isSubmitting}) => (
          <>
            <Form.Input
              label="Email"
              name="email"
              type="email"
              placeholder="someemail@email.com"
            />

            <Form.Group widths="equal">
              <Form.Checkbox
                label="I like apples"
                name="preference"
                value="apple"
              />
              <Form.Checkbox
                label="and also bananas."
                name="preference"
                value="banana"
              />

              <Form.Button loading={isSubmitting} type="submit">
                Submit
              </Form.Button>
            </Form.Group>
          </>
        )}
      </Form>
    )
  }
}
```

## License

MIT © [wladiston](https://github.com/wladiston)
npm package: @mazejs/mazejs
Description: A wrapper of vue components and tailwindcss
Author: mariobrino@gmail.com
Latest version: 1.0.0

# Mazejs

A wrapper of vuejs components using tailwind css.

How to install.
```bash
npm i @mazejs/mazejs
```

## Components

* control
* datagrid
* field
* header
* pagination

## Example
[Laravel](https://github.com/mazejs/example)

## Wiki

[Datagrid](https://github.com/mazejs/mazejs/wiki/Datagrid)
npm package: @mazelon/teleswap-v3-sdk
Description: ⚒️ An SDK for building applications on top of Teleswap V3
Latest version: 1.0.0

# Alpha software

The latest version of the SDK is used in production in the teleswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# teleswap V3 SDK

[![Unit Tests](https://github.com/teleswap/teleswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/teleswap/teleswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/teleswap/teleswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/teleswap/teleswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@teleswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@teleswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@teleswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@teleswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [teleswap.org](https://docs.teleswap.org/).
npm package: @mazeltov/cli
Description: Mazeltov CLI and code generator
Author: Jeff Straney
Latest version: 2.0.0

# Mazeltov

Mazeltov is a MVC based framework built in Nodejs, Postgresql and Redis. To make a new project run:

`npx @mazeltov/cli project create app`

To setup a cloned copy of a project (setting up certs and .env) run this inside your project directory:

`npx @mazeltov/cli project setup`
npm package: @mazeltov/logger
Description: Wrapper for winston supporting multiple transports and file rotation
Author: Jeff Straney
Latest version: 1.0.2

# General Logger

console.log is okay for playing around, but a serious logger provides:

* Log levels (error, warn, info, debug)
* Multiple transports (stdout, file)
* File rotation
* Clear indications where the logger printed

So this is a lot to set up per project which is why a re-usable catch all was made

## Basic Usage

```

// load .env file. See Configuration
require('dotenv').config();

const loggerLib = require('@mazeltov/logger');

// then multiple loggers can be produced for each file
const logger = loggerLib('distinct log identifier');

// then elsewhere in another file
const logger2 = loggerLib('different identifier');
```

## Configuring

This logger depends on your project using `dotenv`.

In .env file (these are default values)

```sh
LOG_LEVEL=info

# comma separated list. stdout, file
LOG_TRANSPORTS=stdout

# will only log to file if file is included as transport
LOG_DIR='./log'

# See Tabbing
LOG_TAB_CHAR='..'
LOG_MAX_TAB=4

# Default is pipe delimited but JSON format can be used
LOG_FORMAT=json
```

## Tabbing

Something unique about this wrapper is that you can 'tab' and 'untab' your log output.

That way you don't have to prepend everything with `\\t`. Just be sure to untab with `shiftTab`

```js
logger.info('Diving into the code:');
logger.tab();
logger.info('This code is indented');
logger.info('So is this code');
// do not forget this!
logger.shiftTab();
```

## Roadmap

#### TODO

* Logger may need some performance tweaks
* Logger does not have remote transports (like logging to syslogd or a service)
npm package: @mazeltov/project
Description: <img   src='public/image/logos/logo.png'   style='width:200px;display:block;margin:0 auto;' />
Author: Jeff Straney
Latest version: 2.0.3

# Congratulations! (Mazel tov)

<img
  src='public/image/logos/logo.png'
  style='width:200px;display:block;margin:0 auto;'
/>

Mazeltov is a MVC framework built on Nodejs, PostreSQL and Redis.

## Tutorial

Read more on the [github pages](https://jstraney.github.io/mazeltov-project)
npm package: @mazeltov/service
Description: A service repository for Mazeltov
Author: Jeff Straney
Latest version: 1.0.3

# Services (DRAFT)

In the context of this repo, we are refering to the service layer that is often introduced into MVC patterns. Here is an example:

We all know that in MVC:

* The Controller is responsible to passing requested data to model
* Model operates business logic on entities
* Views represent the results/errors of the model or Controller

So where do things like sending an email fall in here?

What about caching results with a remote DB?

Usually the response is to put this logic into the Controller but it can create bloated and unmanageable code, so the best approach is to isolate into a Service and inject this into the Controller.

Another thing to consider is what happens if you tie all your caching/email to a third party API? What if this code is sprinkled everywhere in every controller. Injecting these things into the service and providing a unified API will allow easy changing of third party tools in the future.

## This is Presently in Draft

Right now things are plenty isolated but could use reconsideration. For example:

* An email service
  * Could allow either an http api client or smtp client to be injected as driver
* A separate SMS service
  * If we think sendInBlue sucks for SMS we can inject other provider into this service
* A cache service
* Logging?

For each of the above we could use the abstract factory pattern to switch implementations

Each variety of service would share a common interface but could then branch on how it does its thing.

## Why is this not pressing

This may become more important when:

* Various applicaitons use different drivers for sending emails, caching, sms
npm package: @mazeltov/style
Description: Base style for Mazeltov framework
Author: Jeff Straney
Latest version: 1.0.2

# Base Styles

Base styles are the most global, top level styles, helpers and variables

# Development

You must install lessc globally, then install local packages for this repo

```sh
npm i -g less
npm i
```

Compiled less will go out to STYLE\_DIST\_PATH (/usr/local/src/com/percival/lib/style/dist by default)

If the development services are running from @percival/img.dev, the CSS should be symlinked into the nginx static asset server

```sh
npm run watch
```

```sh
npm run build
```

# Gotchas

Fontawesome fonts need to be hosted on an available static server.

* Should be `webfonts` relative to where main.css is compiled to

Google fonts should be loaded in the `<head>` tag of the document like so

```html
<link rel='preconnect' href='https://fonts.gstatic.com'>
<link rel='stylesheet' href='https://fonts.googleapis.com/...'>
```

The reason is that loading fonts from CSS can be slow and browser can optimize this.

TODO: remove font URLs for font-awesome fonts from CSS and provide instructions on adding to html head. Do this without breaking fontawesome styles.

# Deployment

To deploy to production, simply commit your changes under the STYLE\_DIST\_PATH repo and pull into the qa/production asset server
npm package: @mazemasterjs/logger
Description: Logging module created for MazeMasterJS
Author: James Dean
Latest version: 1.0.10

# logger

Node.js logging module created for MazeMasterJS

## Change Log

### v1.0.10

-   Added check for validity of fs and fs.readFileSync to get PackageInfo() to avoid issue in web-ui / webpack (cannot access files via browser)

### v1.0.9

-   Added check for validity of fs and fs.readFileSync to get PackageInfo() to avoid issue in web-ui / webpack (cannot access files via browser)
npm package: @mazenderbas/l2
Description: The Expense Tracker Module is a tool to help users manage their expenses, budgets.
Author: Mazen Derbas
Latest version: 1.0.6

# Expense Tracker Module

The Expense Tracker Module is a tool to help users manage their expenses, budgets.

## Description
Managing expenses is a hard task for many people. The Expense Tracker Module simplifies this process by offering a set of classes that allow you to add individual expens and manage and organize them. And keep tracking the your budget


## Features
- **Expense Management**: Easily add and store individual expenses with its information
- **Category Organization**: Create and manage expense categories to classify and group expenses according to your needs.
- **Budget Tracking**: Set budgets for different spending categories, helping you stay within financial limits.
- **Visualization**: Use the built-in charting feature to visualize your expenses and budget on a canvas.



## Code Example

```javascript

//Add expense and budget
const tracker = new ExpenseTracker ();
tracker.addExpense("Lunch",   25 , "2023-09-10", "Food" );
tracker.addExpense("train",   30 , "2023-09-11", "Transport");

tracker.addBudget("Food", "500")

console.log(tracker.getRemainingBudget('Food'))
console.log(tracker.getBudgetReport())
console.log(tracker.getExpenseReport())
```

```javascript
//Add a bar chart
const containerId = 'barChart';
const expensesInAugust = tracker.getExpensesByDateInterval('2023-09-10', '2023-09-11');

const dateChartData = expensesInAugust.map(expense => ({
    label: expense.getName(),
    value: expense.getAmount()
}));

// Draw the chart
const dateChart = new Chart(containerId, dateChartData);
dateChart.drawBarChart();
```

## Installation

3. Install the required dependencies using ```npm i @mazenderbas/l2```

## Bug Reports/Issues
For bug reports or any other issues, please open an issue on ```https://github.com/MazenDerbas/L2/issues```
## Test

Run the built in unit tests with:
```bash
npm test
```
## Version 
1.0.6

## License 
[MIT](./LICENSE)

## Contributing
You are welcome to contribuet to improve the module. you can start by opening an issue with your ideas.
npm package: @mazenfinance/router-sdk
Description: An sdk for routing swaps using Uniswap v2 and Uniswap v3.
Latest version: 0.10.2

# @uniswap/router-sdk - Now at `Uniswap/sdks`

All versions after 1.9.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/router-sdk)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
# mazen-router-sdk
npm package: @mazenfinance/sdk-core
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 0.3.0

# Uniswap SDK Core

[![Unit Tests](https://github.com/Uniswap/uniswap-sdk-core/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-sdk-core/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-sdk-core/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk-core/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk-core/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk-core/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk-core@latest)

This code is shared across Uniswap TypeScript SDKs.
# sdk-core
# mazen-sdk-core
npm package: @mazenfinance/v2-sdk
Description: 🛠 An SDK for building applications on top of Uniswap V2
Latest version: 0.4.0

# @uniswap/v2-sdk - Now at `Uniswap/sdks`

All versions after 4.3.0 of this SDK can be found in the [SDK monorepo](https://github.com/Uniswap/sdks/tree/main/sdks/v2-sdk)! Please file all future issues, PR’s, and discussions there.

### Old Issues and PR’s

If you have an issue or open PR that is still active on this SDK in this repository, please recreate it in the new repository. Some existing issues and PR’s may be automatically migrated by the Uniswap Labs team.
# v2-sdk
# mazen-v2-sdk
npm package: @mazenfinance/v3-sdk
Description: ⚒️ An SDK for building applications on top of Uniswap V3
Latest version: 0.12.3

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap V3 SDK

[![Unit Tests](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Unit%20Tests/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Uniswap/uniswap-v3-sdk/workflows/Lint/badge.svg)](https://github.com/Uniswap/uniswap-v3-sdk/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@uniswap/v3-sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/v3-sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/v3-sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/v3-sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://docs.uniswap.org/).
# v3-sdk
# mazen-v3-sdk