Menu Close
In fact, it has the 39mm Oystersteel monobloc middle-case of the OP essentially, which appears a little more curvaceous than the flat, trapezoid profile of the 40mm Oystersteel Submariner. The bezel of the replica rolex watches Explorer I is different on each: The OP has a domed, high-polish bezel, while the Explorer I has what Rolex calls a "Smooth" bezel. It has a flat surface instead of the convex bezel of the OP, with nicely polished.



While working with JavaScript and JavaScript Framework, many hooks have to be made which are common,
so they are all present here in the same library, so use them and avoid time and code repetition.

Getting Started

npm install common-coding-tools


We have divided the first common-coding-tools into 4 pages based on their different categories so that it is easy to use.

Here is an example of how to use the search function:

import { search } from "common-coding-tools/array"

const arr = [
            "gender": "male",
            "name": { "title": "Mr",  "first": "Vitaliy", "last": "Nechay" },
            "email": "",
            "gender": "male",
            "name": { "title": "Mr", "first": "Ceyhun", "last": "Tekelioğlu"  },
            "email": "",
            "gender": "male",
            "name": { "title": "Mr", "first": "Pelle", "last": "Vestnes"
            "email": "",
            "gender": "male",
            "name": { "title": "Mr","first": "Stanislaw", "last": "Aanestad"
            "email": "",
            "gender": "female",
            "name": { "title": "Mrs",  "first": "Esperanza",  "last": "Colón"},
            "email": "",

const results = search(arr, "vitly");
//  Output: [{
//    "gender": "male",
//    "name": {
//      "title": "Mr",
//      "first": "Vitaliy",
//      "last": "Nechay"
//    },
//    "email": ""
//  }] 

more example for "common-coding-tools/array" Click here

Here is an example of how to use the upperCase and lowerCase function:

import {
} from "common-coding-tools/string"

console.log(upperCase().all("vipin"))  // "VIPIN"
console.log(upperCase().firstCharacter("vipin"))  // "Vipin"

console.log(lowerCase().all("VIPIN"))  // "vipin"
console.log(lowerCase().firstCharacter("VIPIN"))  // "vIPIN"

Here is an example of how to use the
type isString isNumber isObject isBoolean isEmail and isUrl

import {
} from "common-coding-tools/types"

const type1 = type({ name: "vipin" }) //output: "object"

const type2 = type([ "vipin", "paneru" ]) //output: "array"

const type3 = type(204) //output: "number"

const type4 = type(true) //output: "boolean"

console.log( isString( "vipin" )) //true
console.log( isString( 402 ))   //false

console.log( isEmail( "vipin" )) //false
console.log( isEmail( "" )) //true

console.log( isObject({ name: "vipin", email: "" })) //true
console.log( isObject([ "vipin", "" ]))   //false

console.log( isArray({ name: "vipin", email: "" })) //false
console.log( isArray([ "vipin", "" ]))   //true

console.log( isUrl("")) //false
console.log( isUrl(""))   //true

Here is an example of how to use the validation function:

import { validation, schema } from "common-coding-tools/validation" const signupValidator={ name: "string | required", email: "string | required | email | trim", password: "string | minLength: 8 | maxLength: 16", age: "number | range: 20-100", role: `defaultValue : ${schema( "user" )}`, created_at: `defaultValue : ${schema( new Date() )}`, updated_at: `defaultValue : ${schema( new Date() )}`, }"/signup", (req,res,next)=>{ const data= validation(req.body, signupvalidator) if(data?.errors){ const errors=data.errors // use errors }else{ const // use validatedData // write your code here } })

more example for "common-coding-tools/validation" Click here

Here is an example of hashing:

import {
} from "common-coding-tools/hashing"

const password="1234567"
const hashedPassword = makeHash( password , 4) // second argument any number 
// output: 7101818432503545
// For more security of encryption use `.env` Secret number for 2nd argument

const  confirm_pass1 = "1234567"
const  confirm_pass2 = "12345678"
const  verifyPassword = verifyHash(confirm_pass1, hashedPassword, 4)  // third args is same as makHash 2nd args
// output : true
const verifyPassword = verifyHash(confirm_pass2, hashedPassword, 4)  
// output : false

Here is an example of how to use the randomString randomNumber function:

import { randomString, randomNumber, randomData } from "common-coding-tools/random" randomString(6) // 6 is length // output like this: "AdSRR4" any 6 length string randomNumber(40,0) // first argument is highestNumber and second is // output like this: 23 -->. any number between 40 and 0
View Source Code