Skip to content

sequencemedia/watch-cache

Repository files navigation

@sequencemedia/watch-cache

Generates a read-only description of a file system directory path as a Set

From the command line

npm start -- --path '~/Documents'

Or with the default export

import watchCache from '@sequencemedia/watch-cache/watch-cache'

const path = '~/Documents'

watchCache(path)

You can confirm whether a file path exists in that directory with has

import { has } from '@sequencemedia/watch-cache/watch-cache'

Or get a duplicate of the current Set with getCache

import { getCache } from '@sequencemedia/watch-cache/watch-cache'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published