open-index/open-npm huggingface dataset:
npm package: @nextsmartchain/nextjs
Description: Javascript developer library for interacting with NEXT Smart Chain
Author: NEXT Developers
Latest version: 1.0.1

# NEXT Smart Chain SDK

[![GitHub version](https://badge.fury.io/gh/maticnetwork%2Fmatic.js.svg)](https://badge.fury.io/gh/maticnetwork%2Fmatic.js)
![Build Status](https://github.com/maticnetwork/matic.js/workflows/CI/badge.svg?branch=master)
[![npm version](https://badge.fury.io/js/%40maticnetwork%2Fmaticjs.svg)](https://badge.fury.io/js/%40maticnetwork%2Fmaticjs)
![GitHub](https://img.shields.io/github/license/maticnetwork/matic.js)

This repository contains the `nextjs` client library and will help developers to move assets from Ethereum chain to NEXT Smart Chain, and withdraw from NEXT Smart Chain to Ethereum using fraud proofs.

## Docs

https://maticnetwork.github.io/matic.js

## Support

Our [Discord](https://discord.gg/s2NPJNUvyc) is the best way to reach us ✨.

## Contributors

You are very welcome to contribute, please see contributing guidelines - [[Contribute](CONTRIBUTING.MD)].

Thank you to all the people who already contributed to matic.js!

<a href="https://github.com/maticnetwork/matic.js/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=maticnetwork/matic.js" />
</a>

Made with [contributors-img](https://contrib.rocks).

## Development

**Setup**

```bash
npm ci
```

**How to debug**

Write your code inside file `test/debug.js` and run below code

```bash
npm run debug
```

Above command will build the source code & install the builded version into test folder, which will be used by `debug.js`.

**Lint**

```bash
# To check lint errors
npm run lint

# To fix most common lint errors
# Note that it might not fix all errors, some need manual intervention
npm run lint:fix
```

**Build code**

```bash
npm run build
```

**Run test**

```bash
npm run test
```

**Generate distribution files**

```bash
npm run deploy
```

**NPM publish**

Before running publish script, make sure you have updated version properly.

Note that `prepublishOnly` script will be automatically called while publishing. It will check lint, clean dist/lib folders and build fresh distribution files before it executes `npm publish`.

```bash
npm publish
```

### License

MIT
npm package: @nextsmartchain/nextjs-web3
Description: web3.js plugin for next.js
Latest version: 1.0.0

[![npm version](https://badge.fury.io/js/@nextsmartchain%2Fnextjs-web3.svg)](https://badge.fury.io/js/@maticnetwork%2Fmaticjs-web3)
# nextjs-web3

[web3.js](https://web3js.readthedocs.io/) plugin for matic.js

# Installation

```
npm i @nextsmartchain/nextjs-web3
```

# Examples

All the examples are in the examples folder.

# Docs

```

import { use } from '@nextsmartchain/nextjs'
import { Web3ClientPlugin } from '@nextsmartchain/nextjs-web3'

// install ethers plugin
use(Web3ClientPlugin)
```

That's all you need to do and `web3.js` will be used for web3 calls.
npm package: @nextsmartchain/sdk
Description: 🛠 An example SDK for building applications on top of Uniswap at NEXT Smart Chain.
Latest version: 2.5.2-moon

# Uniswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Address Modifications

When deploying a new instance in NEXT, you need to modify the address in the following files:

WETH: `./src/entities/token.ts`
Factory: `./src/constants.ts`

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Uniswap/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```

Install to NPM

```
npm login
npm publish
```
npm package: @nextsmartchain/uniswap-v2-sdk
Description: 🛠 An SDK for building applications on top of Next Smart Chain
Latest version: 3.0.4

# NEXT Smart Chain V2 SDK

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

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn]
First clone the repository:

 ```sh
 git clone https://github.com/nextsmartchain/next-sdk.git
 ```

Move into the next-sdk working directory

 ```sh
 cd next-sdk/
 ```

Install dependencies
```sh
yarn install
```
Run tests
```sh
yarn test
```
You should see output like the following:
```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts
Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @nextsmartchain/uniswap-v2-sdk-core
Description: ⚒️ An SDK for building applications on top of Next Smart Chain
Latest version: 3.0.4

# 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.
npm package: @nextsms/js-client
Description: NextSMS SDK for Nodejs
Author: Alpha Olomi
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<h2 align="center"> NextSMS Client for Node.js</h2>

<p align="center"><a href="https://github.com/nextsms/js-client/actions/workflows/node.js.yml"><img src="https://github.com/nextsms/js-client/actions/workflows/node.js.yml/badge.svg" alt="Tests"></a></p>

<br>

The **NextSMS SDK** allows developers to easily integrate [NextSMS](https://nextsms.co.tz/) solutions in their Javascript code, and build robust applications and software.

## Documentation

Take a look at the [SDK docs here](hhttps://nextsms.github.io/js-client/).

## Usage

> **NOTE**: <br> > _Test Mode_ ONLY `Single destination` and `Multiple destinations` APIs support testing mode.

### Quick Examples

```sh
yarn add @nextsms/js-client
# or
npm i @nextsms/js-client
```

```js
import NextSMS from '@nextsms/js-client';

// Populate the credentials
const username = 'username';
const password = 'password';

// Initiate with credentials
let nextsms = new NextSMS({ username, password, environment: 'testing' });

const data = {
  from: 'NEXTSMS',
  to: '255123456789',
  text: 'Hello World',
};

// Send the sms
nextsms
  .singleDestination(data)
  .then(data => {
    // Print results
    console.log(data);
  })
  .catch(error => {
    console.log('error: ' + error);
  });
```

### Testing

```bash
yarn test
```

## Opening Issues

If you have a feature request or you encounter a bug, please file an issue on [our issue tracker on GitHub](https://github.com/nextsms/js-client/issues).

## Credits

- [Alpha Olomi](https://github.com/alphaolomi)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
npm package: @nextsparkjs/cli
Description: NextSpark CLI - Complete development toolkit
Latest version: 0.1.0-beta.139

# @nextsparkjs/cli

CLI tool for NextSpark development workflow.

## Installation

The CLI is included with `@nextsparkjs/core`. You can use it with npx:

```bash
npx nextspark <command>
```

Or install globally:

```bash
npm install -g @nextsparkjs/cli
```

## Commands

### Initialize Project

```bash
npx nextspark init              # Interactive wizard
npx nextspark init --preset saas    # Use SaaS preset
npx nextspark init --preset blog    # Use Blog preset
npx nextspark init --preset crm     # Use CRM preset
```

### Development

```bash
nextspark dev       # Start dev server with active theme
nextspark build     # Production build
nextspark registry  # Build component registries
```

### Database

```bash
nextspark migrate   # Run database migrations
```

## Requirements

- Node.js 18+
- pnpm recommended

## Documentation

Visit [nextspark.dev/docs](https://nextspark.dev/docs) for full documentation.

## License

MIT
npm package: @nextsparkjs/core
Description: NextSpark - The complete SaaS framework for Next.js
Author: NextSpark
Latest version: 0.1.0-beta.139

# @nextsparkjs/core

The complete SaaS framework for Next.js. Build production-ready SaaS applications with authentication, payments, teams, and more.

## Installation

```bash
npm install @nextsparkjs/core
# or
pnpm add @nextsparkjs/core
```

## Quick Start

```bash
# Create a new NextSpark project
npx create-nextspark-app my-app
cd my-app
pnpm dev
```

Or initialize in an existing project:

```bash
npx nextspark init
```

## Features

- **Authentication** - Email/password, Google OAuth, magic links with Better Auth
- **Payments** - Stripe integration with subscriptions and usage billing
- **Teams** - Multi-tenant team management with roles and permissions
- **Database** - PostgreSQL with migrations and type-safe queries
- **UI Components** - 50+ components based on shadcn/ui
- **Entities** - Dynamic CRUD with automatic API generation
- **Page Builder** - Block-based page builder with drag and drop
- **Themes** - Multiple theme support with easy customization
- **Plugins** - Extensible plugin system
- **i18n** - Full internationalization with next-intl
- **Testing** - Jest + Cypress setup included

## Documentation

Visit [nextspark.dev/docs](https://nextspark.dev/docs) for full documentation.

## License

MIT
npm package: @nextsparkjs/testing
Description: Testing utilities for NextSpark applications - Selectors, POMs, and Cypress helpers
Author: NextSpark
Latest version: 0.1.0-beta.139

# @nextsparkjs/testing

Testing utilities for NextSpark applications. Provides selectors, Page Object Models, and Cypress helpers.

## Installation

```bash
npm install @nextsparkjs/testing
# or
pnpm add @nextsparkjs/testing
```

## Usage

### Basic Selectors

```typescript
import { sel, cySelector, CORE_SELECTORS } from '@nextsparkjs/testing'

// Get selector value
sel('dashboard.navigation.main') // 'nav-main'

// Get Cypress selector
cySelector('dashboard.navigation.main') // '[data-cy="nav-main"]'

// Access raw selectors
CORE_SELECTORS.dashboard.navigation.main // 'nav-main'
```

### Subpath Imports (Recommended)

For better tree-shaking:

```typescript
import { sel, cySelector } from '@nextsparkjs/testing/selectors'
import { createEntityTestingHelper } from '@nextsparkjs/testing/utils'
```

### Theme Extension

Themes can extend core selectors:

```typescript
import { createSelectorHelpers, CORE_SELECTORS } from '@nextsparkjs/testing/selectors'

const THEME_SELECTORS = {
  ...CORE_SELECTORS,
  myFeature: {
    button: 'my-feature-btn',
    form: 'my-feature-form',
  },
}

export const { sel, cySelector } = createSelectorHelpers(THEME_SELECTORS)
```

### Entity Testing Helper

```typescript
import { createEntityTestingHelper } from '@nextsparkjs/testing/utils'

const testId = createEntityTestingHelper('products')

// Usage in components
<div data-cy={testId.page()}>           // products-page
  <form data-cy={testId.form()}>        // products-form
    <input data-cy={testId.field('name')} /> // products-field-name
    <button data-cy={testId.formSubmit()}>   // products-form-submit
      Submit
    </button>
  </form>
</div>
```

## Exports

### Main Entry (`@nextsparkjs/testing`)

- `sel()` - Get selector value by path
- `cySelector()` - Get Cypress selector string
- `CORE_SELECTORS` - All core selectors
- `createSelectorHelpers()` - Factory for custom selectors
- `createEntityTestingHelper()` - Entity-specific helper factory

### Selectors (`@nextsparkjs/testing/selectors`)

- All selector-related exports

### Utils (`@nextsparkjs/testing/utils`)

- `createTestId()` - Create test IDs
- `createCyId()` - Create Cypress IDs
- `createEntityTestingHelper()` - Entity helper factory
- `testingPatterns` - Common testing patterns
- `keyboardHelpers` - Keyboard navigation helpers

## License

MIT