open-index/open-npm huggingface dataset:
npm package: @karthikeyaspace/makecert
Description: A typeScript package for generating custom certificates from a PDF template with ease.
Author: Karthikeya Veruturi
Latest version: 1.0.0

# makecert

`makecert` is a typeScript-based npm package that allows you to generate custom certificates from a PDF template with ease. You can customize the text, font, color, and position on the certificate.

## Installation

You can install the package via npm:

```bash
npm i makecert
```
\
`Clone Github Repo`
```
git clone https://github.com/karthikeyaspace/makecert.git
```
`Install necessary Packages`

```
npm install
```

`Run Tests`
```
npm test
```
## Usage

You can use makecert to generate certificates with the following steps:

1.  Create a Template PDF: Prepare a PDF file with a layout where you want the names to appear.

2.  Configure and Generate Certificates: Use the generate function to create certificates with custom names and styles. 

## Example
Here's an example of how to use the makecert package:

```
import { generate } from "makecert";

const names = [
  "John Doe",
  "Jane Smith",
  "Alice Johnson",
];

async function main() {
  try {
    await generate({
      names,
      templatepath: "./path/to/template.pdf",
      outdir: "./certificates",
      color: { r: 139, g: 73, b: 33 },
      size: 45,
      x: 400,
      y: 305,
      font: "https://example.com/path/to/font.ttf" 
      // Optional: URL of the custom font
    });
  } catch (error) {
    console.error("Error during certificate generation:", error);
  }
}

main();

```


### Options
`names`: An array of names to be placed on the certificates.\
`templatepath`: Path to the PDF template file.\
`outdir`: Output directory where the generated certificates will be saved.\
`color`: RGB color object for the text.\
`size`: Font size for the text.\
`x`: X-coordinate for text position.\
`y`: Y-coordinate for text position.\
`font`: Optional URL to a custom font. If not provided, defaults to TimesRomanBoldItalic.
npm package: @karthikg80/td
Description: CLI for managing your todos — fast task management from the terminal
Author: karthikg80
Latest version: 1.0.3

# td — Todo CLI

Fast task management from your terminal.

## Install

```bash
# npm
npm install -g @karthikg80/td

# Homebrew
brew tap karthikg80/tap
brew install td
```

## Setup

```bash
td config set api-url https://your-server.example.com
td login
```

## Commands

### Authentication

```bash
td login          # Log in with email + password
td logout         # Clear stored credentials
td whoami         # Show current user info
```

### Todos

```bash
td add "Buy groceries"                       # Quick add (inbox)
td add "Deploy v2" -p high -s next           # With priority + status
td add "Write tests" -d 2026-04-15 -e low    # With due date + energy

td list                                       # List open todos
td list --status next --priority high         # Filtered
td list --completed                           # Include done
td list --json                                # Machine-readable output
td ls                                         # Alias for list

td get <id>                                   # Detail view
td complete <id>                              # Mark as done
td done <id>                                  # Alias for complete

td update <id> --title "New title"            # Update fields
td update <id> -p urgent -s in_progress       # Change priority + status

td delete <id>                                # Delete a todo
td rm <id>                                    # Alias for delete
```

### Global flags

```bash
--json          # Output raw JSON (pipe-friendly)
--no-color      # Disable terminal colors
--api-url <url> # Override API URL for this command
```

## Configuration

Config is stored in `~/.td/config.json`.

```bash
td config set api-url http://localhost:3000   # Set API URL
td config show                                # Print current config
```

**Resolution order** (highest wins):
1. `--api-url` flag
2. `TD_API_URL` environment variable
3. `~/.td/config.json`
4. Default: `http://localhost:3000`

## Auth

Login stores a JWT locally with auto-refresh. Tokens are saved with `0600` permissions (user-only read/write).

```bash
td login    # Prompts for email + password
td logout   # Clears tokens locally + server-side
```
npm package: @karthikgoje/github-pinned-repos
Description: A React component to display pinned GitHub repositories
Author: Your Name
Latest version: 1.1.11

## Usage

You can provide your GitHub token in one of two ways:

1. Set an environment variable:
   - For Create React App projects: Set `REACT_APP_GITHUB_TOKEN` in your `.env` file.
   - For other projects: Set `GITHUB_TOKEN` in your environment.

2. Set a global variable in your app:

```javascript
window.__GITHUB_TOKEN__ = 'your_github_token_here';
npm package: @karthikn2510/console-colors
Description: Chainable console color logger like chalk
Author: Karthikeyan Pitchaiya
Latest version: 1.0.1

# @karthikn2510/console-colors 🎨

A lightweight, chainable console color and style helper (inspired by [chalk](https://www.npmjs.com/package/chalk)).  
Supports **CommonJS**, **ESM**, and **TypeScript** out of the box.

---

## 🚀 Installation

```sh
npm install @karthikn2510/console-colors


