open-index/open-npm huggingface dataset:
npm package: @niles-bot/niles
Description: niles discord bot
Author: Sean Coffey
Latest version: 5.0.1

# Niles Discord Bot
[![Codacy](https://img.shields.io/codacy/grade/42ad70ef7e0842da99a2176d5684e0a3)](https://www.codacy.com/gh/niles-bot/niles/dashboard)
[![codebeat](https://codebeat.co/badges/e8acc280-9217-4e06-8085-79bc31f8f45c)](https://codebeat.co/projects/github-com-niles-bot-niles-main)
[![docker-ci](https://img.shields.io/github/workflow/status/niles-bot/niles/docker-ci)](https://hub.docker.com/r/nilesbot/niles)
[![bot](https://img.shields.io/website?label=bot&url=https%3A%2F%2Fstatus.nilesbot.com)](https://niles.betteruptime.com)
[![Crowdin](https://badges.crowdin.net/niles/localized.svg)](https://crowdin.com/project/niles)
[![discord](https://img.shields.io/badge/discord-join-blue)](https://discord.gg/jNyntBn)
![node-current](https://img.shields.io/node/v/discord.js)

A [Discord](https://discord.com/) bot for using [Google Calendar](https://calendar.google.com) to manage events.
Targeted towards eSports event scheduling (scrims, PCWs).

![example](https://i.imgur.com/3yYK4QB.png)

## Getting Started

[Invite the hosted bot to your Discord here](https://discord.com/oauth2/authorize?permissions=97344&scope=bot&client_id=320434122344366082).

Join the [Niles Discord server](https://discord.gg/jNyntBn) for support, bug reporting and feature requests.

Visit the Niles [website](https://nilesbot.com/) or [setup guide](https://nilesbot.com/start) for more detailed use and setup descriptions.

If you wanted to host your own version or similar, these instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

* [Node.js](https://nodejs.org/) - v16 or higher

### Installing

Setup your Discord app on the [Discord developers website](https://discord.com/developers/applications/me).

Note: To add a development bot to your Discord server, visit https://discord.com/api/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot&permissions=97344 replacing your app id in the URL.

Set up a [Google Service Account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount).
For more information on setting up a Google Service Account, [see here](https://github.com/yuhong90/node-google-calendar/wiki#setup-service-accounts).

Alternative, set up [OAuth2 Credentials](https://support.google.com/cloud/answer/6158849).

Create your own `secrets.json` file in `/config`, using the appropriate values, making sure you also place a copy of your Google Service Account JSON security file somewhere and referencing in `secrets`.

To run and connect your bot

```
npm install
npm run
```

## Built With

* [Discord.js](https://github.com/discordjs/discord.js) - NodeJS library for interfacing with the Discord API
* [googleapis](https://www.npmjs.com/package/googleapis) - Google APIs Node.js Client

## License

This project is licensed under the MIT License
npm package: @nilesh-padiyar/crypto-tracker
Description: CLI based Crypto Tracker with CoinGecko Public API
Author: Nilesh Padiyar
Latest version: 1.2.0

# Crypto Tracker CLI 🚀

A lightweight and fast CLI tool to fetch real-time cryptocurrency prices directly from your terminal.

Built with TypeScript using the CoinGecko public API — no API key required.

---

## ✨ Features

* 📈 Real-time cryptocurrency prices
* ⚡ Fast and minimal CLI output
* 🔒 Input validation & error handling
* 🧠 Strong typing with TypeScript
* 🌍 Supports multiple fiat & crypto currencies
* 🔓 No API key required

---

## 📦 Installation

Install globally via npm:

```bash
npm install -g @nilesh-padiyar/crypto-tracker
```

Before installing, make sure you have

* [Node.js](https://nodejs.org) (v14 or higher recommended)
* npm (comes with Node.js)

---

## ⚡ Usage

```bash
crypto <coin> <currency>
```

### Examples

```bash
crypto bitcoin usd
crypto ethereum inr
crypto dogecoin usd
```

### Example Output

```bash
BITCOIN price: 46662 USD
```

---

## 💱 Supported Currencies

Supports all currencies available from the CoinGecko API.  
To see the full list of supported currencies, run:

```bash
crypto --currencies
```

---

## 🧠 How It Works

* Fetches live price data from the CoinGecko API
* Validates user input
* Displays clean output in the terminal

---

##  Notes on Rate-Limiting

CoinGecko public API allows up to 50 requests per minute per IP.

* If you hit the limit, the CLI will automatically retry with exponential backoff.
* Example warning:

```bash
⚠ 429 Rate limit hit, retrying in 1000ms...
⚠ 429 Rate limit hit, retrying in 2000ms...
⚠ 429 Rate limit hit, retrying in 4000ms...
✖ Something went wrong
```

* This ensures users understand their usage limits while preventing the CLI from failing silently.
* Cached and fallback currencies help reduce unnecessary API calls.

---

## 🛠️ Development Setup

If you want to work on the project locally:

```bash
git clone https://github.com/nilesh-padiyar/crypto-tracker.git
cd crypto-tracker
npm install
npm run build
```

Run locally:

```bash
node dist/index.js bitcoin usd
```

---

## 🔗 Using Locally (Optional)

```bash
npm link
crypto bitcoin usd
```

---

## ⚙️ CLI Configuration

Make sure your `package.json` includes:

```json
"bin": {
  "crypto": "dist/index.js"
}
```

And your entry file starts with:

```bash
#!/usr/bin/env node
```

---

## 🔄 Updating

```bash
npm update -g @nilesh-padiyar/crypto-tracker
```

---

## 🧪 Tech Stack

* Node.js
* TypeScript
* Async/Await
* CoinGecko Public API

---

## 🤝 Contributing

Contributions are welcome!

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Submit a pull request

Please keep commits clean and meaningful.

---

## 📜 License

MIT — free to use, modify, and distribute

---

## 🙌 Author

Nilesh Padiyar

---
npm package: @nilesh-padiyar/todo-cli
Description: A simple, lightweight CLI To-Do app built with Node.js. Manage your tasks directly from the terminal with easy commands.
Author: Nilesh Padiyar
Latest version: 1.0.0


# todo-cli

A simple, lightweight CLI To-Do app built with **Node.js**
Manage your tasks directly from the terminal with easy commands.

---

# Installation 

```npm install -g @nilesh-padiyar/todo-cli```

<br>

## Prerequisites 

Before installing ```todo-cli```, make sure you have:

- [Node.js](https://nodejs.org/) (version 14 or higher recommended)
- npm (comes with Node.js)

**Check versions in terminal -**
```node -v```   # to check Node.js version
```npm -v```   # to check npm version

---

## Usage

**1. Add a task:**
```todo add "task name"```

<br>

**2. Mark a task as done:**
```todo done <task_id>```

<br>

**3. List tasks -**
**(i) Pending tasks (default):**
``` todo list```

<br>

**(ii) Completed tasks:**
```todo list --done```

<br>

**(iii) All tasks:**
```todo list --all```

<br>

**4. Delete tasks -**
**(i) Delete a single task by ID:**
```todo delete <task_id>```

<br>

**(ii) Delete all tasks with confirmation:**
```todo delete --all```

<br>

**(iii) Delete all tasks without confirmation:**
```todo delete --all -y```

<br>

**5. Clear completed tasks -**
**(i) Clear completed tasks with confirmation:**
```todo clear```

<br>

**(ii) Clear completed without confirmation:**
```todo clear --all -y```

<br>

**6. Help:**
```todo help```

---

# Features

**Simple CLI interface**

Add, list, mark done, delete tasks

Optional ```-y``` flag for ```delete --all``` and ```clear``` to skip confirmation.

Stores tasks in **tasks.json** locally.

Designed for robust command usage (no flexible ordering)

---

# Privacy

**todo-cli** is a fully local CLI app. All tasks are stored on your device in ```tasks.json```.

No data is sent to any server or third-party service.

---

# Contributing

This project is for personal growth, but contributions are welcome.

Feel free to **fork**, **submit issues**, or **PRs**.

---

# License

**MIT** — free to use, modify, and distribute.

---

# Author

[Nilesh Padiyar](https://github.com/nilesh-padiyar/)

---
npm package: @nileshr/slack-log
Description: Simple util to log messages to Slack - slack.log()
Author: Nilesh Rathi
Latest version: 1.0.1

# 📝 slack.log()
Simple util to log messages to Slack - slack.log()

## Configure

- Simply put a slack incoming webhook url in `SLACK_WEBHOOK_URL` environment variable (Recommended).
- Can also configure by using `slack.configure({url: 'SLACK_URL_HERE'})`.
- Can also override the slack channel (optional) the webhook posts to, by using `SLACK_CHANNEL` env variable or by passing `channel` field to slack.configure() method.

## Usage

- Simply use like a console.log statement - `slack.log("Yay! It works")`
- Can also post an object in the second variable which gets formatted and posted as a code block (useful for logging data). For example, `slack.log('HELLO!', {first_name: 'john', last_name: 'doe'})`
npm package: @nilevia/count-down-timer-react
Description: Use this module to get countdown timer by given date.
Author: nilevia
Latest version: 1.0.4

# count-down-timer-react

> Use this module to get countdown timer by given date.

[![NPM](https://img.shields.io/npm/v/count-down-timer-react.svg)](https://www.npmjs.com/package/@nilevia/count-down-timer-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @nilevia/count-down-timer-react
```

## Features
- Countdown Dourly ``12 : 34 : 01``
- Countdown Daily ``01 : 12 : 11 : 23``
- Custom Affix ``12 Hr 34 Day 01 Sec``
- Custom Operator ``12 - 02 - 59``
- Customable Style Using ``className``
- On Finish Callback using ``onFinish``

## Example
```jsx harmony
import React from 'react'

import { CountDownHourly, CountDownDaily } from 'count-down-timer-react'
import 'count-down-timer-react/dist/index.css'

const App = () => {
    const finishFunction = () =>{
        console.log("im finish")
    }
  return(
  <div className="txt-center-hoz">

    <CountDownHourly
      endDate={"2020-10-08T06:50:18.346Z"}
    />

    <CountDownDaily
      endDate={"2020-10-08T06:50:18.346Z"}
      dayAffix="Hari"
      hourAffix="Jam"
      minutesAffix="Menit"
      secondAffix="Detik"
      operator="-"
      onFinish={finishFunction}
    />

    <CountDownDaily
      endDate={"2020-10-08T06:50:18.346Z"}
      dayAffix="day"
      hourAffix="hrs"
      minutesAffix="min"
      secondAffix="sec"
      className="light-blue bold font-muli-20"
    />

    <CountDownDaily
      endDate={"2020-10-30T06:50:17.346Z"}
      dayAffix="Day"
      hourAffix="Hour"
      minutesAffix="Minutes"
      secondAffix="Second"
      className="red font-muli-20"
      operator=" "
    />

  </div>
  )
}

export default App

```

![demo](https://github.com/nilevia/count-down-timer-react/blob/master/image/demo.gif)



## License

MIT © [nilevia](https://github.com/nilevia)