open-index/open-npm huggingface dataset:
npm package: @mipet1984/trading-tools-models
Description: Shared DTOs and entities for trading tools NestJS projects
Author: Miroslav Peterka
Latest version: 1.0.4

# Trading Tools Models

Shared DTOs and TypeORM entities for trading tools NestJS projects.

## Installation

```bash
npm install @mipet1984/trading-tools-models
```

## Usage

### Importing DTOs

```typescript
import { NewsListDto, NewsItemDto } from '@mipet1984/trading-tools-models';
```

### Importing Entities

```typescript
import { RawArticle, ScrapedArticle, Ticker } from '@mipet1984/trading-tools-models';
```

### In NestJS Module

```typescript
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RawArticle, ScrapedArticle, Ticker } from '@mipet1984/trading-tools-models';

@Module({
  imports: [TypeOrmModule.forFeature([RawArticle, ScrapedArticle, Ticker])],
})
export class YourModule {}
```

## Peer Dependencies

This package requires the following peer dependencies:

- `class-validator` ^0.14.0
- `class-transformer` ^0.5.1
- `typeorm` ^0.3.0

## License

MIT
npm package: @mipet1984/trading-tools-shared
Description: Shared functions for trading tools NestJS projects
Author: Miroslav Peterka
Latest version: 1.0.15

# Trading Tools Shared

Shared functions and modules for trading tools NestJS projects.

## Installation

```bash
npm install @mipet1984/trading-tools-shared
```

## Usage

### Importing the SharedModule

```typescript
import { Module } from '@nestjs/common';
import { SharedModule } from '@mipet1984/trading-tools-shared';

@Module({
  imports: [SharedModule],
  // ... your module configuration
})
export class AppModule {}
```

### Using Individual Services

```typescript
import { LogService } from '@mipet1984/trading-tools-shared';

@Injectable()
export class MyService {
  constructor(private readonly logService: LogService) {}

  someMethod() {
    this.logService.log('Hello from shared module!');
  }
}
```

### Using Helper Functions

```typescript
import { dateTimeHelper, delayHelper, envValidatorHelper } from '@mipet1984/trading-tools-shared';

// Use the helper functions as needed
```

## Development

### Building the Package

```bash
npm run build
```

### Creating a Local Package

```bash
npm run publish:local
```

This will create a `.tgz` file that you can install locally in other projects:

```bash
npm install /path/to/mipet1984-trading-tools-shared-1.0.0.tgz
```

## Peer Dependencies

This package requires the following peer dependencies to be installed in your project:

- `@nestjs/common` ^10.0.0
- `class-validator` ^0.14.0
- `class-transformer` ^0.5.1
- `typeorm` ^0.3.0
- `reflect-metadata` ^0.1.13

## License

