open-index/open-npm huggingface dataset:
npm package: @pluzchat/date-range-picker
Description: a simple range datepicker developed by vue
Author: Tuantk2
Latest version: 1.1.8

# vue-easy-range-date-picker

> A simple and easy-to-use range date picker based on Vue2

# Installation

```bash
npm install --save date-range-picker
```

# Usage
```js
<template>
  <date-range-picker v-model="dates"/>
</template>

<script>
import DateRangePicker from 'date-range-picker';

export default {
  components: {
    DateRangePicker,
  },
  data() {
    return {
      dates: {
        start: 1572879600000,
        end:  1575730800000
      },
    };
  },
}
</script>
```

# Demo
<img src="./images/demo.png" width="650px"/>

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/dates-with-start-and-end-kgm6v?file=/src/App.vue)

# Props
| Props                | Type         | Required | Default     |
| ---------------------| -------------| -------- | ------------|
| v-model(1)           | Object       | yes      | null        |
| language(2)          | String       | no       | 'zh'        |
| colorToday(3)        | String       | no       | '#41b883'   |
| colorSelected(3)     | String       | no       | '#34495e'   |
| colorActive(3)       | String       | no       | '#41b883'   |

(1) v-model: Binding an object which contains start timestamp and end timestamp:
```js
// example
dates: {
  start: 1573052400000,
  end: 1574434800000
}
```
you can also pass an empty object as the default value like this:
```js
<template>
  <RangeDatePicker v-model="dates"/>
</template>

<script>
import RangeDatePicker from 'vue-easy-range-date-picker';

export default {
  components: {
    RangeDatePicker,
  },
  data() {
    return {
      dates: {},
    };
  },
}
</script>
```

<img src="./images/demo-empty-dates.png" width="650px"/>

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/initial-empty-dates-wso98o?file=/src/App.vue)

(2) Now supporting Chinese('zh'), Japanese('jp'), English('en')

(3)

<img src="./images/color.png" width="650px"/>

# Event

`closePicker` event will be emitted when both the start date and end date are selected.

# Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
```
npm package: @pluzchat/nestjs-ses
Description: Nest - modern, fast, powerful node.js web framework (@ses)
Author: TuanTK
Latest version: 1.0.2

# NestJS SES

## Table of Contents

- [Description](#description)
- [Installation](#installation)
- [Examples](#examples)
- [License](#license)

## Description
Integrates SES with Nest

## Installation

```bash
npm install @pluzchat/nestjs-ses aws-sdk
```

You can also use the interactive CLI

### SesModule.forRoot(options, connection?)

```ts
import { Module } from '@nestjs/common';
import { SesModule } from '@pluzchat/nestjs-ses';
import { AppController } from './app.controller';

@Module({
  imports: [
    SesModule.forRoot({
        config: {
            credentials: {
                accessKeyId: "Key",
                secretAccessKey: "Secret",
            },
        },
    }),
  ],
  controllers: [AppController],
})
export class AppModule {}
```

### SesModule.forRootAsync(options, connection?)

```ts
import { Module } from '@nestjs/common';
import { SesModule } from '@pluzchat/nestjs-ses';
import { AppController } from './app.controller';

@Module({
  imports: [
    SesModule.forRootAsync({
      useFactory: () => ({
          config: {
              credentials: {
                  accessKeyId: "KEY",
                  secretAccessKey: "SECRET",
              },
          },
      }),
    }),
  ],
  controllers: [AppController],
})
export class AppModule {}
```

### InjectS3(connection?)

```ts
import { Controller, Get, } from '@nestjs/common';
import { InjectSES, SES } from '@pluzchat/nestjs-ses';

@Controller()
export class AppController {
  constructor(
    @InjectSES() private readonly sesSvc: SES,
  ) {}

