Jump to content

Read value from cache in the workflow


Recommended Posts

Hello,

I'm creating an extension using node.js script, while using this library:
https://github.com/sindresorhus/alfy#caching

In this library they provide a caching object through which I can store key:value and later retrieve (it is stored in a JSON file)
I was wondering what would be the best way for me to read this cache? (is my only option to read the file and parse it?)
Or - alternatively - if there's a better way for me to do it (except returning it to Alfred as script result)

Thanks

Edited by Tom6
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...