Add an example script that shows how to use the SSCAN iterator functionality (see main project README) to retrieve the contents of a Redis set.
Name your file set-scan.js (or .ts if you prefer TypeScript. Name the function containing your code setScan and please pay attention to the guidelines for adding an example to ensure that your contribution can be merged.
If you'd like to work on this please mention @SuzeShardlow or @simonprickett in a comment and we'll assign this issue to you.
This is part of our participation in Hacktoberfest 2021. Learn how to complete this issue here: https://developer.redis.com/hacktoberfest/
Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3