open-index/open-npm huggingface dataset:
npm package: @kaikaew13/is-power-of
Description: finds if a number n is a power of a base number between 0 - 2147483647
Latest version: 2.0.1

# @kaikaew13/is-power-of

![version](https://img.shields.io/npm/v/@kaikaew13/is-power-of)
![license](https://img.shields.io/github/license/kaikaew13/is-power-of)

Finds if a number **n** is a power of a **base number**.

The currently supported **base numbers** are between 0 - 2^31-1 (2147483647) inclusive.

The biggest value of **n** that would yeild correct result is 2^31-1 (2147483647)

## Install

```
npm i @kaikaew13/is-power-of
```

## How to use

```javascript
const isPowerOf = require('@kaikaew13/is-power-of');

console.log(isPowerOf(128, 2)); // true

console.log(isPowerOf(2147395600, 46340)); // true

console.log(isPowerOf(128, 5)); // false

console.log(isPowerOf(4, -1)); // Error: base number is not in the supported range

console.log(isPowerOf('hi', 'hello')); // Error: only works with integer
```
npm package: @kaiko-data/sdk-node
Description: Kaiko Node SDK
Author: Kaiko
Latest version: 1.34.0

<p align="center">
  <img src="https://www.kaiko.com/assets/sites/1/2025/10/kaiko-logo-rgb_color.svg" alt="Kaiko" width="300">
</p>

# @kaiko-data/sdk-node

Node.js client library for the Kaiko gRPC API. This SDK provides auto-generated gRPC stubs for streaming cryptocurrency market data.

## Installation

```bash
npm install @kaiko-data/sdk-node
```

## Requirements

- Node.js 20+
- A valid Kaiko API key

## Usage

```javascript
const grpc = require("@grpc/grpc-js");
const { StreamTradesServiceV1Client } = require("@kaiko-data/sdk-node/sdk/sdk_grpc_pb");
const { StreamTradesRequestV1 } = require("@kaiko-data/sdk-node/sdk/stream/trades_v1/request_pb");
const { InstrumentCriteria } = require("@kaiko-data/sdk-node/sdk/core/instrument_criteria_pb");

const channel = new grpc.ChannelCredentials.createSsl();
const client = new StreamTradesServiceV1Client("gateway-v0-grpc.kaiko.ovh:443", channel);

const metadata = new grpc.Metadata();
metadata.add("authorization", "Bearer <YOUR_API_KEY>");

const criteria = new InstrumentCriteria();
criteria.setExchange("cbse");
criteria.setInstrumentClass("spot");
criteria.setCode("btc-usd");

const request = new StreamTradesRequestV1();
request.setInstrumentCriteria(criteria);

const stream = client.subscribe(request, metadata);

stream.on("data", (response) => {
  console.log("Trade:", response.toObject());
});

stream.on("error", (err) => {
  console.error("Stream error:", err);
});
```

## Available Services

All services expose a `subscribe` method that returns a server-side stream.

| Service | Description |
|---------|-------------|
| `StreamTradesServiceV1` | Real-time trades |
| `StreamMarketUpdateServiceV1` | Market updates |
| `StreamAggregatedQuoteServiceV2` | Aggregated quotes |
| `StreamAggregatedPriceServiceV1` | Aggregated prices |
| `StreamAggregatedStatePriceServiceV1` | Aggregated state prices |
| `StreamAggregatesOHLCVServiceV1` | OHLCV aggregates |
| `StreamAggregatesVWAPServiceV1` | VWAP aggregates |
| `StreamAggregatesSpotExchangeRateV2ServiceV1` | Spot exchange rates |
| `StreamAggregatesSpotDirectExchangeRateV2ServiceV1` | Direct exchange rates |
| `StreamOrderbookL2ServiceV1` | Level 2 order book |
| `StreamOrderbookL2ReplayServiceV1` | Level 2 order book replay |
| `StreamIndexServiceV1` | Index values |
| `StreamIndexMultiAssetsServiceV1` | Multi-asset index values |
| `StreamIndexForexRateServiceV1` | Index forex rates |
| `StreamCompositeIndicesServiceV1` | Composite indices |
| `StreamConstantDurationIndicesServiceV1` | Constant duration indices |
| `StreamExoticIndicesServiceV1` | Exotic indices |
| `StreamDerivativesInstrumentMetricsServiceV1` | Derivatives instrument metrics |
| `StreamIvSviParametersServiceV1` | IV SVI parameters |

## Examples

For more complete examples, see the [kaiko-sdk-examples](https://github.com/kaikodata/kaiko-sdk-examples) repository.
npm package: @kaiko.io/rescript-heroicons-react
Description: Unofficial ReScript binding to @heroicons/react
Author: Kaiko Systems GmbH
Latest version: 4.0.1

# Kaiko's ReScript binding to @heroicons/react

This is a fork of [Jazz's original work](#original-author), it was updated to
Heroicons 2 and Rescript 10/11 with JSX 4.

To avoid clashes with the old package, the namespace was changed to
'HeroIcons'.

[Live gallery](https://kaiko-systems.gitlab.io/rescript-heroicons-react/).

## Version support

Version 2.x supports Rescript 10.  Version 3.x supports Rescript 11.


## Overview

With this binding, heroicons can be used as ReScript-React Components.

```OCaml
open HeroIcons

@react.component
let make = () => {
  <div>
    <Solid.PaperAirplaneIcon className="w-8 h-8" ariaHidden=true />
    <Outline.PaperAirplaneIcon className="w-8 h-8" ariaHidden=true/>
  </div>
}
(* w-8, h-8 are tailwind css classes.*)
```

### Installation

`yarn add @kaiko.io/rescript-heroicons-react` <br> or <br> `npm install @kaiko.io/rescript-heroicons-react` <br> <br>


In `bsconfig.json`:

```json 
"bs-dependencies": ["@kaiko.io/rescript-heroicons-react"]
```

The binding has the following dependencies, and they have to be installed.

- [@rescript/react](https://www.npmjs.com/package/@rescript/react)
- [@heroicons/react](https://www.npmjs.com/package/@heroicons/react)


### Development

1. Update the dependencies, if needed, and install: `yarn install`.

2. Update the script `scripts/builder.js` to adjust to new versions, etc.

3. Generate the modules with `npm run generate`

4. Run the test server `npm run run` and go to http://localhost:8000 to watch the live examples.


### Original author


Nyi Nyi Than (Jazz)
- LinkedIn: [@nyinyithann](https://www.linkedin.com/in/nyinyithan/)
- Twitter: [@JazzTuyat](https://twitter.com/JazzTuyat)

### License

MIT
npm package: @kaiko.io/rescript-mithril
Description: High level API to Mithril
Author: Eddy Ernesto del Valle
Latest version: 1.2.3

# High level API to [Mithril](https://mithril.js.org/)

TODO


## Overriding React, ReactDOMRe and ReactDOMStyle

This library contains a *replacement* of the modules `React`, `ReactDOMRe` and
`ReactDOMStyle` so you **cannot** use both `bs-mithril` and `rescript-react`
in the same project.

This is because Mithril already has some level of support to React and we bind
those modules to the implementations provided by Mithril itself.
npm package: @kaikokchew/basic-npm-package
Description: Basic NPM package to jump start code sharing and reuse.
Author: Kai Kok, Chew
Latest version: 1.0.3

# Basic NPM package

This is a test module for learning basics to publishing a Javascript/Typescript
module to NPM registry to share and reuse cide.

This is based on the [article](https://snyk.io/blog/best-practices-create-modern-npm-package/) from snyk .
The reference code can be found [here](https://github.com/snyk-snippets/modern-npm-package/tree/main).

Changes:
- Use Jest for testing instead of Mocha
npm package: @kaikselhorst/route-builder
Description: A simple and type-safe TypeScript library for building and manipulating routes with dynamic parameters.
Author: Kaik Selhorst
Latest version: 1.0.4

# Route Builder

A simple and type-safe TypeScript library for building and manipulating routes with dynamic parameters.

[![Release](https://github.com/kaikselhorst/route-builder/workflows/Publish%20Node.js%20Package%20on%20NPM/badge.svg)](https://github.com/kaikselhorst/route-builder/actions/workflows/release.yml)

## 🚀 Installation

```bash
npm install @kaikselhorst/route-builder
```

## 📖 How to use

### Creating a route

```typescript
import { RouteBuilder } from '@kaikselhorst/route-builder';

const route = new RouteBuilder('/users/:id/posts/:postId');
```

### Adding parameters

```typescript
// Replace parameters in the route
const userRoute = route.withParams({
  id: '123',
  postId: '456'
});

console.log(userRoute.toString());
// Output: /users/123/posts/456
```

### Adding query parameters

```typescript
// Add query parameters
const routeWithQuery = route
  .withParams({ id: '123', postId: '456' })
  .withSearchParams({ page: 1, limit: 10 });

console.log(routeWithQuery.toString());
// Output: /users/123/posts/456?page=1&limit=10
```

### Parsing URLs

```typescript
// Extract parameters from a URL
const params = route.safeParse('/users/123/posts/456');

if (params) {
  console.log(params.id);      // "123"
  console.log(params.postId);  // "456"
}
```

## ✨ Features

- **Type-safe**: Automatic type inference for parameters
- **Flexible**: Support for different query parameter formats
- **Simple**: Intuitive and easy-to-use API
- **Robust**: Validation and error handling

## 🔧 Examples

### Routes with protocol

```typescript
const apiRoute = new RouteBuilder('https://api.example.com/users/:id');
const finalRoute = apiRoute.withParams({ id: '123' });
// Output: https://api.example.com/users/123
```

### Complex query parameters

```typescript
const route = new RouteBuilder('/search');

// Different ways to add query parameters
route.withSearchParams('q=typescript&lang=en');
route.withSearchParams({ q: 'typescript', lang: 'en' });
route.withSearchParams([['q', 'typescript'], ['lang', 'en']]);
```

## 📝 License

MIT - see the [LICENSE](LICENSE) file for more details.

## 🚀 Development

### Running Tests

```bash
# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Run tests in watch mode
npm run test:watch
```

### Code Quality

```bash
# Lint code
npm run lint

# Fix linting issues
npm run lint:fix

# Run full CI pipeline locally
npm run ci
```

### CI/CD

This project uses GitHub Actions for continuous integration and deployment. See [CI/CD Documentation](docs/CI-CD.md) for detailed information.

- **Automated Testing**: Runs on every push and pull request
- **Code Coverage**: Monitored with Codecov
- **Dependency Updates**: Automated with Dependabot
- **NPM Publishing**: Automatic on release creation

## 👨‍💻 Author

Kaik Selhorst
npm package: @kailash-js/explorest-react-native-google-maps
Description: explorest custom google maps
Author: Long Cao
Latest version: 1.0.1

# explorest-react-native-google-maps

explorest custom google maps

## Installation

```sh
npm install explorest-react-native-google-maps
```

## Usage

```js
import { ExplorestReactNativeGoogleMapsView } from "explorest-react-native-google-maps";

// ...

<ExplorestReactNativeGoogleMapsView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kailash-js/motion-ui
Description: A higly customizable reusable UI components for react-native.
Latest version: 1.0.0

# `@kailash-js/react-native-uikit`

Foundation to develop a good react-native app

Installation instructions and documentation can be found on the [Kailashjs website](https://kailashjs.dev/docs/react-native-uikit/).
npm package: @kailash-js/motion-uikit
Description: A higly customizable reusable UI components for react-native.
Latest version: 1.0.0

# `@kailash-js/react-native-uikit`

Foundation to develop a good react-native app

Installation instructions and documentation can be found on the [Kailashjs website](https://kailashjs.dev/docs/react-native-uikit/).
npm package: @kailash-js/react-native-android-keyboard-adjust
Description: test
Author: Long Cao
Latest version: 1.0.3

# react-native-android-keyboard-adjust
adjust keyboard style on android on demand
## Installation

```sh
npm install react-native-android-keyboard-adjust
```

## Usage

```js
import { multiply } from "react-native-android-keyboard-adjust";

// ...

const result = await multiply(3, 7);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kailash-js/react-native-explorest-google-maps
Description: test
Author: Long Cao
Latest version: 1.0.6

# react-native-explorest-google-maps
custom google maps for explorest
## Installation

```sh
npm install react-native-explorest-google-maps
```

## Usage

```js
import { ExplorestGoogleMapsView } from "react-native-explorest-google-maps";

// ...

<ExplorestGoogleMapsView color="tomato" />
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kailash-js/react-native-explorest-splashscreen
Description: test
Author: Long Cao
Latest version: 1.0.2

# react-native-explorest-splashscreen
splash screen for explorest app
## Installation

```sh
npm install react-native-explorest-splashscreen
```

## Usage

```js
import { multiply } from "react-native-explorest-splashscreen";

// ...

const result = await multiply(3, 7);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @kailash-js/react-native-lightkits-splashscreen
Description: TODO
Author: Your Name
Latest version: 1.0.9

# react-native-splash-screen

## Getting started

`$ npm install react-native-splash-screen --save`

### Mostly automatic installation

`$ react-native link react-native-splash-screen`

## Usage
```javascript
import LKSplashScreen from 'react-native-splash-screen';

// TODO: What to do with the module?
LKSplashScreen;
```
npx create-react-native-module splash-screen --prefix LK --package-identifier lightkits.splashscreen
npm package: @kailash-js/react-native-motion-layers
Description: A generic customizable framework to handle dynamic views in react-native.
Latest version: 1.0.7

# `@kailash-js/react-native-motion-layers`

Foundation to develop a good react-native app

Installation instructions and documentation can be found on the [Kailashjs website](https://kailashjs.dev/docs/react-native-motion-layers/).
npm package: @kailash-js/react-native-splashscreen
Description: A simple way to add splash screen to react-native app.
Author: Long Cao
Latest version: 1.0.1

# `@kailash-js/react-native-splashscreen`

A simple way to add splashscreen to react-native app.

Installation instructions and documentation can be found on the [Kailashjs website](https://kailashjs.dev/docs/react-native-splashscreen/).
npm package: @kailash-js/react-native-uikit
Description: A higly customizable reusable UI components for react-native.
Latest version: 1.0.8

# `@kailash-js/react-native-uikit`

Foundation to develop a good react-native app

Installation instructions and documentation can be found on the [Kailashjs website](https://kailashjs.dev/docs/react-native-uikit/).