An open API service indexing awesome lists of open source software.

https://github.com/sonukr/js-utils

A collection of utilities we used in daily life while making a web app.
https://github.com/sonukr/js-utils

browser cookie datetime image javascript library localstorage react responsive utility

Last synced: 11 months ago
JSON representation

A collection of utilities we used in daily life while making a web app.

Awesome Lists containing this project

README

          

# JS-utils-pack
A collection of utilities we used in daily life while making a web app.

______________________________________________________

![Build](https://github.com/Sonukr/JS-Utils/workflows/Build/badge.svg)
[![MIT license](https://img.shields.io/badge/License-ISC-green.svg)](https://opensource.org/licenses/isc)
[![npm version](https://badge.fury.io/js/js-utils-pack.svg)](https://www.npmjs.com/package/js-utils-pack)
![Repo size](https://img.shields.io/github/repo-size/Sonukr/js-utils)
![Install Size](https://badgen.net/packagephobia/install/js-utils-pack)
![Min zip](https://img.shields.io/bundlephobia/minzip/js-utils-pack.svg)
![Downloads](https://img.shields.io/npm/dw/js-utils-pack.svg)
### How to use
[Documentation](https://sonukr.github.io/JS-Utils/docs/index.html)

Install the package from npm by using.
```sh
npm install js-utils-pack

or

yarn add js-utils-pack
```
Once installed, Import the packge in your working file and use it.

Here you have two options to import the method, one is default and seconf one is named import.

#### Default import
```js
import JSutils from 'js-utils-pack' // Now you can use a method by calling it.

// ex -
JSutils.log('Yuppie...!!', 'This is Working.')

```

#### Named Import
```js
import {log} from 'js-utils-pack' // Now you can use a method by calling it.

// ex -
log('Yuppie...!!', 'This is Working.')

```