Usage
CommonJS
js
Copy
Edit
const { log } = require("@karthikn2510/console-colors");

log.red("Error message");
log.green.bold("Success!");
log.yellow.underline("Warning!");
log.green.bold("Success message");
log.bgRed.white.bold("Critical Error!");   // White text on red background
log.bgYellow.red("Warning!");             // Red text on yellow background
log.bgBlue.bold("Info log");              // Bold text on blue background

ES Modules
js
Copy
Edit
import { log } from "@karthikn2510/console-colors";

log.blue("Info message");
log.magenta.bold.underline("Important Notice!");
TypeScript
ts
Copy
Edit
import { log } from "@karthikn2510/console-colors";

log.cyan("Hello, TypeScript!");
log.red.bold("Critical error!");
🎨 Available Styles
Colors: red, green, yellow, blue, magenta, cyan, white, gray

Formats: bold, underline, italic, strikethrough

All styles are chainable:

js
Copy
Edit
log.red.bold.underline("Critical Error!");
📦 Features
✅ Chainable API (like chalk)

✅ Works with CommonJS and ES Modules

✅ Full TypeScript support

✅ Lightweight (no dependencies)

🔧 Development
Clone and build:

sh
Copy
Edit
git clone https://github.com/karthikn2510/console-colors.git
cd console-colors
npm install
npm run build
📝 License
MIT © 2025 Karthikeyan Pitchaiya
npm package: @karthikn2510/date-time-utils
Description: Date/Time helper functions with TypeScript, ESM & CommonJS support
Author: Karthikeyan Pitchaiya
Latest version: 1.0.0

# 📦 Date Time Helpers

A lightweight utility package for common **date and time operations** in JavaScript/TypeScript.  
Supports both **ESM (`import`)** and **CommonJS (`require`)**.  

---

## ✨ Features
- 📅 Format date as `YYYY-MM-DD`
- ⏳ Human-readable “time ago” strings (`5 minutes ago`, `2 days ago`)
- 🌍 Works in both **Node.js** and **Browser**
- 🔗 Dual support: **ESM** + **CommonJS**
- ✅ Written in **TypeScript** with type definitions included

---

## 🚀 Installation

```bash
# If unscoped
npm install karthikn-date-time-helpers

# If scoped
npm install @karthikn/date-time-helpers


ES modules (modern)
import { formatDate, timeAgo } from "karthikn-date-time-helpers";

console.log(formatDate(new Date()));  
// "2025-09-07"

console.log(timeAgo("2025-09-06T12:00:00Z"));  
//  "1 day ago"

CoomonJS
const { formatDate, timeAgo } = require("karthikn-date-time-helpers");

console.log(formatDate(new Date()));  
// "2025-09-07"

console.log(timeAgo("2025-09-06T12:00:00Z"));  
// "1 day ago"
npm package: @karthikn2510/validation-helpers
Description: Lightweight validation helpers for JavaScript and TypeScript.
Author: Karthikeyan Pitchaiya
Latest version: 1.0.0

# @karthikn2510/validation-helpers

Lightweight and reusable **validation helpers** for JavaScript and TypeScript projects.  
Supports **CommonJS** (`require`) and **ES Modules** (`import`).

---

## ✨ Features

- ✅ Email validation  
- ✅ Phone number validation  
- ✅ URL validation  
- ✅ Password strength checks  
- ✅ Lightweight, no dependencies  
- ✅ Works with JS & TS  

---

## 📦 Installation

```bash
npm install @karthikn2510/validation-helpers

Usage

ES Modules

import { isEmail, isPhone, isPasswordStrong, isUrl } from '@karthikn2510/validation-helpers';

console.log(isEmail("test@example.com")); // true
console.log(isPhone("+1-555-123-4567"));  // true
console.log(isPasswordStrong("Passw0rd!")); // true
console.log(isUrl("https://example.com")); // true

CommonJS

const { isEmail, isPhone } = require('@karthikn2510/validation-helpers');

console.log(isEmail("hello@domain.com")); // true
console.log(isPhone("1234567890"));       // true


📂 Project Structure
pgsql
Copy
Edit
src/
 └── index.ts   # Validation functions
dist/           # Compiled output (after build)

🏗 Build
To build the package:

bash
Copy
Edit
npm run build

License
MIT © 2025 Karthikeyan Pitchaiya
npm package: @kartik.darapuneni/paperbits-core
Description: Paperbits core components.
Author: Paperbits
Latest version: 0.1.322

# Paperbits core components

Paperbits is a library of reusable tools and components helping you build web apps with rich content authoring experience for users. It includes in-place editing, advanced drag & drop interface, real-time collaboration, offline capabilities, push-notifications and many other modern features.


## Resources

