open-index/open-npm huggingface dataset:
npm package: @prav/belt
Description: a general utiltiy belt library
Author: Prav Raghu
Latest version: 0.0.2

# Belt

An all in one Utility Belt solution for TypeScript and JavaScript projects. Whether you need string manipulation, quick math calculation or currency conversion this library will hopefully offer a quick solution to any problems you may face in your day to day projects whether it be a Node.js app or Angular Front End Project.

## Installation



```javascript
npm i @prav/belt
```

## Usage
If you are intending to use this in your server side projects (in this example on written in TypScript) you can simply do the following

```javascript
import {Text, Currency, DateTime, Numeric} from "@prav/belt";

export class MyClass implements MyInterface {
  
  constructor() {
  }
  
  public myFunction():string{
   return Text.generateRandomAplhaNumericString(16); //returns a string
  }
  
}
```
Alternatively, you can use this library along side front end frameworks that also may use TypeScript, i.e. Vue, React or Angular and even their Ionic renditions (however, you may run into a run time warning in Ionic). Either way you can either import the modules as is or prototype based on the Framework you're using.

Here is a Vue.JS example of a typing:

utility.d.ts

```javascript
import { Currency, DateTime, Numeric, Text } from "@prav/belt"
declare module 'vue/types/vue' {
    interface Vue {
        $currency: typeof Currency;
        $dateTime: typeof Common;
        $numeric: typeof Common;
        $text: typeof Common;
    }
}
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Please note that this project is in its early phase and is subject to several updates

## License
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @praveen.p/my-lib
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.
Latest version: 0.0.3

# MyLib

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.

## Code scaffolding

Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.

## Running unit tests

Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @praveen.p/my-libtwo
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.
Latest version: 0.0.2

# MyLibtwo

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.

## Code scaffolding

Run `ng generate component component-name --project my-libtwo` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-libtwo`.
> Note: Don't forget to add `--project my-libtwo` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build my-libtwo` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build my-libtwo`, go to the dist folder `cd dist/my-libtwo` and run `npm publish`.

## Running unit tests

Run `ng test my-libtwo` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
npm package: @praveen.p/shared
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.
Latest version: 0.0.2

# Shared

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.1.0.

## Code scaffolding

Run `ng generate component component-name --project shared` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project shared`.
> Note: Don't forget to add `--project shared` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build shared` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build shared`, go to the dist folder `cd dist/shared` and run `npm publish`.

## Running unit tests

Run `ng test shared` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.