2.0.1 • Published 5 years ago

akv-status v2.0.1

Weekly downloads
71
License
MIT
Repository
github
Last release
5 years ago

akv-status

Build Status Code Climate Code Coverage npm Version JS Standard

akv store for file status

Installation

$ npm install akv-status --save

Usage

'use strict'

const akvStatus = require('akv-status')
const co = require('co')

co(function * () {
  let store = akvStatus('tmp/files.status.json')
  let patterns = [ 'src/**/*.js' ]
  yield store.saveStatus(patterns)

  process.on('message', () => co(function * () {
    let changed = yield store.filterStatusUnknown(patterns)
    if (changed.length > 0) {
      /* ... */
    }
  }))
}).catch((err) => console.error(err))

License

This software is released under the MIT License.

Links

2.0.1

5 years ago

2.0.0

7 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago