View on GitHub

jstips

Tips on JavaScript ⚙️

alt text

JavasTips

1.What is JavasTips It’s a library based on data stucture and problem solving algorithm in JavaScript .

2.Why javastips Javastips makes your developement in javaScript easier by taking the hassle out of working with different types allowed by ecmaScript versions.

3.The purpose of JavasTips The purpose is to understand the big black box of functional programming and how works different methods like map(..) , each(...), filter(...), reduce(...) , find(...), and some tips .

Installation

> npm i javastips --save

Using library

   let javastips = require("javastips");
   let { reverse } = javastips

   let array = [1, 3, 4, 5];

   reverse(array); // [5, 4, 3, 1]
   import { each } from "javastips";

   var array = [3, 2, 14, 6];

   each(array, (value) => console.log(value)); /* 3 2 14 6 */

Options

Regular tips

String tips

Array tips

Standard

EcmaScript 6