1.4.7 • Published 5 months ago

js_str_utils v1.4.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

string-utils

string utility functions in javascript

Installation

Install Node.js on your computer. To install JavaScript Library please use the following command.

  npm install js_str_utils

mention in the package.js

  "devDependencies": {
    "js_str_utils": "1.4.2"
  }

Usage

  const stringApi = require('js_str_utils');

isString

  let str = '';
  console.log(stringApi.isString(str));

Example of a successful completion response

  true

objToQueryStr

convert object to query param

  let domain = 'https://api.github.com'
  let queryStr = stringApi.objToQueryStr({users: 'kedman1234', id: 10})
  console.log(`${domain}${queryStr}`);

Example of a successful completion response

  https://api.github.com/?users=kedman1234&id=834949

For more examples

To see all methods, input and results please visit
https://kedarvijaykulkarni.github.io/string-utils/

1.4.7

5 months ago

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.0.0

3 years ago