Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not exactly an issue, but some further explainations maybe ? #33

Closed
ghost opened this issue Jul 10, 2020 · 1 comment
Closed

Not exactly an issue, but some further explainations maybe ? #33

ghost opened this issue Jul 10, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 10, 2020

From the main explanation, it says that properties contents can be displayed either by 'getAllProperties' or by looping through them with the .each((key, value) => {}) iterator. Sorry for my weak 'culture', but it would be nice if you can provide an example in this the case either with the iterator. Thanks in advance, good job!

@steveukx
Copy link
Owner

Hi, I've added a note to the readme for you... reader.each is a function that you pass a function to which will be called for each item in the properties, used as reader.each((key, value) => { /* use the properties here */ })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant