open-index/open-npm huggingface dataset:
npm package: @kptn/screen-orientation
Description: Cross-browser screen orientation management in JS
Author: Damien Cuvillier
Latest version: 0.1.4

# screen-orientation.js
Cross browser screen rotation management in pure vanilla javascript

## Installation 

* NPM
    ```
    npm install @kptn/screen-orientation.js
    ```
  
* Bower (deprecated)
    ```
    bower install gotandev/screen-orientation.js
    ```

## Usage

Full example on [CodePen](https://codepen.io/damiencuvillier/pen/wvevKPa)

### Initialization

```js
let so = screenorientation();
```

### Change listener
```js
// Event listener 
// On screen resolution changes
// Returns screen resolution instance.
so.change(callback);
```

You can trigger manually your event by calling with null argument. 
```js
// Trigger manually change orientation event
so.change(); 
```
### Values
```js
// Returns rotation angle : 0 or 90
so.angle()

// Landscape display mode ? 
so.isLandscape()

// Portrait display mode  ?
so.isPortrait()

```

### License

MIT License
npm package: @kpucha/ngx-mat-easy
Description: Easy - Reusable and Customizable Angular Material Library UI Components
Author: alcala28043
Latest version: 0.0.1-alpha

# NgxMatEasy

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

## Code scaffolding

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

## Build

Run `ng build ngx-mat-easy` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

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

## Running unit tests

Run `ng test ngx-mat-easy` 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: @kpucha/prettier-cfg
Description: Kpucha's Prettier configuration
Author: alcala28043
Latest version: 1.0.1

# @kpucha/prettier-cfg
Kpucha's Prettier configuration package

## Usage

### Install

```bash
npm i @kpucha/prettier-cfg
```

### Add to your `package.json`

```json
{
  ...
  "prettier": "@kpucha/prettier-cfg"
  ...
}
```
npm package: @kpv/encoder
Description: ## 🚴 Installation
Author: kohai
Latest version: 0.0.0-alpha.3

# @kpv/encoder

## 🚴 Installation

```bash
npm install @kpv/encoder
```

## 🚴 Usage

### Vite

```ts
import url from "@kpv/encoder/web/kpv_encoder_bg.wasm?url";
import init, { encode_v0_0_1, decode_v0_0_1 } from "@kpv/encoder/web";

init(url).then(() => {
  const input = new Uint8Array(Array.from({ length: 9999 }, () =>
    Math.floor(Math.random() * 256)
  ));
  const bits = decode_v0_0_1(input);
  encode_v0_0_1(bits);
});
```

### Node.js

```js
const { encode_v0_0_1, decode_v0_0_1 } = require("@kpv/encoder");

const input = Array.from({ length: 9999 }, () =>
  Math.floor(Math.random() * 256)
);
const bits = decode_v0_0_1(input);
encode_v0_0_1(bits);
```

## License

* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)