open-index/open-npm huggingface dataset:
npm package: @okal22/sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap.
Latest version: 5.7.5

# PancakeSwap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).

## Running tests

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

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancake-swap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
pnpm install
```

Run tests

```sh
pnpm test
```

You should see output like the following:

```sh
pnpm 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: @okalit/cli
Description: CLI to create and generate resources for Okalit projects
Latest version: 0.2.2

# Okalit CLI

CLI to create Okalit apps and generate resources inside an existing project.

## Usage

```bash
npx okalit-cli new app-name
npx okalit-cli -g -c ./src/components/component-name
npx okalit-cli -g -s ./src/modules/home/services/example
npx okalit-cli -g -m ./src/modules/profile
npx okalit-cli -g --guard ./src/guards/auth
npx okalit-cli -g --interceptor ./src/interceptors/auth
```

## What it generates

- `new <app-name>`: creates a Vite app based on the Okalit template.
- `-g -c`: creates a component folder with `js` and `scss` or `css` depending on the project.
- `-g -s`: creates a `*.service.js` file at the specified path.
- `-g -m`: creates a module folder with `*.module.js`, `*.routes.js`, and a starter page.
- `-g --guard`: creates a `*.guard.js` file.
- `-g --interceptor`: creates a `*.interceptor.js` file.

## Local development

```bash
cd okalit-cli
npm install
npm link
okalit-cli --help
```
npm package: @okam/core-lib
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 2.2.0

# core-lib

This library was generated with [Nx](https://nx.dev).

## Breaking Change: v2.0.0

### React Context Utilities Removed

The React context utilities `createCtx` and `createCtxNullable` have been **removed** from `@okam/core-lib`. These utilities are now only available in `@okam/react-utils`.

**Migration:**

```typescript
// Before (no longer works in v2.0.0)
import { createCtx, createCtxNullable } from '@okam/core-lib'

// After
import { createCtx, createCtxNullable } from '@okam/react-utils'
```

### Server-Safe by Default

`@okam/core-lib` is now fully server-safe and can be used in any environment without React dependencies. The `react-server` export condition has been removed since it is no longer needed - the default export is server-safe.

## Available Exports

- `ArrayUtils` - Array manipulation utilities
- `Asserts` - Assertion helpers
- `normalizePath` - Path normalization utility
- `getNestedObjectValueOfKey` - Deep object property access
- `checkObjectProperty` - Object property checking
- `capitalizeFirstLetter` - String capitalization
- `UnPromisify` - Type utility for unwrapping Promise types
- `typeguards` - TypeScript type guards

## Running unit tests

Run `nx test core-lib` to execute the unit tests via [Vitest](https://vitest.dev/).