0.0.1-alpha.4 • Published 1 year ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.1-alpha.3

1 year ago

0.0.1-alpha.2

1 year ago

0.0.1-alpha.1

1 year ago

0.0.0

1 year ago