Skip to content

dmrompav/oh-no-js

Repository files navigation

About

A functions' library that makes JS syntax easier.

Install

npm install oh-no-js
#or
yarn add oh-no-js

Dev/Test

yarn run test
#or
npm run test

Getting started

Import functions you need:

import { objEqual, nuPi } from 'oh-no-js';

Use them. For more information open documentation.

const obj1 = { name: { first: 'Jesse', second: 'Pinkman' } };
const obj2 = { name: { first: 'Jesse', second: 'Pinkman' } };

const areEqual = objEqual(obj1, obj2); // expected true
const obj = {};

nuPi(obj, 'prop1.prop2').prop3 = 'Hello!';

// Expected:
// obj = { prop1: { prop2: { prop3: 'Hello!' } } };

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published