0.0.1-alpha.4 • Published 3 years ago

oh-no-js v0.0.1-alpha.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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!' } } };
0.0.1-alpha.4

3 years ago

0.0.1-alpha.3

3 years ago

0.0.1-alpha.2

3 years ago

0.0.1-alpha.1

3 years ago

0.0.0

3 years ago