1.0.7 • Published 2 years ago

object-helper-reader v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Reader - npm install object-helper-reader

Official Repo for object-helper-reaper

Link to Repo

This repo incudes the testing and same files as the Reader class which is published.

Methods

  • print() -prints an object to the console
  • provide(key) -takes a key and returns the including key along with any nesting inside that key
  • hasKey(key) -returns a boolean if a key exist on any layer of an object
  • hasValue(value) -returns a Boolean if a value exist in any layer of an object and its keys
  • getKey(value,amount) -takes a value, and an optional argument which is defaulted to one, and returns the key associated with the value in the form of an array
  • getValue(key,amount) -takes a key, and an optional argument which is defaulted to one, and returns the value associated with the key in the form of an array.

    example.js provides a look at all the functions being implmented for the Reader class.

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago