Skip to content

cjurgens17/object-helper-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reader - npm install object-helper-reader

Official Repo for object-helper-reaper

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.

    Test Case Coverage is 100%. See test's at ./test/reader.test.js

About

npm install object-helper-reader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published