Kaelinator / hopps

Complex data manipulation made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hopps

Build Status

Installation

npm install https://github.com/Kaelinator/hopps

Since 1.0.0 has yet to be released to npm, this package must be downloaded directly from the repository.

Summary

Interact with data easily

  • Robust
  • Highly versatile
  • As strict as you'd like
  • Built Functionally
  • Zero dependencies

Examples

Basics

const hopps = require('hopps')

hopps.set('a.b.c', { d: 1 }, 'hi!') 
/* => {
  a: {
    b: {
      c: 'hi!'
    }
  },
  d: 1
}*/

API

Chainable Methods

Chainable methods make your code easy to read, while maintaining brevity.

Invocable Methods

Invocable methods, while limited, provide a condence syntax for quick, intuitive data manipulation. It is recommended to use chainable methods for more complex manipulation.

About

Complex data manipulation made easy

License:MIT License


Languages

Language:JavaScript 100.0%