open-index/open-npm huggingface dataset:
npm package: @intelaf/ui
Description: Componentes UI para desarrollo
Author: Intelaf
Latest version: 1.0.40

# Intelaf Components - Biblioteca de Componentes UI

Intelaf Components es una completa biblioteca de componentes de interfaz de usuario (UI) desarrollada en React y TypeScript. Diseñada para ofrecer componentes reutilizables y altamente personalizables, Intelaf Components permite crear interfaces modernas y eficientes de manera rápida y sencilla. Esta librería incluye un entorno de desarrollo integrado con Storybook, lo que facilita la visualización, prueba y documentación de los componentes en tiempo real, mejorando la productividad y consistencia en el desarrollo de aplicaciones React.

## Modo de desarrollo
Cuando se utiliza el siguiente  se utiliza para ejecutar Storybook es una herramienta que permite __desarrollar__ y __documentar componentes__ de UI de forma aislada, fuera de la aplicación principal.

`npm run storybook`

## Modo de publicacion
Cuando se utiliza el siguiente comando se genera una versión empaquetada del código fuente de la aplicación. utiliza Rollup ques es un bundler (empaquetador) de módulos JavaScript que optimiza y agrupa varios archivos de código fuente en un archivo final (o varios archivos) listos para ser utilizados en producción.

`npm version patch`
`npm run build`
`npm publish --access public`


## Implementacion de la libreria UI
Para comenzar a utilizar los componentes de [@prog4int/ui](https://www.npmjs.com/package/@prog4int/ui), primero instálala como dependencia en tu proyecto de React:

`npm i @intelaf/ui`

<br/>
Después de instalar la librería, puedes empezar a importar y usar los componentes en tu aplicación.


```
import React from 'react';
import { ThemeProvider, Button } from '@prog4int/ui';

const App = () => {
  return (
    <ThemeProvider theme="ligth">
      <Button
        label="INICIAR SESION"
        color="primary"
        tooltip="hola este es un button"
        width='210px'
        loading={false}
        onClick={() => alert('¡Clic!')}
      />
    </ThemeProvider>
  );
};

export default App;
```
npm package: @intelchain-js/account
Description: account and wallet for intelchain
Author: winay@ptek.in
Latest version: 0.1.58

# @intelchain-js/account

This package provides a collection of apis to create accounts and wallets and sign using them. A wallet can hold multiple accounts and account is associated with a unique `itc` address. This package also provides facilies to manage account keys.

## Installation

```
npm install @intelchain-js/account
```
npm package: @intelchain-js/contract
Description: contract libraries for intelchain
Author: winay@ptek.in
Latest version: 0.1.58

# @intelchain-js/contract

This package provides a collection of apis to create, deploy, and interact with smart contracts. In intelchain, smart contracts all fully EVM compatible and the formats and terminologies match 1-to-1 with EVM smart contracts.

## Installation

```
npm install @intelchain-js/contract
```
npm package: @intelchain-js/network
Description: network suites for intelchain
Author: winay@ptek.in
Latest version: 0.1.58

# @intelchain-js/network

This package provides a collection of apis to create messengers (HTTP, WebSocket) to connect to blockchain networks.

## Installation

```
npm install @intelchain-js/network
```

## Usage

```javascript
const { Messenger, HttpProvider, WSProvider } = require('@intelchain-js/network');
const { ChainID, ChainType } = require('@intelchain-js/utils');
const testnetHTTP = 'https://api.s0.b.intelchain.org';
const testnetWS = 'wss://ws.s0.b.intelchain.org';
const localHTTP = 'http://localhost:9500/';
const localWS = 'http://localhost:9800/';
const http = new HttpProvider(testnetHTTP); // for local use localHTTP
const ws = new WSProvider(testnetWS); // for local use testnetWS
const customHTTPMessenger = new Messenger(http, ChainType.Intelchain, ChainID.ItcTestnet); // for local ChainID.ItcLocal
const customWSMessenger = new Messenger(ws, ChainType.Intelchain, ChainID.ItcTestnet); // for local ChainID.ItcLocal
```
npm package: @intelchain-js/utils
Description: utils for intelchain
Author: winay@ptek.in
Latest version: 0.1.58

# @intelchain-js/utils

This package provides a collection of utility apis for unit conversions like `fromWei`, `toWei`, `hexToNumber`, `numberToHex`, `isAddress`, etc.

## Installation

```
npm install @intelchain-js/utils
```
npm package: @intelcorp/wmi-native-module
Description: WMI Native Module
Author: Emily Snyder
Latest version: 1.0.4

# WMI Native Module
## Overview
The `wmi-native-module` is a native module for Node.js applications to query WMI on a local Windows system using native C++. 

## Install
`npm install @intelcorp/wmi-native-module`

## Usage
Example queries can be found in `tests\exampleQueries.js`

## Methods
`function query(namespace: string, query: string, properties?: string[]): object;` 

### Arguments
- `namespace`: Namespace of the class to query. Examples: `'root\wmi'` or `'root\cimv2'`
- `query`: WQL query string. Examples: `'SELECT * FROM Win32_Processor'` or `'SELECT Caption,DeviceID FROM Win32_Processor`
- `properties`: Optional parameter to limit the properties returned. Example: `query('root\wmi', 'SELECT * FROM Win32_Processor', ['Caption','DeviceID'])`

#### Namespace Whitelist
There is a whitelist for supported namespaces defined in `namespaces.h`. 
- To allow the module to query any namespace, the `IsSupportedNamespace()` method can be modified to always return true.
- To add additional namespaces to the whitelist, add the new namespace to the vector returned by `GetWhitelist()`. Namespaces should always be added to the whitelist as all lowercase values.

### Return Value
- Object containing the results found by the query. 
- If the query fails or does not return any results an empty object will be returned: `{}`

### Examples
```
const wmi = require('@intelcorp/wmi-native-module');
let result = wmi.query('root/cimv2', 'SELECT * FROM Win32_Processor');
```
```
const wmi = require('@intelcorp/wmi-native-module');
const properties = ['Caption', 'DeviceID', 'Manufacturer', 'MaxClockSpeed', 'Name', 'SocketDesignation'];
const query = `SELECT ${properties.join(',')} FROM Win32_Processor`;
let result = wmi.query('root/cimv2', query, properties);
```