[Live demo](https://demo.paperbits.io)

[Demo project](https://github.com/paperbits/paperbits-demo)

[Getting started](https://paperbits.io/wiki/getting-started)

[Blog](https://paperbits.io/blog)

[Contributing guide](https://paperbits.io/contributing)


## License
Use of this source code is governed by an MIT-style license that can be found in the LICENSE file and at https://paperbits.io/license/mit.

2020 (c) Copyright Paperbits. All Rights Reserved.
npm package: @kartik181197/ngx-colors
Description: A beautiful color picker for angular that let you choose from a color palette, using sliders (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)
Author: Kartik
Latest version: 0.0.1

![size](https://img.shields.io/bundlephobia/min/ngx-colors?style=for-the-badge)
![download](https://img.shields.io/npm/dm/ngx-colors?style=for-the-badge)

<p align="center">
  <h1 align="center">ngx-colors</h1>
  <p align="center">ngx-colors is a colorpicker component of angular with a material design style, allows users to select a color via text input (hexadecimal, rgba, hsla), choosing a preset color from the palette, or a color picker using the Hue, Lightness, and Alpha sliders.
  </p>
</p>

## Demo and documentation

https://ngx-colors.web.app/

## Preview

![example gif](https://raw.githubusercontent.com/KroneCorylus/ngx-colors/master/projects/ngx-color-examples/src/assets/img/example-gif.gif)

## Installation

#### Compatibility

| Angular | Latest ngx-colors compatible |
| ------- | ---------------------------- |
| 15      | Latest                       |
| 14      | 3.1.4                        |
| 13      | 3.1.4                        |
| 12      | 3.0.5                        |
| 11      | 3.0.5                        |
| 10      | 3.0.5                        |

#### Npm

```shell
npm install ngx-colors
```

##### Load the ngx-colors module in your app module:

```javascript
import { NgxColorsModule } from 'ngx-colors';

@NgModule({
  ...
  imports: [
    ...
    NgxColorsModule
  ]
})
```

## Overview and usage

This library is composed of two parts:

1. ngx-colors-trigger: This directive can be applied to any html element turning it into a trigger that when clicked will open the color picker
2. ngx-colors: This component is a premade button that will display the selected color.

##### Use it in your HTML template with ngModel:

```html
<ngx-colors ngx-colors-trigger [(ngModel)]="color"></ngx-colors>
```

##### Or with Reactive Forms:

```html
<form class="example-form">
  <ngx-colors
    ngx-colors-trigger
    style="display: inline-block; margin:5px;"
    [formControl]="colorFormControl"
  ></ngx-colors>
</form>
```
npm package: @kartikag01/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 2.2.2

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
- [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @kartikk-k/ask-ai
Description: A CLI tool for interacting with AI models from your terminal
Latest version: 1.0.0

# Ask AI

A CLI tool for interacting with AI models directly from your terminal. Supports OpenAI and Groq providers.

## Installation

```bash
npm install -g ask-ai
```

## Usage

### Basic Usage

```bash
ask-ai "Your question here"
```

### Commands

- `ask-ai --set-api <key>` - Set and store API key
- `ask-ai --remove-api` - Remove stored API key
- `ask-ai --provider` - Select AI provider
- `ask-ai --model` - Select model
- `ask-ai --reset` - Reset API keys

### Examples

```bash
# Ask a question
ask-ai "What is the capital of France?"

# Set API key
ask-ai --set-api "your-api-key"

# Remove API key
ask-ai --remove-api

# Reset preferences
ask-ai --reset
```

## Features

- Support for multiple AI providers (OpenAI, Groq)
- Interactive setup for API keys and preferences
- Markdown-formatted responses in terminal
- Persistent storage of preferences and API keys

## License

MIT
npm package: @kartikk-k/help-ai
Description: A CLI tool for interacting with AI models from your terminal
Latest version: 1.0.0

# Ask AI

A CLI tool for interacting with AI models directly from your terminal. Supports OpenAI and Groq providers.

## Installation

```bash
npm install -g ask-ai
```

## Usage

### Basic Usage

```bash
ask-ai "Your question here"
```

### Commands

- `ask-ai --set-api <key>` - Set and store API key
- `ask-ai --remove-api` - Remove stored API key
- `ask-ai --provider` - Select AI provider
- `ask-ai --model` - Select model
- `ask-ai --reset` - Reset API keys

### Examples

```bash
# Ask a question
ask-ai "What is the capital of France?"

# Set API key
ask-ai --set-api "your-api-key"

# Remove API key
ask-ai --remove-api

# Reset preferences
ask-ai --reset
```

## Features

- Support for multiple AI providers (OpenAI, Groq)
- Interactive setup for API keys and preferences
- Markdown-formatted responses in terminal
- Persistent storage of preferences and API keys

## License

MIT