open-index/open-npm huggingface dataset:
npm package: @master4n/decorators
Description: Common Decorators Library
Author: dwivna
Latest version: 1.1.5

# @master4n/decorators

![Owner Badge](https://img.shields.io/badge/Owner-Master4Novice-orange?style=flat)
![Package License](https://img.shields.io/npm/l/%40master4n%2Fdecorators)
![Package Downloads](https://img.shields.io/npm/dm/%40master4n%2Fdecorators)

## Installation

```sh
npm install @master4n/decorators
```

## Usage

### As a library

With CommonJS in JavaScript,

```js
const { Value } = require("@master4n/decorators");
```

With ESM or TypeScript,

```ts
import { Value } from "@master4n/decorators";
```

```js
class Token {
  @Value("fix.token")
  fixToken: string;
}
```

## Summary

This package contains decorators for any applications. Kindly set true for the below property in your tsconfig.json.

```json
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
```

## Available Decorators

| Decorator  | Type                      | Description                                                     |
| ---------- | ------------------------- | --------------------------------------------------------------- |
| Value      | Class Property            | Read the value from yaml file and assigned it to class property |
| GenerateID | Class Property            | Assigne unique UUID value to class property                     |
| NotNull    | Method Parameter          | Check if parameter is not null and undefined                    |
| Counter    | Static Property Parameter | Create static counter                                           |
| Log        | Method Parameter          | Log in and out of method                                        |

## Credits

These definitions were written by [Master4Novice](https://github.com/Master4Novice).
npm package: @master4n/family-tree
Description: Family Tree Node Type Library
Author: dwivna
Latest version: 1.2.0

# @master4n/family-tree

![Owner Badge](https://img.shields.io/badge/Owner-Master4Novice-orange?style=flat)
![Package License](https://img.shields.io/npm/l/%40master4n%2Ffamily-tree)
![Package Downloads](https://img.shields.io/npm/dm/%40master4n%2Ffamily-tree)

## Installation

```sh
npm install @master4n/family-tree
```

## Summary

This package contains various operation for family tree creation. Kindly set true for the below property in your tsconfig.json.

```json
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
```

## Details

Files were exported from the package.

```ts
import { FamilyMember } from "@master4n/family-tree"; //Type of FamilyMember
```

## Credits

These definitions were written by [Master4Novice](https://github.com/Master4Novice).
npm package: @master4n/temporal-transformer
Description: Epoch convertor
Author: dwivna
Latest version: 1.1.0

# @master4n/temporal-transformer

![Owner Badge](https://img.shields.io/badge/Owner-Master4Novice-orange?style=flat)
![Package License](https://img.shields.io/npm/l/%40master4n%2Ftemporal-transformer)
![Package Downloads](https://img.shields.io/npm/dm/%40master4n%2Ftemporal-transformer)

Temporal Transformer is a library that converts epoch values to human-readable dates and dates to epoch value in both the user's local timezone and GMT. The project uses the `moment-timezone` library to handle date and time conversions and formatting.

## Features

- Automatically detects the type of epoch (seconds, milliseconds, microseconds, nanoseconds).
- Converts epoch values to human-readable dates.
- Converts human-readable dates to epoch values.
- Displays dates in both the user's local timezone and GMT.
- User-friendly output with clear assumptions about the epoch type.

## Installation

1. Library Installation:

   ```bash
   npm install --save-dev @master4n/temporal-transformer
   ```

## Usage

1. Method use to convert from epoch to date:

   ```typescript
   import { convertEpoch, EpochToDate } from @master4n/temporal-transformer

   const epoch = 1622547800000; // Example epoch value

   const data: EpochToDate = convertEpoch(epoch); // Default format 'YYYY-MM-DD HH:mm:ss' used.
   const data: EpochToDate = convertEpoch(epoch, 'YYYY-DD-MM HH:mm:ss'); // User provided formatted output
   ```

2. Method use to convert from date object to epoch:

   ```typescript
   import { convertDateToEpoch, DateToEpoch } from @master4n/temporal-transformer

   const date = new Date(); // Any date.
   const timezone = 'America/New_York'

   const data: DateToEpoch = convertDateToEpoch(date); // Default user timezone used for formatting.
   const data: DateToEpoch = convertDateToEpoch(date, timezone); // User provided timezone used for formatting
   ```

## Credits

These definitions were written by [Master4Novice](https://github.com/Master4Novice).
npm package: @master_org/number-formatter
Description: some description...
Author: “Pavlo
Latest version: 0.2.1

[![Coverage Status](https://coveralls.io/repos/github/mastercomp000/number-formatter/badge.svg)](https://coveralls.io/github/mastercomp000/number-formatter)

Number Formatter
=========

A small library that adds commas to numbers

## Installation

  `npm i @master_org/number-formatter`

## Usage

    var numFormatter = require('@master_org/number-formatter');

    var formattedNum = numFormatter(35666);
  
  
  Output should be `35,666`


## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.