  @Get()
  async getHello() {
      var params = {
          FailureRedirectionURL: 'STRING_VALUE', /* required */
          FromEmailAddress: 'STRING_VALUE', /* required */
          SuccessRedirectionURL: 'STRING_VALUE', /* required */
          TemplateContent: 'STRING_VALUE', /* required */
          TemplateName: 'STRING_VALUE', /* required */
          TemplateSubject: 'STRING_VALUE' /* required */
      };
      this.sesSvc.createCustomVerificationEmailTemplate(params, function(err, data) {
          if (err) console.log(err, err.stack); // an error occurred
          else     console.log(data);           // successful response
      });
  }
}
```

## License

MIT
npm package: @plvxn/tgraf
Description: Modern Telegram Bot Framework — fork with Bot API 9.5 support
Author: tgraf contributors
Latest version: 5.0.1

# @plvxn/tgraf

Modern Telegram Bot Framework for Node.js — fork of [telegraf](https://github.com/telegraf/telegraf) with Bot API 9.5 support.

[![Bot API](https://img.shields.io/badge/Bot%20API-v9.5-f36caf.svg?style=flat-square&logo=Telegram)](https://core.telegram.org/bots/api)
[![npm](https://img.shields.io/npm/v/@plvxn/tgraf?style=flat-square)](https://www.npmjs.com/package/@plvxn/tgraf)

## Why this fork

The original telegraf supports Bot API 7.1. This fork adds full support for Bot API 9.5: new methods, types, business accounts, gifts, stories, checklists, and more.

## Installation

```bash
npm install @plvxn/tgraf
```

## Quick start

```js
const { Telegraf } = require('@plvxn/tgraf')
const { message } = require('@plvxn/tgraf/filters')

const bot = new Telegraf(process.env.BOT_TOKEN)

bot.start((ctx) => ctx.reply('Welcome'))
bot.help((ctx) => ctx.reply('Send me a message'))
bot.on(message('text'), (ctx) => ctx.reply(ctx.message.text))

bot.launch()

process.once('SIGINT', () => bot.stop('SIGINT'))
process.once('SIGTERM', () => bot.stop('SIGTERM'))
```

## API compatibility

The API is compatible with telegraf. Use the [original telegraf documentation](https://telegraf.js.org) — the API surface is the same. This fork adds new methods and types from Bot API 9.5.

## Credits

Fork of [telegraf](https://github.com/telegraf/telegraf) by the Telegraf contributors.

## License

MIT
npm package: @plvxn/tgraf-types
Description: Type declarations for the Telegram Bot API — telegraf fork
Author: tgraf contributors
Latest version: 9.5.0

# Types for the Telegram Bot API

[![Bot API Version](https://img.shields.io/badge/Bot%20API-v9.5-f36caf.svg?style=flat-square&logo=Telegram&labelColor=white&color=blue)](https://core.telegram.org/bots/api) [![NPM version](https://img.shields.io/npm/v/@plvxn/tgraf-types?style=flat-square&logo=npm&labelColor=fff&color=c53635)](https://npmjs.com/package/@plvxn/tgraf-types)

TypeScript types for the [Telegram Bot API](https://core.telegram.org/bots/api). Fork of [@telegraf/types](https://github.com/telegraf/types) with Bot API 9.5 support.

Zero executable code.

## Installation

```bash
npm install --save-dev @plvxn/tgraf-types
```

## Available Types

The package exposes interfaces that correspond to types used throughout the Telegram Bot API. Types like `Update`, `Message`, `CallbackQuery`, `Chat`, etc. are represented as unions for type narrowing.

## Using API Response objects

The API wraps responses in an object with `ok: boolean`. This is modelled by the `ApiResponse` type.

## Customizing `InputFile`

```ts
import * as Telegram from "@plvxn/tgraf-types";

type API = Telegram.ApiMethods<MyInputFile>;
type Opts<M extends keyof API> = Telegram.Opts<MyInputFile>[M];
type Ret<M extends keyof API> = Telegram.Ret<MyInputFile>[M];
```

## Development

Written for Deno, built for Node. `npm prepare` runs deno2node.

## Credits

Fork of [@telegraf/types](https://github.com/telegraf/types). Originally from [Typegram](https://github.com/KnorpelSenf/typegram).