@sequencemedia/watch-cache

1.2.24 • Public • Published

@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'

const path = '~/Documents'

watchCache(path)

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

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

Or get a duplicate of the current Set with getCache

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

Readme

Keywords

none

Package Sidebar

Install

npm i @sequencemedia/watch-cache

Weekly Downloads

58

Version

1.2.24

License

ISC

Unpacked Size

5.49 kB

Total Files

6

Last publish

Collaborators

  • sequencemedialimited
  • jonathanperry