open-index/open-npm huggingface dataset:
npm package: @smarterp/calendar
Description: <p align="center">     <img src="https://img.shields.io/npm/dt/@smarterp/calendar"> </p> ## Exmaple
Author: smarterp
Latest version: 0.1.1

# SmartERP Calendar
<p align="center">
    <img src="https://img.shields.io/npm/dt/@smarterp/calendar">
</p>
## Exmaple

Import on `resource/js/app.js`
```js
import { SmartCalendar } from "@smarterp/calendar"

export default {
    ...
    SmartCalendar
}
```

Then with internal script 

### Simple Javascript
```js
document.addEventListener('DOMContentLoaded', ()=> {
    const element = document.querySelectorAll('#evoCalendar')
    smartCalendar(
        element,
        options
    );
})

```

### Simple JQuery
```js
$(document).ready(function() {
    $('#evoCalendar').smartCalendar(options);
})
```

### Vanilla JS
```js
document.addEventListener('DOMContentLoaded', ()=> {
    const element = document.querySelectorAll('#evoCalendar')
    new SmartCalendar( element, options);
})
```

## Uage Option 

```js
const options = {
    language: 'en', // km
    sidebarDisplayDefault: false,
    calendarEvents: [
        {
            id: '1',
            name: "King Father's Commemoration Day",
            date: "October/15/2023",
            description: "(King Father's Commemoration Day)",
            type: "event",
            everyYear: true,
            color: "red"
        },
        {
            id: '3',
            name: "ថ្ងៃដាក់បិណ្ឌ",
            date: ["september/30/2023", "October/12/2023"],
            description: "ថ្ងៃដាក់បិណ្ឌ",
            type: "event",
            everyYear: true,
            color: "green"
        },
    ]
}
```
npm package: @smarterp/components
Description: @smarterp/libs is a collection of utility functions and classes designed to simplify common tasks in web development. It includes modules for formatting dates, currency values, quantity management, and more.
Author: pphatdev
Latest version: 0.0.4

<p align="center">
<img src="https://github.com/user-attachments/assets/6c232d8b-2b16-402f-8abf-6e9a5221c1ab" alt="@smarterp/libs" width="200" height="200" />

# About `@smarterp/libs` 📚

`@smarterp/libs` is a collection of utility functions and classes designed to simplify common tasks in web development. It includes modules for formatting dates, currency values, and more.

# Installation
Install the package using npm:

```bash
npm install @smarterp/libs --save
```

Via Git:
```bash
git clone https://github.com/turbotechlabs/node-libs.git
```
# Usage
## Format Class

The `Format` class provides date formatting functionality. [Read more](/doc/format.md)

```js
import { Format } from '@smarterp/libs';

const dateString = '2023-05-15';
const formattedDate = Format.date(dateString);
console.log(formattedDate); // Output: May 15, 2023
```


### Currency Class
The `Currency` class offers methods for formatting currency values. [Read more](/doc/currency.md)

```js
import { Currency } from '@smarterp/libs';

console.log(Currency.format(123.456)); // Output: "123.46"
console.log(Currency.formatWithComma(1234567.89)); // Output: "1,234,567.89"
```

### Merge Class
The `Merge` class is used to merge objects with URL search parameters.  [Read more](/doc/merge.md)
```js
import { Merge } from '@smarterp/libs';

const options = { a: '1', b: '2' };
const searchParams = new URLSearchParams('b=3&c=4');
const result = Merge.object(options, searchParams);
console.log(result); // Output: { a: '1', b: '3', c: '4' }
```

### Thumbnail Class
The `Thumbnail` class generates HTML for thumbnail images.  [Read more](/doc/thumbnail.md)

```js
import { Thumbnail } from '@smarterp/libs';

const thumbnailHtml = Thumbnail.list({
  url: 'https://example.com/image.jpg',
  alt: 'Example image'
});
console.log(thumbnailHtml);

```
npm package: @smarterp/init
Description: init is a laravel-component required functions use for validations.
Author: smarterp
Latest version: 0.1.0

# laravel-component-required
laravel-component-required is a laravel-component required functions use for validations.

<p align="center">
    <img src="https://img.shields.io/npm/dt/laravel-component-required">
</p>

## Installation 
You can install the package via npm:

```shell
npm i -D laravel-component-required
```

## Usage 
### SmartValidator 

```js
import { 
    SmartValidator, 
    SmartHelper, 
    TextValidation, 
    SmartAlert 
} from 'laravel-component-required';

export {
    SmartValidator,
    SmartHelper,
    TextValidation,
    SmartAlert
};
```
npm package: @smarterp/test
Description: smarterp-component is a laravel-component required functions use for validations.
Author: pphatdev
Latest version: 0.0.1-test-beta

# @smarterp/init
laravel-component-required is a laravel-component required functions use for validations.
<br/>
<br/>
<p align="center">
     <img src="https://nodei.co/npm/@smarterp/init.png?downloads=true&downloadRank=true&stars=true"/>   
    <br/>
    <img src="https://img.shields.io/npm/dw/%40smarterp%2Finit?style=flat-square&label=Downloads&labelColor=d42932&color=%231fa8e0">
    <img src="https://img.shields.io/npm/v/%40smarterp%2Finit?style=flat-square&label=Versions&labelColor=d42932&color=%231fa8e0">
    <img src="https://img.shields.io/bundlephobia/min/%40smarterp%2Finit?style=flat-square&label=Size&labelColor=d42932&color=%231fa8e0">
    <img src="https://img.shields.io/github/stars/turbotechlabs?style=flat-square&label=Star&labelColor=d42932&color=%231fa8e0">
</p>

<br/>

## Installation 
You can install the package via npm:

```shell
npm i -D @smarterp/init
```

## Usage 
### SmartValidator 

```js
import { 
    SmartValidator, 
    SmartHelper, 
    TextValidation, 
    SmartAlert 
} from '@smarterp/init';

export {
    SmartValidator,
    SmartHelper,
    TextValidation,
    SmartAlert
};
```