MIT
npm package: @miphas/check-auto-view-plugin
Description: 查看打点数据的 [auto-view](https://github.com/miphas/auto-view) 插件，支持检测当前上报 mv/mc
Latest version: 0.1.0

# acheck-auto-view-plugin  
查看打点数据的 [auto-view](https://github.com/miphas/auto-view) 插件，支持检测当前上报 mv/mc

### notice  
- 插件使用 ES2015 语法，包含 Map 使用，如果需要 ES5 环境运行，请自行做好 Polyfill
- 插件会改变文档流中的元素样式，插入元素节点

### Usage
``` javascript

import autoView from '@miphas/auto-view'
import autoViewPluginCheck from '@miphas/check-auto-view-plugin'

autoView({
    onElemView: (vid, vdata) => {},
    onElemClick: (vid, vdata) => {},
    plugins: [
        autoViewPluginCheck()
    ]
})
```

### demo

<img src="./docs/pic/demo.png" width="375" height="667" />

V - 曝光量
C - 点击量(下面模块手动点了20次 🙂)

上图展示了打点数据情况：  
- 1. 可以用来查看页面每个点的数据是多少 - 支持单位 K M T
- 2. 可以用来开发时测试当前打点情况 - 一目了然
npm package: @mipke/pyramid
Description: >A library of base-layer React components that aim to make laying out pages easier and to eliminate repetitive >css styling whose only purpose is to layout items on a screen
Latest version: 1.1.3

# Pyramid

>A library of base-layer React components that aim to make laying out pages easier and to eliminate repetitive 
>css styling whose only purpose is to layout items on a screen

[![NPM version][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/@mipke/pyramid
[npm-url]: http://npmjs.org/package/@mipke/pyramid

## 💡 Motivation

This library seeks to cut down on the frequency of style writing for the exclusive purpose of laying out a page. 
A potential source of frustration in developing a React frontend (or any frontend) is looking back at each screen's 
style sheet to find that a majority of the lines were only concerned with laying out the content. Maybe to get the spacing right 
or to align some divs in a particular arrangement. Ideally, styles would be written exclusively for 
the actual visual appeal of a particular component. This library seeks to provide a simple means to do this. 

A developer can utilize a library of layout components like this one to arrange their simple components and then
focus styling efforts on the individual modules of the simpler components (buttons, inputs, headings, etc.). Done right,
almost no styling should be required on any given screen since the components do all the work instead.

## 📦 Install

Use Pyramid in your project:
```bash
yarn add @mipke/pyramid
```

## 💻 Develop

To setup for development, just install the project's dependencies and start the styleguidist server:
```bash
yarn install
yarn start
```

It is also easy to compile and publish to npm using the following:
```bash
yarn build
yarn publish
```
npm package: @miq4d/canvas-with-discord-content
Description: A fork of node-canvas-with-twemoji-and-discord-emoji
Author: miq4d
Latest version: 2.1.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @miq4d/canvas-with-discord-content

A fork of node-canvas-with-twemoji-and-discord-emoji

## Installation
```shell
$ npm install @miq4d/canvas-with-discord-content
```
[npm](https://www.npmjs.com/package/@miq4d/canvas-with-discord-content)

## Quick Example
```javascript
const { createCanvas } = require('canvas');
const { fillTextWithTwemoji } = require('@miq4d/canvas-with-discord-content');

async function main () {
    const canvas = createCanvas(200, 200);
    const context = canvas.getContext('2d');

    context.fillStyle = '#000000';
    context.font = '30px Arial';
    await fillTextWithTwemoji(context, 'emoji 😉 discord emoji <:id:name>', 100, 100);
}

main();
```

## Dependencies

- node-canvas [GitHub](https://github.com/Automattic/node-canvas)
- twemoji-parser [GitHub](https://github.com/twitter/twemoji-parser)

## Licence

### node-canvas-with-twemoji

Copyright (c) 2020-2021 cagpie / Shun Kobayashi <cagpie@gmail.com>

Code licensed under the MIT License: http://opensource.org/licenses/MIT
npm package: @miqilin21/node-player
Description: A command line player for NodeJS
Author: zonemeen
Latest version: 1.0.11

# node-player

A simple command line player for NodeJS on `Windows` and `MacOS`.

Support .mp3, .wav, .flac and other extensions.

## Install

```sh
npm install @miqilin21/node-player
```

or

```sh
yarn add @miqilin21/node-player
```

## Usage Examples

cjs:

```sh
const { Player } = require('@miqilin21/node-player')
const player = new Player()
```

esm:

```sh
import { Player } from '@miqilin21/node-player'
const player = new Player()
```

### Relative path

cjs：

```sh
const path = require('path')
const filePath = path.join(__dirname, 'file.mp3')
player.play(filePath)
```

esm：

```sh
import path from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const filePath = path.join(__dirname, 'foo.mp3')
player.play(filePath)
```

### Absolute path

```sh
player.play('C:\\file.mp3')
```

### Adjusting volume

```sh
/**
 * 0   = silent
 * 0.5 = default
 * 1   = max volume
 */
const volume = 0.1
player.play('file.mp3', volume)
```

### Kill process

```sh
player.kill()
```

## License

Released under [MIT](/LICENSE) by [@zonemeen](https://github.com/zonemeen).