open-index/open-npm huggingface dataset:
npm package: @pratiq/hooks
Description: ![badge](https://img.shields.io/badge/npm-v1.1.0-red) ![badge](https://img.shields.io/badge/License-MIT-blue)
Latest version: 1.1.11

# @pratiq/hooks

![badge](https://img.shields.io/badge/npm-v1.1.0-red)
![badge](https://img.shields.io/badge/License-MIT-blue)

Collection of custom hooks for React.



## Installation

Install the package using you preferred package manager

```bash
pnpm add @pratiq/hooks
```

## Documentation

The docs are located at https://hooks.pratiq.dev

## Contribution

## License

MIT
npm package: @prats-tech/nestjs-static-injector
Description: Static injector for providers on nestjs
Latest version: 1.0.2

<p align="center">
  <img src="./images/logo.png" alt="rx-channels" width="50%" />
</p>

<p align="center">
  <b>NestJS Static Injector - v1.0.0</b>
</p>

---

## Overview

This library solves a framework weakness of not having to statically access providers in the application, something that can be commonly used in decorators, as decorators are executed in the application compilation process and not during the code interpretation, that is, you cannot access providers by instance, this is one of the reasons for the existence of this library.

### Installation

```bash
# Using NPM
$ npm install @prats-tech/nestjs-static-injector

---

# Using Yarn
$ yarn add @prats-tech/nestjs-static-injector
```

### Examples/Reasons

```typescript
import { Module, MyService } from '@nestjs/common';

import { StaticModule } from '@prats-tech/nestjs-static-injector';

@Module({
  imports: [StaticModule],
  providers: [MyService],
  exports: [MyService],
})
class AppModule {}

@Injectable()
class MyService {
  execute() {
    // execute some logic
  }
}

function Decorator() {
  return function (target: any) {
    const service = StaticInjector.getInstance().get(MyService);
    service.execute();
  };
}

@Decorator()
class ClassThatWillUseTheDecorator {}
```

---

## License

MIT © [Prats](https://github.com/prats-tech)
npm package: @pratushrai0309/systeminfo
Description: > **_NOTE:_**  Please Install Rust on your system before installing the module(https://www.rust-lang.org/tools/install)
Author: Pratush Rai
Latest version: 0.1.3

# systeminfo 
### A npm module used to get system's information
### Based on sysinfo crate

> **_NOTE:_**  Please Install Rust on your system before installing the module(https://www.rust-lang.org/tools/install)

### Functions Available: 
> **_NOTE:_** ECMAScript modules not supported

```js
const sys = require('systeminfo');

console.log(sys.uptime());//Returns the uptime of the system
//Example Output: 11h48m33s

console.log(sys.bootTime());//Returns the time since the first boot
//Example Output: 19329d3h52m36s

console.log(sys.osVersion());//Returns the operating system version
//Example Output: MacOS 11.2 BigSur

console.log(sys.kernelVersion());//Returns the kernel version
//Example Output: 6.0.0-kali3-amd64

console.log(sys.disks());//Returns the disks list

console.log(sys.memory());//Returns the memory info
/* Example Output: {
  totalMemory: '15.5 GiB',//Total Memory installed on your system
  freeMemory: '2.7 GiB',//free memory refers to the unallocated memory
  availableMemory: '8.1 GiB',//Total memory that is available for (re)use
  usedMemory: '7.3 GiB'//Amount of memory used
} */

console.log(sys.systemName());//Name of the system or host name

console.log(sys.physicalCoreCount());//Physical core count of the CPU
```
npm package: @pratyush_roy/gigaforce_angular_package
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.26

# MyLibrary

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

## Code scaffolding

Run `ng generate component component-name --project my-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-library`.
> Note: Don't forget to add `--project my-library` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build my-library` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build my-library`, go to the dist folder `cd dist/my-library` and run `npm publish`.

## Running unit tests

Run `ng test my-library` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @pratyush_roy/my-package-name
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Latest version: 0.0.5

# MyLibrary

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

## Code scaffolding

Run `ng generate component component-name --project my-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-library`.
> Note: Don't forget to add `--project my-library` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build my-library` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build my-library`, go to the dist folder `cd dist/my-library` and run `npm publish`.

## Running unit tests

Run `ng test my-library` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.